-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
17 lines (17 loc) · 871 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"private": true,
"devDependencies": {
"elm": "0.19.1-3",
"elm-analyse": "^0.16.5",
"elm-format": "^0.8.1",
"elm-live": "^4.0",
"elm-test": "0.19.1-revision2",
"uglify-js": "^3.4.9"
},
"scripts": {
"compile-min": "elm make src/Main.elm --optimize --output=main.min.js && uglifyjs main.min.js --compress 'pure_funcs=\"F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9\",pure_getters,keep_fargs=false,unsafe_comps,unsafe' | uglifyjs --mangle --output=main.min.js",
"dev-server": "elm-live src/Main.elm -- --debug --output=main.js",
"prod-server": "elm-live src/Main.elm -- --optimize --output=main.js",
"release": "git checkout master && yarn elm-test && git push && git checkout gh-pages && git merge master --no-edit && yarn compile-min && git add main.min.js && git commit -m \"Publish updated version\" && git push"
}
}