-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
35 lines (35 loc) · 1.05 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
{
"name": "purescript-react-vite-starter",
"version": "0.0.0",
"scripts": {
"build:spago": "spago build",
"build:spago:prod": "spago build && spago bundle-app --to './src/index.prod.js' && npm run transform-require",
"build": "rm -rf dist && npm run build:spago:prod && vite build",
"format": "purs-tidy format-in-place 'src/**/*.purs'",
"prestart": "npm run build:spago",
"preview": "vite preview",
"serve:prod": "serve dist -l 8080",
"spago": "spago",
"start": "vite",
"start:spago": "spago build --watch",
"transform-require": "node scripts/transform-require.js",
"vite": "vite"
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@originjs/vite-plugin-commonjs": "^1.0.1",
"@vitejs/plugin-react": "^1.0.7",
"autoprefixer": "^10.4.1",
"postcss": "^8.4.5",
"postcss-nesting": "^10.1.0",
"purescript": "^0.14.5",
"purs-tidy": "^0.6.4",
"serve": "^13.0.2",
"spago": "^0.20.3",
"vite": "^2.7.2",
"vite-plugin-ejs": "^1.4.3"
}
}