-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 2.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@orbs-network/management-service",
"private": true,
"version": "0.0.1",
"description": "read orbs state from the network and expose it",
"author": "Tal Kol <[email protected]>",
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*",
"!dist/**/*.test.js"
],
"engines": {
"node": ">=12.13.0"
},
"scripts": {
"typecheck": "tsc --noEmit --skipLibCheck",
"lint": "eslint . --ext .ts,.tsx -f codeframe",
"pretest": "npm run typecheck && npm run lint",
"clean": "rimraf ./dist/",
"prebuild": "npm run clean",
"build": "tsc --skipLibCheck -p ./tsconfig.prod.json && ./boyar/create-version-file.sh && docker build -t local/management-service .",
"buildonly": "tsc --skipLibCheck -p ./tsconfig.prod.json && ./boyar/create-version-file.sh",
"test": "ava --verbose --timeout=10m --serial --fail-fast",
"test:quick": "echo '-- TEST --' && ava --verbose --timeout=10m --serial",
"test:e2e": "ava --verbose --timeout=10m --serial --config ./ava.config.e2e.js",
"prepack": "npm run build",
"prettify": "npx prettier \"src/**/*.ts\" --write && npx prettier \"e2e/**/*.ts\" --write",
"start": "node --optimize-for-size ./dist/main.js",
"start:eth": "ganache-cli -p 7545 -i 5777 -a 100 --gasLimit 0x7FFFFFFF --gasPrice 1 -m \"vanish junk genuine web seminar cook absurd royal ability series taste method identify elevator liquid\""
},
"husky": {
"hooks": {
"pre-commit": "npm run prettify"
}
},
"devDependencies": {
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.7",
"@types/express": "^4.17.3",
"@types/lodash": "^4.14.149",
"@types/luxon": "^1.22.0",
"@types/mock-fs": "^4.10.0",
"@types/node": "^14.14.16",
"@types/node-fetch": "^2.5.5",
"@types/yargs": "^15.0.4",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"ava": "^3.5.1",
"docker-compose-mocha": "^1.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"ganache-cli": "^6.9.1",
"husky": "^4.2.3",
"mock-fs": "^4.11.0",
"nock": "^12.0.3",
"rimraf": "^3.0.2",
"ts-node": "^8.8.1",
"ts-retry-promise": "^0.2.0",
"typescript": "~3.7.5"
},
"dependencies": {
"@orbs-network/orbs-ethereum-contracts-v2": "0.0.38",
"@types/node-gzip": "^1.1.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"deepmerge": "^4.2.2",
"express": "^4.17.1",
"lodash": "^4.17.21",
"node-fetch": "^2.6.0",
"p-throttle": "^3.1.0",
"validate.js": "^0.13.1",
"web3": "1.2.6",
"yargs": "^15.3.1"
}
}