2016-04-24 15:55:22 -07:00
|
|
|
{
|
2016-10-03 23:13:08 +03:00
|
|
|
"private": true,
|
|
|
|
"license": "MIT",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2016-10-18 09:36:07 +03:00
|
|
|
"url": "git+https://github.com/apollostack/graphql-server.git"
|
2016-04-24 15:55:22 -07:00
|
|
|
},
|
|
|
|
"scripts": {
|
2016-10-03 23:13:08 +03:00
|
|
|
"compile": "lerna exec -- npm run compile",
|
2017-01-24 13:40:38 +02:00
|
|
|
"lint": "tslint ./packages/**/src/**/*.ts --exclude \"./packages/**/node_modules/**/*.ts\"",
|
2016-10-03 23:13:08 +03:00
|
|
|
"prebootstrap": "npm install",
|
2016-10-05 02:32:12 +03:00
|
|
|
"postinstall": "lerna bootstrap",
|
2016-06-10 20:48:21 -04:00
|
|
|
"pretest": "npm run compile",
|
|
|
|
"test": "npm run testonly --",
|
|
|
|
"posttest": "npm run lint",
|
2017-01-24 14:33:31 +02:00
|
|
|
"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",
|
2017-01-24 13:23:46 +02:00
|
|
|
"pretravis": "npm run compile",
|
2017-01-24 14:33:31 +02:00
|
|
|
"travis": "istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --full-trace ./test/tests.js",
|
2017-01-24 13:23:46 +02:00
|
|
|
"posttravis": "npm run lint",
|
2017-01-24 14:19:27 +02:00
|
|
|
"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
|
2017-04-09 03:03:40 +03:00
|
|
|
"check-updates": "ncu -a && lerna exec ../../node_modules/.bin/ncu -- -a",
|
2017-03-22 13:23:00 +02:00
|
|
|
"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"
|
2016-04-24 15:55:22 -07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-04-09 03:03:40 +03:00
|
|
|
"@types/chai": "^3.4.35",
|
|
|
|
"@types/mocha": "^2.2.40",
|
|
|
|
"@types/node": "^7.0.12",
|
|
|
|
"@types/sinon": "^2.1.2",
|
2016-04-24 15:55:22 -07:00
|
|
|
"chai": "^3.5.0",
|
2017-04-09 03:03:40 +03:00
|
|
|
"graphql": "^0.9.2",
|
2016-04-24 15:55:22 -07:00
|
|
|
"istanbul": "1.0.0-alpha.2",
|
2017-04-28 01:14:18 +00:00
|
|
|
"lerna": "2.0.0-rc.4",
|
2017-01-24 13:24:01 +02:00
|
|
|
"mocha": "^3.2.0",
|
2017-04-09 03:03:40 +03:00
|
|
|
"npm-check-updates": "^2.10.5",
|
|
|
|
"remap-istanbul": "^0.9.5",
|
|
|
|
"sinon": "^2.1.0",
|
2017-01-29 16:31:30 -08:00
|
|
|
"supertest": "^3.0.0",
|
2017-01-24 13:24:01 +02:00
|
|
|
"supertest-as-promised": "^4.0.2",
|
2017-03-30 20:26:59 -05:00
|
|
|
"tslint": "^5.0.0",
|
2017-04-09 03:03:40 +03:00
|
|
|
"typescript": "^2.2.2"
|
2016-04-24 15:55:22 -07:00
|
|
|
}
|
2016-11-16 03:17:54 +01:00
|
|
|
}
|