forked from ocftw/open-star-ter-village
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 848 Bytes
/
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": "open-star-ter-village",
"version": "0.0.1",
"author": "Ben Liu <[email protected]>, renovirtony <[email protected]>",
"private": true,
"packageManager": "[email protected]",
"workspaces": [
"packages/*",
"client",
"server"
],
"engines": {
"node": ">=14.0.0 <17"
},
"scripts": {
"dev:webapp": "yarn workspaces foreach -pi run dev",
"build:webapp": "yarn workspaces foreach -pt run build",
"deploy:webapp": "rm -rf ./build && cp -r server/build ./build && cp -r client/build ./build/client",
"heroku-postbuild": "yarn build:webapp && yarn deploy:webapp",
"start:webapp": "NODE_ENV=production node build/index.js",
"test": "yarn workspaces foreach -p run test"
},
"devDependencies": {
"@types/koa-static": "^4.0.2"
},
"dependencies": {
"koa-static": "^5.0.0"
}
}