forked from near/near-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.26 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
{
"private": true,
"devDependencies": {
"concurrently": "^7.2.1",
"husky": "^2.3.0",
"lint-staged": "^11.0.0",
"prettier": "2.6.1",
"start-server-and-test": "^1.14.0"
},
"scripts": {
"fmt": "prettier --write '**/*.{js,jsx,ts,tsx,json}'",
"fmt:check": "prettier --check '**/*.{js,jsx,ts,tsx,json}'",
"docker:up:testnet": "ENV=testnet docker-compose up",
"docker:up:mainnet": "ENV=mainnet docker-compose up",
"docker:up:shardnet": "ENV=shardnet docker-compose up",
"docker:up:guildnet": "ENV=guildnet docker-compose up",
"typecheck": "npm run -w frontend typecheck && npm run -w backend typecheck",
"start": "concurrently \"npm run -w frontend start\" \"npm run -w backend start:mainnet\"",
"test:ci": "start-server-and-test start \"3000|http://localhost:10000/ping\" \"npm run -w frontend cy:run\"",
"postinstall": "patch-package && npm --workspaces --if-present run postinstall"
},
"workspaces": [
"common",
"frontend",
"backend"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css,json,md}": [
"prettier --write",
"git add"
]
},
"dependencies": {
"dotenv-cli": "^5.0.0",
"patch-package": "^6.4.7"
}
}