forked from Consensys/ethql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.72 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
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "ethql",
"version": "0.0.1",
"description": "A GraphQL interface to Ethereum",
"author": "PegaSys – ConsenSys",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/ConsenSys/ethql"
},
"main": "index.js",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"clean": "$(npm bin)/rimraf dist",
"start": "$(npm bin)/dotenv -- node dist/index.js",
"dev": "$(npm bin)/nodemon -e ts -x ts-node src/index.ts",
"debug": "$(npm bin)/dotenv -- nodemon -e ts -x ts-node --inspect src/index.ts",
"build": "npm run build:ts && npm run build:docker",
"build:ts": "npm run clean && tsc && $(npm bin)/copyfiles -u 1 src/schema/**/*.graphql src/abi/** dist",
"build:docker": "docker image build -t ethql .",
"lint": "$(npm bin)/npm-run-all lint:ts lint:rest",
"lint:ts": "$(npm bin)/tslint --fix -t stylish -c tslint.json -p tsconfig.json && $(npm bin)/prettier --parser typescript --write 'src/**/*.ts'",
"lint:rest": "$(npm bin)/prettier '**/*.{md,json}' --write",
"test": "$(npm bin)/jest",
"test:watch": "$(npm bin)/jest --watch",
"coverage": "$(npm bin)/jest --collectCoverage",
"precommit": "npm run test && $(npm bin)/lint-staged",
"postinstall": "$(npm bin)/patch-package"
},
"lint-staged": {
"*.ts": [
"tslint --fix -t stylish -c tslint.json -p tsconfig.json",
"prettier --parser typescript --write",
"git add"
],
"*.{js,css,scss,html,json,graphql,md}": [
"prettier --write",
"git add"
]
},
"nodemonConfig": {
"ignore": [
"src/__tests__/*"
]
},
"dependencies": {
"@types/bluebird": "^3.5.20",
"abi-decoder": "^1.1.0",
"axios": "^0.18.0",
"bluebird": "^3.5.1",
"bn.js": "^4.11.8",
"commander": "^2.15.1",
"cors": "^2.8.4",
"dataloader": "^1.4.0",
"express": "^4.16.3",
"express-graphql": "^0.6.12",
"graphql": "^0.13.2",
"graphql-import": "^0.6.0",
"graphql-tools": "^3.0.2",
"lodash": "^4.17.10",
"patch-package": "^5.1.1",
"postinstall-postinstall": "^1.0.0",
"web3": "1.0.0-beta.34"
},
"devDependencies": {
"@types/cors": "^2.8.4",
"@types/express": "^4.16.0",
"@types/express-graphql": "^0.6.1",
"@types/graphql": "^0.13.1",
"@types/jest": "^23.1.0",
"@types/lodash": "^4.14.109",
"copyfiles": "^2.0.0",
"dotenv": "^6.0.0",
"dotenv-cli": "^1.4.0",
"husky": "^0.14.3",
"jest": "^23.1.0",
"lint-staged": "^7.2.0",
"nodemon": "^1.17.5",
"npm-run-all": "^4.1.3",
"prettier": "1.13.5",
"rimraf": "^2.6.2",
"ts-jest": "^22.4.6",
"ts-node": "^6.1.1",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.13.0",
"typescript": "^2.9.2"
}
}