|
35 | 35 | "coverage:ci": "nyc report --reporter=text-lcov | coveralls", |
36 | 36 | "precoverage": "npm test", |
37 | 37 | "coverage": "open coverage/index.html", |
38 | | - "lint": "tslint -c tslint.full.json --project tsconfig.json --type-check", |
39 | | - "lint:fix": "npm run lint -- --fix", |
40 | | - "prettier:cli": "prettier **/*.ts", |
| 38 | + "lint": "npm run prettier:check && npm run tslint", |
| 39 | + "lint:fix": "npm run prettier:fix && npm run tslint:fix", |
| 40 | + "tslint": "tslint -c tslint.full.json --project tsconfig.json --type-check", |
| 41 | + "tslint:fix": "npm run lint -- --fix", |
| 42 | + "prettier:cli": "prettier \"**/*.ts\"", |
41 | 43 | "prettier:check": "npm run prettier:cli -- -l", |
42 | 44 | "prettier:fix": "npm run prettier:cli -- --write", |
43 | 45 | "clean": "lerna run --loglevel=silent clean", |
|
46 | 48 | "pretest": "npm run build:current", |
47 | 49 | "test": "nyc npm run mocha", |
48 | 50 | "mocha": "mocha --opts test/mocha.opts \"packages/*/test/**/*.ts\"", |
49 | | - "posttest": "npm run lint && npm run prettier:check" |
| 51 | + "posttest": "npm run lint" |
50 | 52 | }, |
51 | 53 | "nyc": { |
52 | 54 | "include": [ |
|
0 commit comments