2016-04-24 15:55:22 -07:00
|
|
|
{
|
2016-10-03 23:13:08 +03:00
|
|
|
"private": true,
|
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2017-07-17 16:29:40 -07:00
|
|
|
"url": "git+https://github.com/apollographql/apollo-server.git"
|
2016-04-24 15:55:22 -07:00
|
|
|
},
|
|
|
|
"scripts": {
|
2016-10-03 23:13:08 +03:00
|
|
|
"compile": "lerna exec -- npm run compile",
|
2018-01-09 00:08:01 +01:00
|
|
|
"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}\"",
|
2016-10-03 23:13:08 +03:00
|
|
|
"prebootstrap": "npm install",
|
2016-10-05 02:32:12 +03:00
|
|
|
"postinstall": "lerna bootstrap",
|
2016-06-10 20:48:21 -04:00
|
|
|
"pretest": "npm run compile",
|
|
|
|
"test": "npm run testonly --",
|
|
|
|
"posttest": "npm run lint",
|
2018-01-09 00:08:01 +01:00
|
|
|
"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",
|
2017-01-24 13:23:46 +02:00
|
|
|
"pretravis": "npm run compile",
|
2018-01-09 00:08:01 +01:00
|
|
|
"travis":
|
|
|
|
"istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --full-trace ./test/tests.js",
|
2017-01-24 13:23:46 +02:00
|
|
|
"posttravis": "npm run lint",
|
2018-01-09 00:08:01 +01:00
|
|
|
"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"]
|
2016-04-24 15:55:22 -07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-01-24 06:25:13 +00:00
|
|
|
"@types/chai": "4.1.2",
|
2018-02-01 06:00:53 +00:00
|
|
|
"@types/mocha": "2.2.48",
|
2018-02-12 08:02:50 +00:00
|
|
|
"@types/node": "8.9.3",
|
2018-01-19 13:22:47 +00:00
|
|
|
"@types/sinon": "4.1.3",
|
2017-09-02 06:34:49 +00:00
|
|
|
"chai": "4.1.2",
|
2017-10-04 06:56:24 +00:00
|
|
|
"graphql": "0.11.7",
|
2018-01-18 15:48:55 +01:00
|
|
|
"husky": "0.14.3",
|
2017-08-24 23:33:46 -07:00
|
|
|
"istanbul": "1.1.0-alpha.1",
|
2018-01-20 06:12:19 +00:00
|
|
|
"lerna": "2.8.0",
|
2018-02-10 20:01:12 +00:00
|
|
|
"lint-staged": "6.1.0",
|
2017-12-29 06:05:49 +00:00
|
|
|
"mocha": "4.1.0",
|
2017-12-22 06:44:16 +00:00
|
|
|
"npm-check-updates": "2.14.0",
|
2018-01-18 15:48:55 +01:00
|
|
|
"prettier": "1.10.2",
|
|
|
|
"prettier-check": "2.0.0",
|
2018-01-23 06:20:56 +00:00
|
|
|
"remap-istanbul": "0.10.1",
|
2018-02-10 19:02:53 +00:00
|
|
|
"sinon": "4.2.3",
|
2017-08-24 05:27:05 +00:00
|
|
|
"supertest": "3.0.0",
|
|
|
|
"supertest-as-promised": "4.0.2",
|
2018-02-01 07:01:21 +00:00
|
|
|
"typescript": "2.7.1"
|
2016-04-24 15:55:22 -07:00
|
|
|
}
|
2016-11-16 03:17:54 +01:00
|
|
|
}
|