Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packages and lint #163

Merged
merged 2 commits into from Jul 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 7 additions & 4 deletions package.json
Expand Up @@ -19,26 +19,29 @@
"pretest": "npm run compile",
"test": "npm run testonly --",
"posttest": "npm run lint",
"lint": "tslint --type-check --project ./tsconfig.json ./src/**/*.ts",
"lint": "tslint --project ./tsconfig.json ./src/**/*.ts",
"watch": "tsc -w",
"testonly": "mocha --reporter spec --full-trace ./dist/test/tests.js ./dist/test/asyncIteratorSubscription.js ",
"coverage": "node ./node_modules/istanbul/lib/cli.js cover _mocha -- --full-trace ./dist/test/tests.js",
"postcoverage": "remap-istanbul --input coverage/coverage.raw.json --type lcovonly --output coverage/lcov.info",
"prepublishOnly": "npm run clean && npm run compile"
},
"devDependencies": {
"@types/chai-as-promised": "^7.1.0",
"@types/graphql": "^0.11.3",
"@types/mocha": "^2.2.39",
"@types/node": "^8.0.28",
"@types/sinon": "^5.0.1",
"@types/sinon-chai": "^3.2.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"graphql": "^0.13.0",
"istanbul": "^1.0.0-alpha.2",
"mocha": "^3.3.0",
"mocha": "^5.2.0",
"remap-istanbul": "^0.9.1",
"rimraf": "^2.6.2",
"sinon": "^3.2.1",
"sinon-chai": "^2.9.0",
"sinon": "^6.1.4",
"sinon-chai": "^3.2.0",
"tslint": "^5.2.0",
"typescript": "^2.3.2"
},
Expand Down
3 changes: 1 addition & 2 deletions tslint.json
Expand Up @@ -56,7 +56,6 @@
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"no-var-requires": true,
Expand Down Expand Up @@ -133,4 +132,4 @@
"check-type"
]
}
}
}