mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 02:01:40 -05:00
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"private": true,
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/apollographql/apollo-server.git"
|
|
},
|
|
"scripts": {
|
|
"compile": "lerna run compile",
|
|
"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}\"",
|
|
"prebootstrap": "npm install",
|
|
"postinstall": "lerna bootstrap",
|
|
"pretest": "npm run compile",
|
|
"test": "npm run testonly",
|
|
"posttest": "npm run lint",
|
|
"testonly": "jest --verbose",
|
|
"circle": "npm run testonly && npm run lint",
|
|
"release": "lerna publish --exact",
|
|
"precommit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.js": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/graphql": "0.13.4",
|
|
"@types/jest": "23.3.1",
|
|
"@types/node": "10.5.7",
|
|
"graphql": "0.13.2",
|
|
"husky": "0.14.3",
|
|
"jest": "23.5.0",
|
|
"jest-matcher-utils": "23.5.0",
|
|
"lerna": "3.0.1",
|
|
"lint-staged": "7.2.0",
|
|
"prettier": "1.14.2",
|
|
"prettier-check": "2.0.0",
|
|
"supertest": "3.1.0",
|
|
"ts-jest": "23.1.3",
|
|
"typescript": "2.9.2"
|
|
},
|
|
"jest": {
|
|
"projects": [
|
|
"<rootDir>/packages/*"
|
|
]
|
|
}
|
|
}
|