-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
31 lines (31 loc) · 1.13 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
{
"name": "elm-kitchen-sample-app",
"version": "0.0.1",
"description": "",
"author": "You",
"license": "MIT",
"scripts": {
"build": "npm run copy-assets && elm make src/Main.elm --optimize --output=build/app.js && npm run optimize",
"copy-assets": "rimraf build && mkdir build && cp -Lr public/* build",
"debug": "elm-live src/Main.elm --port=3000 --dir=public/ -- --output=public/app.js --debug",
"deploy": "npm run build && gh-pages --dist build/",
"install": "elm make src/Main.elm",
"live": "elm-live src/Main.elm --port=3000 --dir=public/ -- --output=public/app.js",
"optimize": "uglifyjs build/app.js -c $npm_package_uglify_params | uglifyjs -m --output build/app.js",
"start": "npm run live",
"test": "elm-test"
},
"uglify": {
"params": "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"
},
"devDependencies": {
"elm": "^0.19.1",
"elm-format": "^0.8.1",
"elm-live": "^4.0.2",
"elm-test": "^0.19.0-rev6",
"gh-pages": "^6.2.0",
"npm-run-all": "^4.1.5",
"rimraf": "^2.6.1",
"uglify-js": "^3.4.9"
}
}