This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
38 lines (38 loc) · 1.5 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
{
"name": "purescript-project",
"version": "0.0.0",
"scripts": {
"test": "spago test",
"watch": "cd dist && live-server --entry-file=index.html",
"dev": "pnpm run prepare-build && concurrently -k -c cyan nodemon \"nodemon --config nodemon.css.json\" \"pnpm run watch\"",
"build": "pnpm run prepare-build && pnpm run bundle:purescript && pnpm run dce && pnpm run bundle:js && cross-env NODE_ENV='production' pnpm run build:css",
"postbuild": "cp dist/index.html dist/404.html",
"build:js": "esbuild --outdir=dist public/entry.js --bundle",
"bundle:js": "pnpm run build:js -- --minify --define:production=true",
"build:css": "postcss public/styles/index.pcss -o dist/index.css",
"bundle:purescript": "spago build --purs-args '--codegen corefn'",
"dce": "zephyr -f Main.main",
"prepare-build": "rm -rf dist && mkdir dist && cp public/index.html dist/index.html",
"postinstall": "spago build -d"
},
"devDependencies": {
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"autoprefixer": "^10.0.1",
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"cssnano": "^4.1.10",
"esbuild": "^0.7.9",
"live-server": "^1.2.1",
"nodemon": "^2.0.4",
"postcss": "^8.1.1",
"postcss-cli": "^8.1.0",
"postcss-font-magician": "^2.3.1",
"postcss-import": "^12.0.1",
"postcss-preset-env": "^6.7.0",
"postcss-simple-vars": "^6.0.1",
"semantic-release": "^17.1.2"
},
"dependencies": {},
"sideEffects": false
}