-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.42 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
{
"engines": {
"node": "^17.9.0",
"pnpm": "^7.17.0"
},
"dependencies": {
"create-elm-app": "^5.22.0",
"elm": "0.19.1-5",
"elm-analyse": "^0.16.5",
"elm-format": "^0.8.5",
"express": "^4.18.2",
"postcss": "^8.1.0",
"prettier": "^2.7.1",
"puppeteer": "^19.2.2",
"serve-static": "^1.15.0"
},
"devDependencies": {
"chokidar-cli": "^3.0.0"
},
"pnpm": {
"overrides": {
"node-watch": "^0.6.4"
}
},
"scripts": {
"build": "pnpm build-app && pnpm build-pdf",
"build-app": "rm -rf build/ && NODE_OPTIONS=--openssl-legacy-provider elm-app build && rm build/asset-manifest.json build/precache-manifest.*.js && cp public/service-worker.js build/",
"build-pdf": "node build-pdf.js",
"check": "pnpm check-fmt && pnpm check-lint && pnpm make && pnpm test",
"check-fmt": "elm-format --validate src/ tests/ && pnpm prettier-all --list-different",
"check-lint": "elm-analyse",
"clean": "rm -rf elm-stuff",
"dev": "NODE_OPTIONS=--openssl-legacy-provider ELM_DEBUGGER=false elm-app start",
"fmt": "elm-format --yes src/ tests/ && pnpm prettier-all --write",
"prettier-all": "prettier '**/*.{js,json,yaml}' '!**/*-lock.yaml' '!**/build/**' '!**/elm-stuff/**'",
"make": "elm make src/Main.elm --output /dev/null",
"test": "elm-app test",
"watch": "chokidar src tests --command 'clear && pnpm run test' --ignore tests/elm-stuff --initial"
}
}