-
Notifications
You must be signed in to change notification settings - Fork 86
/
package.json
53 lines (53 loc) · 1.85 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "react-modal-video",
"version": "2.0.2",
"main": "lib/index.js",
"description": "Modal Video Viewer",
"author": "appleple",
"license": "MIT",
"scripts": {
"test": "eslint ./src/index.jsx --fix",
"build:js": "npm-run-all -p build:lib build:test",
"build:lib": "npm run babel",
"build:test": "browserify ./test/src/index.jsx -t babelify -o ./test/dist/index.js",
"build:sass": "npm-run-all -p sass sass:min",
"babel": "babel src --out-dir lib",
"sass": "sass ./scss/modal-video.scss ./css/modal-video.css --style expanded --no-source-map",
"sass:min": "sass ./scss/modal-video.scss ./css/modal-video.min.css --style compressed --no-source-map",
"watch:js": "onchange \"src/\" -- npm run build:js",
"watch:sass": "onchange \"scss\" -- npm run build:sass",
"watch:test": "onchange \"test/src\" -- npm run build:test",
"sync": "browser-sync start --server './' --files './test/dist/*.js' './css/*.css' --startPath '/test/index.html'",
"start": "npm-run-all -p watch:js watch:sass watch:test sync",
"deploy": "np --no-cleanup"
},
"repository": {
"type": "git",
"url": "https://github.com/appleple/react-modal-video.git"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"babelify": "^10.0.0",
"browser-sync": "^2.27.10",
"browserify": "^17.0.0",
"eslint": "^8.17.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"npm-run-all": "^4.1.5",
"sass": "^1.52.3",
"onchange": "^7.1.0",
"np": "^7.6.1"
},
"dependencies": {
"core-js": "^3.27.2",
"react-transition-group": "^4.4.2"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.2.0",
"react-dom": "^17.0.0 || ^18.2.0"
}
}