mirror of
https://github.com/vale981/apollo-server
synced 2025-03-06 10:11:40 -05:00
46 lines
1.8 KiB
JSON
46 lines
1.8 KiB
JSON
{
|
|
"private": true,
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/apollostack/graphql-server.git"
|
|
},
|
|
"scripts": {
|
|
"compile": "lerna exec -- npm run compile",
|
|
"lint": "tslint ./packages/**/src/**/*.ts --exclude \"./packages/**/node_modules/**/*.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",
|
|
"posttravis": "npm run lint",
|
|
"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
|
|
"check-updates": "ncu -a && lerna exec ../../node_modules/.bin/ncu -- -a",
|
|
"postcheck-updates": "npm test && npm run commit-updates",
|
|
"commit-updates": "git add \"packages/*/package.json\" package.json; git commit -m \"Update dependencies\" || exit 0",
|
|
"prerelease": "npm run check-updates",
|
|
"release": "lerna publish"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.0.0",
|
|
"@types/mocha": "^2.2.41",
|
|
"@types/node": "^7.0.31",
|
|
"@types/sinon": "^2.3.1",
|
|
"chai": "^4.0.2",
|
|
"graphql": "^0.10.1",
|
|
"istanbul": "1.0.0-alpha.2",
|
|
"lerna": "2.0.0-rc.5",
|
|
"mocha": "^3.4.2",
|
|
"npm-check-updates": "^2.11.3",
|
|
"remap-istanbul": "^0.9.5",
|
|
"sinon": "^2.3.4",
|
|
"supertest": "^3.0.0",
|
|
"supertest-as-promised": "^4.0.2",
|
|
"tslint": "^5.4.3",
|
|
"typescript": "^2.3.4"
|
|
}
|
|
}
|