-
Notifications
You must be signed in to change notification settings - Fork 80
/
package.json
62 lines (62 loc) · 2.49 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
54
55
56
57
58
59
60
61
62
{
"name": "modal-video",
"version": "2.4.8",
"description": "modal-video",
"homepage": "http://developer.a-blogcms.jp",
"main": "lib/index.js",
"scripts": {
"test": "eslint ./src/core/index.js --fix",
"build:js": "npm-run-all -p build:lib build:jquery build:global",
"build:lib": "npm run babel",
"build:jquery": "browserify ./src/adaptor/jquery.js -t babelify -p licensify -o ./js/jquery-modal-video.js && npm run build:jquery:min",
"build:global": "browserify ./src/index.js -t babelify -p licensify --standalone ModalVideo -o ./js/modal-video.js && npm run build:global:min",
"build:jquery:min": "uglifyjs ./js/jquery-modal-video.js -m -c --comments -o ./js/jquery-modal-video.min.js",
"build:global:min": "uglifyjs ./js/modal-video.js -m -c --comments -o ./js/modal-video.min.js",
"build:sass": "npm-run-all -p sass sass:min",
"babel": "babel src --out-dir lib",
"sass": "node-sass ./scss/modal-video.scss ./css/modal-video.css --output-style expanded",
"sass:min": "node-sass ./scss/modal-video.scss ./css/modal-video.min.css --output-style compressed",
"watch:js": "onchange \"src/\" -- npm run build:js",
"watch:sass": "onchange \"scss\" -- npm run build:sass",
"sync": "browser-sync start --server './' --files './js/*.js' './css/*.css' --startPath '/test/index.html'",
"start": "npm-run-all -p watch:js watch:sass sync",
"deploy": "np --no-cleanup"
},
"author": "appleple",
"license": "appleple",
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-es2015-for-of": "^6.23.0",
"babel-plugin-transform-html-import-to-string": "^0.0.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.18.0",
"babelify": "^7.3.0",
"browser-sync": "^2.26.7",
"browserify": "^13.1.1",
"co": "^4.6.0",
"eslint": "^3.15.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"fs-extra": "^2.1.2",
"http-server": "^0.12.1",
"licensify": "^3.1.2",
"mocha": "^3.3.0",
"nightmare": "^2.8.1",
"node-cmd": "^2.0.0",
"node-sass": "^4.13.1",
"nodemon": "^1.11.0",
"np": "^2.16.0",
"npm-run-all": "^4.0.2",
"onchange": "^3.2.1",
"power-assert": "^1.4.2",
"uglify-js": "^2.8.22",
"watchify": "^3.11.1"
},
"dependencies": {
"babel-preset-flow": "^6.23.0",
"custom-event-polyfill": "^0.3.0",
"es6-object-assign": "^1.1.0",
"es6-promise-polyfill": "^1.2.0"
}
}