forked from clrfund/monorepo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (61 loc) · 2.65 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "@clrfund/monorepo",
"repository": "https://github.com/clrfund/monorepo",
"license": "GPL-3.0",
"private": true,
"workspaces": {
"packages": [
"contracts",
"vue-app",
"subgraph"
],
"nohoist": [
"**/@nomiclabs/**"
]
},
"lint-staged": {
"**/*.{js,ts,json,scss,css,vue}": [
"prettier --write"
]
},
"scripts": {
"build": "yarn workspaces run build",
"build:contracts": "yarn workspace @clrfund/contracts run build",
"build:web": "yarn workspace @clrfund/vue-app run build",
"build:subgraph": "yarn workspace @clrfund/subgraph run codegen && yarn workspace @clrfund/subgraph run build",
"start:dev": "yarn deploy:local && yarn start:subgraph && yarn start:web",
"start:registry": "yarn deploy:local-registry && yarn start:web",
"start:node": "yarn workspace @clrfund/contracts run node",
"start:web": "yarn workspace @clrfund/vue-app run serve",
"start:gun": "yarn workspace @clrfund/vue-app run gun",
"start:subgraph": "yarn workspace @clrfund/subgraph run prepare:hardhat && yarn build:subgraph && yarn deploy:local-subgraph",
"codegen": "graphql-codegen --config codegen.yml",
"test": "yarn workspace @clrfund/contracts run test && yarn workspace @clrfund/vue-app run test",
"test:contracts": "yarn workspace @clrfund/contracts run test",
"test:web": "yarn workspace @clrfund/vue-app run test",
"test:format": "yarn prettier --check",
"deploy:subgraph": "yarn workspace @clrfund/subgraph run deploy",
"deploy:local": "yarn deploy:local-registry && yarn deploy:local-round",
"deploy:local-registry": "yarn workspace @clrfund/contracts run deploy:local",
"deploy:local-round": "yarn workspace @clrfund/contracts run deployTestRound:local",
"deploy:local-subgraph": "yarn workspace @clrfund/subgraph run create-local && yarn workspace @clrfund/subgraph run deploy-local",
"upgrade:local": "yarn workspace @clrfund/contracts run upgrade:local",
"lint": "yarn workspaces run lint",
"lint:contracts": "yarn workspace @clrfund/contracts run lint",
"lint:web": "yarn workspace @clrfund/vue-app run lint",
"lint:subgraph": "yarn workspace @clrfund/subgraph run lint",
"prettier": "prettier \"**/*.+(js|ts|json|scss|css|vue)\"",
"format": "yarn prettier --write",
"prepare": "husky install"
},
"devDependencies": {
"@graphql-codegen/cli": "2.1.1",
"@graphql-codegen/typescript": "^2.1.2",
"@graphql-codegen/typescript-graphql-request": "^4.1.2",
"@graphql-codegen/typescript-operations": "^2.1.2",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.1",
"typechain": "^3.0.0"
}
}