apollo-server/package.json
2017-09-04 09:31:15 +00:00

42 lines
1.5 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": "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",
"release": "lerna publish"
},
"devDependencies": {
"@types/chai": "4.0.4",
"@types/mocha": "2.2.42",
"@types/node": "8.0.26",
"@types/sinon": "2.3.3",
"chai": "4.1.2",
"graphql": "0.11.2",
"istanbul": "1.1.0-alpha.1",
"lerna": "2.1.2",
"mocha": "3.5.0",
"npm-check-updates": "2.12.1",
"remap-istanbul": "0.9.5",
"sinon": "3.2.1",
"supertest": "3.0.0",
"supertest-as-promised": "4.0.2",
"tslint": "5.7.0",
"typescript": "2.5.2"
}
}