forked from apollographql/apollo-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.84 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}/{*.js,*.ts,*.md}\"",
"lint-fix": "prettier --write --ignore-path .gitignore \"{docs/{,source/**},.,packages/**,test}/{*.js,*.ts,*.md}\"",
"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",
"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"
],
"*.md": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/chai": "4.1.3",
"@types/mocha": "5.2.0",
"@types/node": "9.6.7",
"@types/sinon": "4.3.0",
"chai": "4.1.2",
"graphql": "0.13.2",
"husky": "0.14.3",
"istanbul": "1.1.0-alpha.1",
"lerna": "2.11.0",
"lint-staged": "6.1.1",
"mocha": "5.1.1",
"prettier": "1.12.1",
"prettier-check": "2.0.0",
"remap-istanbul": "0.11.1",
"sinon": "4.5.0",
"supertest": "3.0.0",
"supertest-as-promised": "4.0.2",
"typescript": "2.8.3"
}
}