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": {
|
2018-06-18 11:57:19 +02:00
|
|
|
"compile": "lerna run -- compile",
|
2018-04-11 11:19:39 +03:00
|
|
|
"lint": "prettier-check --ignore-path .gitignore \"{docs/{,source/**},.,packages/**,test}/{*.js,*.ts}\"",
|
|
|
|
"lint-fix": "prettier --write --ignore-path .gitignore \"{docs/{,source/**},.,packages/**,test}/{*.js,*.ts}\"",
|
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",
|
2018-06-18 11:57:19 +02:00
|
|
|
"test": "npm run testonly",
|
2016-06-10 20:48:21 -04:00
|
|
|
"posttest": "npm run lint",
|
2018-06-18 11:57:19 +02:00
|
|
|
"testonly": "lerna run -- test && mocha --reporter spec --full-trace --timeout 5000 ./test/tests.js",
|
2018-03-28 13:56:22 -07:00
|
|
|
"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-03-28 13:56:22 -07:00
|
|
|
"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",
|
2018-01-09 00:08:01 +01:00
|
|
|
"release": "lerna publish",
|
|
|
|
"precommit": "lint-staged"
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2018-03-28 13:56:22 -07:00
|
|
|
"*.ts": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.js": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
2016-04-24 15:55:22 -07:00
|
|
|
},
|
2018-06-11 13:21:51 +02:00
|
|
|
"engines": {
|
2018-06-13 14:56:09 -07:00
|
|
|
"node": ">=6"
|
2018-06-11 13:21:51 +02:00
|
|
|
},
|
2016-04-24 15:55:22 -07:00
|
|
|
"devDependencies": {
|
2018-07-16 09:56:51 -07:00
|
|
|
"@types/chai": "4.1.4",
|
|
|
|
"@types/graphql": "0.13.3",
|
|
|
|
"@types/mocha": "5.2.4",
|
|
|
|
"@types/node": "10.5.2",
|
2018-06-11 12:13:03 +02:00
|
|
|
"@types/sinon": "5.0.1",
|
2017-09-02 06:34:49 +00:00
|
|
|
"chai": "4.1.2",
|
2018-07-16 09:56:51 -07:00
|
|
|
"graphql": "0.13.2",
|
|
|
|
"husky": "0.14.3",
|
|
|
|
"istanbul": "1.1.0-alpha.1",
|
|
|
|
"lerna": "2.11.0",
|
|
|
|
"lint-staged": "7.2.0",
|
|
|
|
"mocha": "5.2.0",
|
|
|
|
"prettier": "1.13.7",
|
|
|
|
"prettier-check": "2.0.0",
|
|
|
|
"remap-istanbul": "0.11.1",
|
|
|
|
"sinon": "6.1.3",
|
|
|
|
"supertest": "3.1.0",
|
|
|
|
"typescript": "2.9.2"
|
2016-04-24 15:55:22 -07:00
|
|
|
}
|
2016-11-16 03:17:54 +01:00
|
|
|
}
|