Skip to content

Commit

Permalink
chore: #594 - Improve npm test
Browse files Browse the repository at this point in the history
  • Loading branch information
cancerberoSgx authored and dsherret committed Mar 31, 2019
1 parent 2566d53 commit 993ee6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
/.nyc_output
/npm-debug.log
/yarn-error.log
package-lock.json
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
"lint-src-and-fix": "tslint \"src/**/*.ts\" --fix",
"build": "rimraf dist && npx ttsc && ts-node --transpileOnly scripts/build/removeEmptyFiles",
"build-declarations": "rimraf dist-declarations && ts-node --max-old-space-size=8192 --transpileOnly scripts/generation/main create-code-block-writer-file create-declaration-file",
"test": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" mocha --opts mocha.opts --grep @performance --invert",
"test-debug": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" mocha --opts mocha.opts --grep @performance --invert --inspect-brk",
"test": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" mocha --opts mocha.opts --grep \"^(?!.*@performance)\"",
"test-debug": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" mocha --opts mocha.opts --grep \"^(?!.*@performance)\" --inspect-brk",
"test-watch": "npm test -- --watch-extensions ts --watch",
"test-ts-versions": "ts-node --transpileOnly scripts/test/testTypeScriptVersions",
"test-coverage": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" nyc --reporter=lcov mocha --opts mocha.opts --grep @performance --invert",
"test-coverage": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" nyc --reporter=lcov mocha --opts mocha.opts --grep \"^(?!.*performance)\"",
"test-performance": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" mocha --opts mocha.opts --grep @performance --reporter spec",
"type-check-library": "ts-node --transpileOnly scripts/typeCheckLibrary",
"code-generate": "ts-node --transpileOnly --compiler ttypescript scripts/generation/main",
Expand Down Expand Up @@ -105,8 +106,8 @@
"ts-nameof": "^3.0.3",
"ts-node": "7.0.0",
"tslint": "^5.11.0",
"typescript": "3.4.1",
"ttypescript": "1.5.5",
"typescript": "3.4.1",
"typescript-3.0.1": "npm:typescript@3.0.1",
"typescript-3.0.3": "npm:typescript@3.0.3",
"typescript-3.1.6": "npm:typescript@3.1.6",
Expand Down

0 comments on commit 993ee6e

Please sign in to comment.