-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
29 lines (29 loc) · 1.27 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
{
"name": "purescript-concur-starter",
"version": "0.1.0",
"description": "A Starter kit for Purescript-Concur. Uses Spago and Parcel.",
"main": "index.js",
"scripts": {
"build": "spago build",
"test": "spago test",
"start": "parcel dev/index.html --open",
"watch": "parcel watch dev/index.html",
"clean": "rimraf .cache .spago .psci_modules output .pulp-cache prod dist",
"dev": "rimraf dist && spago build && cross-env NODE_ENV=development parcel build --public-url ./ dev/index.html",
"prod": "rimraf temp && rimraf dist && mkdir temp && cp dev/index.html temp/ && spago bundle-app --to temp/index.js && java -jar ../closure-compiler/closure-compiler-v20190301.jar --js temp/index.js --js_output_file temp/minified.js && mv temp/minified.js temp/index.js && parcel build --public-url ./ temp/index.html && rimraf temp",
"docs": "cd examples && npm run examples-prod && cp docs/logo.png dist && cp docs/Purescript-Concur-Performance.png dist && rimraf docs && mv dist docs"
},
"license": "MIT",
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"esbuild": "^0.17.5",
"parcel": "^2.8.3",
"process": "^0.11.10",
"purescript": "^0.15.7",
"rimraf": "^3.0.2",
"spago": "^0.20.9"
}
}