forked from concourse/concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.87 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
{
"name": "web",
"version": "0.0.1",
"main": "index.js",
"repository": "https://github.com/concourse/concourse",
"license": "Apache-2.0",
"dependencies": {},
"devDependencies": {
"@mdi/svg": "^3.5.95",
"child-process-promise": "^2.2.1",
"clean-css-cli": "^4.3.0",
"elm": "^0.19.0-bugfix6",
"elm-analyse": "stil4m/elm-analyse#1ced133fa266fca45027e007e573badedb62a225",
"elm-format": "0.8.1",
"elm-test": "rtfeldman/node-test-runner#79cefc998411f997141d5f2023a369b43548caf0",
"less": "^3.0.2",
"less-plugin-autoprefix": "^1.5.1",
"puppeteer": "^1.12.2",
"uglify-js": "^3.3.22"
},
"resolutions": {
"less/request": "^2.86.0"
},
"scripts": {
"format": "elm-format --elm-version=0.19 web/elm --yes",
"analyse": "cd web/elm && elm-analyse",
"build": "yarn run build-less && yarn run build-elm",
"build-debug": "yarn run build-less && yarn run build-elm-debug",
"test": "cd web/elm && elm-test",
"build-less": "lessc web/assets/css/main.less web/public/main.out.css && cleancss -o web/public/main.css web/public/main.out.css && rm web/public/main.out.css",
"build-elm": "cd web/elm && elm make --optimize --output ../public/elm.js src/Main.elm && uglifyjs ../public/elm.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=../public/elm.min.js",
"build-elm-debug": "cd web/elm && elm make --output ../public/elm.js src/Main.elm && uglifyjs < ../public/elm.js > ../public/elm.min.js",
"update-mdi-svg": "./hack/update-mdi-svg \"node_modules/@mdi/svg/svg\" > web/public/mdi-svg.js && uglifyjs < web/public/mdi-svg.js > web/public/mdi-svg.min.js",
"benchmark": "cd web/elm && elm make --optimize --output /tmp/benchmark.html benchmarks/Benchmarks.elm && node benchmarks/benchmark.js /tmp/benchmark.html"
}
}