|
14 | 14 | "scripts": { |
15 | 15 | "build": "tsc -p tsconfig.json && npm run build-lualib", |
16 | 16 | "build-lualib": "ts-node ./build_lualib.ts", |
17 | | - "test": "npm run style-check && tslint -c ./tslint.json src/lualib/*.ts && npm run build-lualib && ts-node ./test/runner.ts", |
18 | | - "coverage": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov", |
19 | | - "coverage-html": "nyc npm test && nyc report --reporter=html", |
20 | | - "test-threaded": "style-check && npm run build && ts-node ./test/threaded_runner.ts", |
| 17 | + "test": "npm run style-check && npm run build-lualib && tsc -p ./test/tsconfig.json && node ./test/runner.js", |
| 18 | + "coverage": "nyc --source-map=true npm test && nyc report --reporter=text-lcov > coverage.lcov", |
| 19 | + "coverage-html": "nyc --source-map=true npm test && nyc report --reporter=html", |
| 20 | + "test-threaded": "npm run style-check && npm run build && node ./test/threaded_runner.js", |
21 | 21 | "release-patch": "npm version patch", |
22 | 22 | "release-minor": "npm version minor", |
23 | 23 | "release-major": "npm version major", |
24 | 24 | "preversion": "npm run build && npm test", |
25 | 25 | "postversion": "git push && git push --tags", |
26 | | - "style-check": "tslint -p .", |
| 26 | + "style-check": "tslint -p . && tslint -c ./tslint.json src/lualib/*.ts", |
27 | 27 | "style-fix": "gts fix && tslint -p . --fix" |
28 | 28 | }, |
29 | 29 | "bin": { |
|
0 commit comments