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-07-18 08:43:47 -07: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-08-10 16:51:02 +02:00
|
|
|
"testonly": "jest --verbose",
|
2018-08-10 18:47:29 +02:00
|
|
|
"circle": "npm run testonly && npm run lint",
|
2018-07-17 10:55:45 -07:00
|
|
|
"release": "lerna publish --exact",
|
2018-01-09 00:08:01 +01:00
|
|
|
"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-08-10 05:52:49 +00:00
|
|
|
"@types/graphql": "0.13.4",
|
2018-07-31 15:40:03 -07:00
|
|
|
"@types/jest": "23.3.1",
|
2018-08-10 10:44:50 +00:00
|
|
|
"@types/node": "10.5.7",
|
2018-07-16 09:56:51 -07:00
|
|
|
"graphql": "0.13.2",
|
|
|
|
"husky": "0.14.3",
|
2018-08-10 18:55:44 +02:00
|
|
|
"jest": "23.5.0",
|
|
|
|
"jest-matcher-utils": "23.5.0",
|
2018-08-10 16:16:59 +02:00
|
|
|
"lerna": "3.0.1",
|
2018-07-16 09:56:51 -07:00
|
|
|
"lint-staged": "7.2.0",
|
2018-08-10 08:05:34 +00:00
|
|
|
"prettier": "1.14.2",
|
2018-07-16 09:56:51 -07:00
|
|
|
"prettier-check": "2.0.0",
|
|
|
|
"supertest": "3.1.0",
|
2018-08-10 20:53:09 +00:00
|
|
|
"ts-jest": "23.1.3",
|
2018-07-16 09:56:51 -07:00
|
|
|
"typescript": "2.9.2"
|
2018-08-10 16:51:02 +02:00
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"projects": [
|
|
|
|
"<rootDir>/packages/*"
|
|
|
|
]
|
2016-04-24 15:55:22 -07:00
|
|
|
}
|
2016-11-16 03:17:54 +01:00
|
|
|
}
|