-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 2.5 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
{
"name": "wasa-boilerplate",
"version": "1.0.0-beta.1",
"description": "ready-to-go wasa-boilerplate",
"main": "index.js",
"scripts": {
"clean-build": "npm run remove-build && mkdir build && cd build && mkdir assets && cd assets && mkdir icons",
"remove-build": "rimraf ./build",
"start": "npm run clean-build && npm run build && npm-run-all --parallel scripts:watch views:watch styles:watch icons:watch browser-sync",
"build": "npm-run-all clean-build build-task:babel build-task:pug build-task:node-sass build-task:postcss build-task:icons",
"build-task:babel": "babel app/scripts/index.js --out-file build/assets/index.js -s",
"build-task:pug": "pug app/views/ --out build",
"build-task:node-sass": "node-sass app/styles/index.scss -o build/assets/",
"build-task:postcss": "postcss build/assets/index.css --use postcss-cssnext -r",
"build-task:icons": "svg-sprite-generate -d app/assets/icons -o build/assets/icons/sprite.svg",
"scripts:watch": "chokidar 'app/scripts/index.js' -c 'npm run build-task:babel'",
"views:watch": "chokidar 'app/views/**/*' -c 'npm run build-task:pug'",
"styles:build": "npm-run-all build-task:node-sass build-task:postcss",
"styles:watch": "chokidar 'app/styles/**/*.scss' -c 'npm run styles:build'",
"icons:watch": "chokidar 'app/assets/icons' -c 'npm run build-task:icons'",
"browser-sync": "browser-sync start --config bs-config.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/waitandseeagency/wasa-boilerplate.git"
},
"keywords": [
"boilerplate",
"wasa"
],
"author": "Wait And See Agency",
"license": "ISC",
"bugs": {
"url": "https://github.com/waitandseeagency/wasa-boilerplate/issues"
},
"homepage": "https://github.com/waitandseeagency/wasa-boilerplate#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-preset-env": "^1.6.0",
"babel-preset-flow": "^6.23.0",
"browser-sync": "^2.18.12",
"chokidar-cli": "^1.2.0",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-import": "^2.7.0",
"node-sass": "^4.5.3",
"npm-run-all": "^4.0.2",
"postcss-cli": "^4.1.0",
"postcss-cssnext": "^3.0.2",
"pug-cli": "https://github.com/pugjs/pug-cli#master",
"svg-sprite-generator": "0.0.7"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}