-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·78 lines (78 loc) · 2.62 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "bedrock",
"version": "1.0.0",
"description": "A 14islands boilerplate setup for ES6 JavaScript projects. Uses component-loader and Pug templates",
"main": "./src/js/main.js",
"scripts": {
"start": "run-p watch browser-sync",
"clean": "rimraf ./build/*",
"browser-sync": "browser-sync start --server './build' --logLevel info --files 'build/**/*.css, build/**/*.js, build/**/*.html' --port 3030 --reload-debounce 500",
"copy:assets": "cp -R ./assets ./build/",
"copy:vendor": "cp -R ./vendor ./build/",
"build": "run-p build:*",
"build:css-prod": "stylus --include-css -c -u autoprefixer-stylus src/css/main.styl -o build/bundle.min.css",
"build:js-prod": "browserify src/js/main.js -t babelify -g uglifyify | uglifyjs -c > build/bundle.min.js",
"build:html": "pug -P ./src/ -o ./build/",
"modernizr": "modernizr -c modernizr-config.json -d build/ -u",
"prebuild": "run-s clean copy:* modernizr",
"preclean": "mkdir -p ./build",
"preinstall": "npm install pug-cli -g && npm install -g modernizr",
"prestart": "npm run build",
"postinstall": "npm run build",
"watch": "run-p watch:*",
"watch:js": "watchify src/js/main.js -d -t babelify -o build/bundle.min.js",
"watch:css": "stylus -w --include-css -m -u autoprefixer-stylus src/css/main.styl -o build/bundle.min.css",
"watch:html": "pug -w -P ./src/ -o ./build/",
"watch:standard": "onchange './src/**/*.js' -- npm run standard -s",
"standard": "standard 'src/**/*.js'"
},
"engines": {
"node": "6.5.0"
},
"keywords": [],
"author": "",
"license": "",
"browser": {},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browserify-shim": {
"$": "global:$"
},
"dependencies": {
"component-loader-js": "^3.1.1",
"normalize-styl": "^3.0.3",
"webfontloader": "^1.6.24"
},
"devDependencies": {
"autoprefixer-stylus": "^0.9.2",
"babel-cli": "^6.6.5",
"babel-eslint": "^6.0.2",
"babel-plugin-root-import": "^5.1.0",
"babel-plugin-transform-es2015-classes": "^6.6.5",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-es2015": "^6.6.0",
"babelify": "^7.2.0",
"browser-sync": "^2.16.1",
"browserify": "^13.0.0",
"browserify-shim": "^3.8.12",
"normalize-styl": "3.0.3",
"npm-run-all": "^4.0.2",
"onchange": "^2.2.0",
"rimraf": "^2.6.1",
"serve-static": "1.10.2",
"stylus": "^0.54.2",
"uglifyify": "^3.0.1",
"uglifyjs": "^2.4.10",
"watch": "^0.17.1",
"watchify": "^3.7.0"
},
"standard": {
"ignore": [
"src/**/*.json"
]
}
}