-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
45 lines (45 loc) · 2.36 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
{
"name": "cherryswap-monorepo",
"private": true,
"scripts": {
"prettier": "npm run prettier_vanilla -- --write",
"prettier_vanilla": "prettier --bracket-spacing 'packages/smart-contracts/**/*.js' 'packages/smart-contracts/**/*.sol'",
"bootstrap": "lerna bootstrap --hoist",
"postinstall": "yarn run bootstrap",
"frontend:start": "lerna run --scope=@cherryswap/front-end --stream start",
"frontend:build": "lerna run --scope=@cherryswap/front-end --stream build",
"frontend:test": "lerna run --scope=@cherryswap/front-end --stream test",
"contracts:run-ganache": "lerna run --scope=@cherryswap/smart-contracts --stream ganache",
"contracts:link": "lerna run --scope=@cherryswap/smart-contracts --stream link-dependencies",
"contracts:push": "lerna run --scope=@cherryswap/smart-contracts --stream push-project",
"contracts:compile": "lerna run --scope=@cherryswap/smart-contracts --stream compile",
"contracts:deploy": "lerna run --scope=@cherryswap/smart-contracts --stream deploy",
"contracts:migrate:development": "lerna run --scope=@cherryswap/smart-contracts --stream migrate:development",
"contracts:migrate:rinkeby": "lerna run --scope=@cherryswap/smart-contracts --stream migrate:rinkeby",
"contracts:migrate:mainnet": "lerna run --scope=@cherryswap/smart-contracts --stream migrate:mainnet",
"contracts:lint": "lerna run --scope=@cherryswap/smart-contracts --stream lint:solhint",
"contracts:prettier": "lerna run --scope=@cherryswap/smart-contracts --stream lint:prettier",
"contracts:test": "lerna run --scope=@cherryswap/smart-contracts --stream test",
"contracts:coverage": "lerna run --scope=@cherryswap/smart-contracts --stream coverage"
},
"dependencies": {
"homedir": "^0.6.0",
"lerna": "^3.18.3",
"truffle": "^5.0.37",
"truffle-hdwallet-provider": "^1.0.17",
"truffle-hdwallet-provider-privkey": "^0.3.0",
"prettier": "^1.18.2",
"prettier-plugin-solidity": "^1.0.0-alpha.34"
},
"devDependencies": {
"@openzeppelin/test-helpers": "^0.5.4",
"eth-gas-reporter": "^0.2.12",
"eth-provider": "^0.2.2",
"husky": "^4.0.3"
},
"husky": {
"hooks": {
"pre-push": "yarn run contracts:prettier"
}
}
}