-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathpackage.json
59 lines (59 loc) · 1.95 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
{
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/apollographql/apollo-server.git"
},
"scripts": {
"compile": "lerna exec -- npm run compile",
"lint":
"prettier-check --ignore-path .gitignore \"{docs/{,source/**},.,packages/**,test}/{*.{j,t}s*,*.md,*.json}\"",
"lint-fix":
"prettier --write --ignore-path .gitignore \"{docs/{,source/**},.,packages/**,test}/{*.{j,t}s*,*.md,*.json}\"",
"prebootstrap": "npm install",
"postinstall": "lerna bootstrap",
"pretest": "npm run compile",
"test": "npm run testonly --",
"posttest": "npm run lint",
"testonly":
"mocha --reporter spec --full-trace --timeout 5000 ./test/tests.js",
"coverage":
"istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --full-trace --reporter dot ./test/tests.js",
"pretravis": "npm run compile",
"travis":
"istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --full-trace ./test/tests.js",
"posttravis": "npm run lint",
"postcoverage":
"remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
"release": "lerna publish",
"precommit": "lint-staged"
},
"lint-staged": {
"*.ts*": ["prettier --write", "git add"],
"*.js*": ["prettier --write", "git add"],
"*.json*": ["prettier --write", "git add"],
"*.md*": ["prettier --write", "git add"]
},
"devDependencies": {
"@types/chai": "4.1.2",
"@types/mocha": "2.2.48",
"@types/node": "8.9.4",
"@types/sinon": "4.1.3",
"chai": "4.1.2",
"graphql": "0.11.7",
"husky": "0.14.3",
"istanbul": "1.1.0-alpha.1",
"lerna": "2.9.0",
"lint-staged": "6.1.1",
"mocha": "4.1.0",
"npm-check-updates": "2.14.0",
"prettier": "1.10.2",
"prettier-check": "2.0.0",
"remap-istanbul": "0.10.1",
"sinon": "4.4.0",
"supertest": "3.0.0",
"supertest-as-promised": "4.0.2",
"typescript": "2.7.2"
}
}