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 13:22:41 +02:00
|
|
|
"testonly": "mocha --compilers js:babel-core/register --reporter spec --full-trace --timeout 5000 ./test/tests.js",
|
|
|
|
"coverage": "istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --compilers js:babel-core/register --full-trace --reporter dot ./test/tests.js",
|
2017-01-24 13:23:46 +02:00
|
|
|
"pretravis": "npm run compile",
|
|
|
|
"travis": "istanbul cover -x \"*.test.js\" _mocha -- --timeout 5000 --compilers js:babel-core/register --full-trace ./test/tests.js",
|
|
|
|
"posttravis": "npm run lint",
|
2016-06-10 20:48:21 -04:00
|
|
|
"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info"
|
2016-04-24 15:55:22 -07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2016-10-03 23:13:08 +03:00
|
|
|
"@types/chai": "^3.4.34",
|
2017-01-24 13:24:01 +02:00
|
|
|
"@types/mocha": "^2.2.38",
|
|
|
|
"@types/node": "^7.0.3",
|
|
|
|
"@types/sinon": "^1.16.34",
|
|
|
|
"babel-cli": "^6.22.2",
|
|
|
|
"babel-core": "^6.22.1",
|
|
|
|
"babel-polyfill": "^6.22.0",
|
|
|
|
"babel-preset-es2015": "^6.22.0",
|
2016-04-24 15:55:22 -07:00
|
|
|
"chai": "^3.5.0",
|
2016-11-16 03:17:54 +01:00
|
|
|
"graphql": "^0.8.2",
|
2016-04-24 15:55:22 -07:00
|
|
|
"istanbul": "1.0.0-alpha.2",
|
2016-10-05 02:05:51 +03:00
|
|
|
"lerna": "git://github.com/DxCx/lerna.git#bootstrap-dev-bin-pkg",
|
2017-01-24 13:24:01 +02:00
|
|
|
"mocha": "^3.2.0",
|
|
|
|
"remap-istanbul": "^0.8.4",
|
|
|
|
"sinon": "^1.17.7",
|
|
|
|
"supertest": "^2.0.1",
|
|
|
|
"supertest-as-promised": "^4.0.2",
|
2017-01-06 17:55:27 +08:00
|
|
|
"tslint": "^4.3.1",
|
2017-01-24 13:24:01 +02:00
|
|
|
"typescript": "^2.1.5"
|
2016-04-24 15:55:22 -07:00
|
|
|
}
|
2016-11-16 03:17:54 +01:00
|
|
|
}
|