-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
28 lines (28 loc) · 1003 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
{
"name": "@my-app/monorepo",
"private": true,
"workspaces": {
"packages": ["contracts", "vue-app"],
"nohoist": [
"**/@nomiclabs/**",
"**/typescript",
"**/ts-node",
"**/@vue/**",
"**/@openzeppelin/cli"
]
},
"scripts": {
"build": "yarn workspaces run build",
"build:contracts": "yarn workspace @my-app/contracts run build",
"build:web": "yarn workspace @my-app/vue-app run build",
"start:dev": "yarn deploy:local && yarn start:web",
"start:node": "yarn workspace @my-app/contracts run node",
"start:web": "yarn workspace @my-app/vue-app run serve",
"test": "yarn workspaces run test",
"test:contracts": "yarn workspace @my-app/contracts run test",
"test:web": "yarn workspace @my-app/vue-app run test",
"deploy:local": "yarn workspace @my-app/contracts run deploy:local",
"upgrade:local": "yarn workspace @my-app/contracts run upgrade:local",
"lint:web": "yarn workspace @my-app/vue-app run lint"
}
}