mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
55 lines
1.8 KiB
JSON
55 lines
1.8 KiB
JSON
{
|
|
"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}\"",
|
|
"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": "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"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "4.1.3",
|
|
"@types/graphql": "^0.13.1",
|
|
"@types/mocha": "5.2.0",
|
|
"@types/sinon": "4.3.3",
|
|
"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": "5.0.7",
|
|
"supertest": "3.0.0",
|
|
"supertest-as-promised": "4.0.2",
|
|
"typescript": "2.8.3"
|
|
}
|
|
}
|