forked from concourse/concourse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 2 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
37
38
39
40
41
42
43
44
45
{
"name": "web",
"version": "0.0.1",
"main": "index.js",
"repository": "https://github.com/concourse/concourse",
"license": "Apache-2.0",
"dependencies": {
"request": "^2.86.0"
},
"devDependencies": {
"@babel/core": "7.24.0",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.24.0",
"@mdi/svg": "7.4.47",
"babel-loader": "9.1.3",
"child-process-promise": "2.2.1",
"clean-css-cli": "5.6.3",
"elm": "0.19.1",
"elm-analyse": "0.16.5",
"elm-format": "0.8.7",
"elm-test": "0.19.1-revision9",
"less": "4.2.0",
"less-plugin-autoprefix": "2.0.0",
"puppeteer": "22.3.0",
"uglify-js": "3.17.4",
"webpack": "5.90.3",
"webpack-cli": "5.1.4"
},
"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 && yarn run build-js",
"build-debug": "yarn run build-less && yarn run build-elm-debug",
"build-js": "webpack --mode production",
"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 --debug --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\" | tr -d '\n' > 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"
}
}