-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.19 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.19 KB
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": "trypurescript-client",
"private": true,
"scripts": {
"clean": "rimraf output",
"test": "spago test --path config/dev/Try.Config.purs",
"build": "spago build --path config/dev/Try.Config.purs",
"build:dev": "spago bundle-app --path config/dev/Try.Config.purs --to client.js",
"build:production": "spago bundle-app --path config/prod/Try.Config.purs --purs-args '--censor-lib --strict' --to client.js",
"bundle": "esbuild --outfile=public/js/index.js --bundle --minify --platform=browser --format=iife --tree-shaking=true client.js",
"serve": "http-server public/ -o / --cors=\"Access-Control-Allow-Origin: *\" -c-1",
"serve:dev": "npm run build:dev && npm run bundle && npm run serve",
"serve:production": "npm run build:production && npm run bundle && npm run serve",
"updateConfigVersions": "node updateSharedConfigVersions.mjs src/Try/SharedConfig.purs"
},
"devDependencies": {
"esbuild": "^0.14.43",
"http-server": "^14.1.0",
"purescript": "^0.15.2",
"purescript-psa": "^0.8.2",
"rimraf": "^2.5.4",
"spago": "^0.20.9"
},
"dependencies": {
"ace-builds": "^1.5.0",
"jquery": "^1.12.4",
"lz-string": "^1.4.4"
}
}