forked from purescript/trypurescript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.27 KB
/
Copy pathpackage.json
File metadata and controls
30 lines (30 loc) · 1.27 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
30
{
"name": "trypurescript-client",
"private": true,
"scripts": {
"clean": "rimraf output",
"test": "spago test",
"build": "spago build",
"build:dev": "spago bundle --outfile client.js --force",
"build:production": "spago bundle --outfile client.js --force --strict",
"bundle:dev": "esbuild --define:__DEVELOPMENT__=true --outfile=public/js/index.js --bundle --minify --platform=browser --format=iife --tree-shaking=true client.js",
"bundle:production": "esbuild --define:__DEVELOPMENT__=false --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:dev && npm run serve",
"serve:production": "npm run build:production && npm run bundle:production && npm run serve",
"updateConfigVersions": "node updateSharedConfigVersions.mjs src/Try/SharedConfig.purs"
},
"devDependencies": {
"esbuild": "^0.14.43",
"http-server": "^14.1.0",
"purescript": "^0.15.15",
"purescript-psa": "^0.8.2",
"rimraf": "^2.5.4",
"spago": "^1.0.4"
},
"dependencies": {
"ace-builds": "^1.5.0",
"jquery": "^1.12.4",
"lz-string": "^1.4.4"
}
}