-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
29 lines (29 loc) · 1.25 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
{
"name": "tacks-client",
"devDependencies": {
"babel-cli": "^6.7.7",
"babel-preset-es2015": "^6.6.0",
"bootstrap-sass": "~3.3.6",
"chokidar-cli": "^1.2.0",
"elm": "0.18.0",
"node-sass": "^3.7.0",
"parallelshell": "^2.0.0"
},
"engines": {
"node": "^5.6.0"
},
"private": true,
"scripts": {
"build": "yarn run build-elm && yarn run compress-elm && yarn run build-sass && yarn run build-js",
"build-js": "babel client/scripts/boot.js --out-file public/dist/boot.js",
"build-elm": "elm make client/src/Main.elm --output public/dist/main-raw.js",
"compress-elm": "closure-compiler --js public/dist/main-raw.js --js_output_file public/dist/main.js",
"build-sass": "node-sass client/styles -o public/dist",
"watch": "parallelshell 'yarn run watch-elm' 'yarn run watch-sass' 'yarn run watch-js'",
"watch-js": "babel client/scripts/boot.js -w --out-file public/dev/boot.js",
"watch-elm": "chokidar 'client/src/**/*.elm' --initial -d 750 -t 500 -i '/#/' -c 'yarn run compile-elm --silent'",
"compile-elm": "elm make client/src/Main.elm --output public/dev/main.js",
"watch-sass": "node-sass -w client/styles -o public/dev",
"clean": "rm -rf elm-stuff/build-artifacts/0.17.0/etaque/tacks/"
}
}