apollo-server/package.json

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.10",
"@types/mocha": "2.2.44",
"@types/node": "8.0.58",
"@types/sinon": "2.3.7",
"chai": "4.1.2",
"graphql": "0.11.7",
"istanbul": "1.1.0-alpha.1",
"lerna": "2.5.1",
"mocha": "4.0.1",
"npm-check-updates": "2.13.0",
"remap-istanbul": "0.9.5",
"sinon": "4.1.3",
"supertest": "3.0.0",
"supertest-as-promised": "4.0.2",
"tslint": "5.7.0",
"typescript": "2.6.2"
}
}