-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 1.04 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": "elm-simple-seed",
"version": "1.0.0",
"description": "a simple seed project following best practices to build your elm application.",
"scripts": {
"start": "npm run compile:watch & live-server",
"prebuild": "rimraf dist/*",
"build": "npm run compile:optimize && npm run uglify",
"postbuild": "copyfiles app.js index.html dist",
"compile": "elm make src/Main.elm --output app.js",
"compile:watch": "watch 'npm run compile' ./src",
"compile:optimize": "npm run compile -- --optimize",
"uglify": "uglifyjs app.js --compress 'pure_funcs=\"F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9\",pure_getters=true,keep_fargs=false,unsafe_comps=true,unsafe=true,passes=2' --output=app.js && uglifyjs app.js --mangle --output=app.js"
},
"keywords": [
"elm"
],
"author": "Max Burri",
"license": "ISC",
"devDependencies": {
"copyfiles": "^2.4.1",
"elm": "^0.19.1-6",
"elm-format": "^0.8.7",
"live-server": "^1.2.2",
"rimraf": "^6.0.1",
"uglify-js": "^3.19.3",
"watch": "^1.0.2"
}
}