forked from halftheopposite/TOSIOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
41 lines (41 loc) · 1.61 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
36
37
38
39
40
41
{
"name": "tosios",
"version": "0.13.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/halftheopposite/tosios"
},
"author": {
"name": "Aymeric Chauvin",
"url": "https://hoglets.io"
},
"workspaces": {
"packages": [
"packages/*"
]
},
"scripts": {
"clean:dependencies": "find . -name \"node_modules\" -type d -prune -exec rm -rf '{}' +",
"clean:builds": "find . -name \"build\" -type d -prune -exec rm -rf '{}' +",
"clean": "yarn clean:dependencies; yarn clean:builds",
"lint": "yarn workspace @tosios/client lint; yarn workspace @tosios/server lint; yarn workspace @tosios/common lint",
"lint:fix": "yarn workspace @tosios/client lint:fix; yarn workspace @tosios/server lint:fix; yarn workspace @tosios/common lint:fix",
"start:common": "yarn workspace @tosios/common start",
"start:client": "yarn workspace @tosios/client start",
"start:server": "yarn workspace @tosios/server start",
"start": "yarn build:common && concurrently --kill-others-on-fail \"yarn start:common\" \"yarn start:client\" \"yarn start:server\"",
"build:common": "yarn workspace @tosios/common build",
"build:client": "yarn workspace @tosios/client build",
"build:server": "yarn workspace @tosios/server build",
"build:move": "cp -R ./packages/client/build ./packages/server/build/public",
"build": "yarn build:common && yarn build:client && yarn build:server && yarn build:move",
"serve": "yarn workspace @tosios/server serve"
},
"dependencies": {
"concurrently": "^4.1.1"
},
"devDependencies": {
"typescript": "^3.5.3"
}
}