apollo-server/package.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": "^3.4.35",
"@types/mocha": "^2.2.40",
"@types/node": "^7.0.12",
"@types/sinon": "^2.1.2",
"chai": "^3.5.0",
"graphql": "^0.9.2",
"istanbul": "1.0.0-alpha.2",
"lerna": "2.0.0-rc.3",
"mocha": "^3.2.0",
"npm-check-updates": "^2.10.5",
"remap-istanbul": "^0.9.5",
"sinon": "^2.1.0",
"supertest": "^3.0.0",
"supertest-as-promised": "^4.0.2",
"tslint": "^5.0.0",
"typescript": "^2.2.2"
}
}