-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.57 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
{
"private": true,
"scripts": {
"clean": "rimraf index.html scripts styles",
"lint": "standard --verbose app/scripts/**/*.js | snazzy",
"templates": "pug app/templates/index.pug --out ./",
"templates-watch": "pug --out ./ --pretty --watch app/templates/index.pug",
"scripts": "mkdir -p ./scripts && browserify app/scripts/main.js -o ./scripts/bundle.js -t babelify -p [minifyify --no-map]",
"scripts-watch": "mkdir -p ./scripts && watchify app/scripts/main.js -o ./scripts/bundle.js -d -t babelify",
"styles": "mkdir -p ./styles && node-sass --output-style compressed app/styles/main.scss ./styles/main.css",
"styles-watch": "mkdir -p ./styles && node-sass -w -r --source-map true app/styles/main.scss ./styles/main.css",
"build": "npm run clean && npm run templates && npm run scripts && npm run styles",
"serve": "npm run build && concurrently -k \"npm run templates-watch\" \"npm run scripts-watch\" \"npm run styles-watch\" \"browser-sync start --server './' --files './'\"",
"test": "npm run lint",
"start": "npm run build"
},
"dependencies": {
"babel-preset-latest": "^6.16.0",
"babelify": "^7.3.0",
"bluebird": "^3.4.6",
"browser-sync": "^2.17.5",
"browserify": "^13.1.1",
"concurrently": "^3.1.0",
"minifyify": "^7.3.4",
"node-sass": "^3.11.2",
"pug-cli": "^1.0.0-alpha6",
"qr-image": "^3.1.0",
"rimraf": "^2.5.4",
"snazzy": "^5.0.0",
"standard": "^8.5.0",
"thirty-two": "^1.0.2",
"watchify": "^3.7.0"
},
"standard": {
"env": [
"browser",
"jquery"
]
}
}