|
3 | 3 | "private": true, |
4 | 4 | "scripts": { |
5 | 5 | "clean": "rimraf output", |
6 | | - "test": "spago test --path config/dev/Try.Config.purs", |
7 | | - "build": "spago build --path config/dev/Try.Config.purs", |
8 | | - "build:dev": "spago bundle-app --path config/dev/Try.Config.purs --to client.js", |
9 | | - "build:production": "spago bundle-app --path config/prod/Try.Config.purs --purs-args '--censor-lib --strict' --to client.js", |
10 | | - "bundle": "esbuild --outfile=public/js/index.js --bundle --minify --platform=browser --format=iife --tree-shaking=true client.js", |
| 6 | + "test": "spago test", |
| 7 | + "build": "spago build", |
| 8 | + "build:dev": "spago bundle --outfile client.js --force", |
| 9 | + "build:production": "spago bundle --outfile client.js --force --strict", |
| 10 | + "bundle:dev": "esbuild --define:__DEVELOPMENT__=true --outfile=public/js/index.js --bundle --minify --platform=browser --format=iife --tree-shaking=true client.js", |
| 11 | + "bundle:production": "esbuild --define:__DEVELOPMENT__=false --outfile=public/js/index.js --bundle --minify --platform=browser --format=iife --tree-shaking=true client.js", |
11 | 12 | "serve": "http-server public/ -o / --cors=\"Access-Control-Allow-Origin: *\" -c-1", |
12 | | - "serve:dev": "npm run build:dev && npm run bundle && npm run serve", |
13 | | - "serve:production": "npm run build:production && npm run bundle && npm run serve", |
| 13 | + "serve:dev": "npm run build:dev && npm run bundle:dev && npm run serve", |
| 14 | + "serve:production": "npm run build:production && npm run bundle:production && npm run serve", |
14 | 15 | "updateConfigVersions": "node updateSharedConfigVersions.mjs src/Try/SharedConfig.purs" |
15 | 16 | }, |
16 | 17 | "devDependencies": { |
17 | 18 | "esbuild": "^0.14.43", |
18 | 19 | "http-server": "^14.1.0", |
19 | | - "purescript": "^0.15.2", |
| 20 | + "purescript": "^0.15.10", |
20 | 21 | "purescript-psa": "^0.8.2", |
21 | 22 | "rimraf": "^2.5.4", |
22 | | - "spago": "^0.20.9" |
| 23 | + "spago": "^1.0.4" |
23 | 24 | }, |
24 | 25 | "dependencies": { |
25 | 26 | "ace-builds": "^1.5.0", |
|
0 commit comments