|
36 | 36 | "clean": "shx rm -rf dist/",
|
37 | 37 | "lint": "npm run lint:debug -- --config tslint.prod.json",
|
38 | 38 | "lint:debug": "tslint --project tsconfig.json --format stylish",
|
39 |
| - "prepublishOnly": "npm run lint && npm run build", |
40 |
| - "test": "npm run lint && npm run ts && wct --config-file wct.config.json", |
| 39 | + "prepublishOnly": "npm run clean && npm run lint && npm run build", |
| 40 | + "test": "npm run clean && npm run lint && npm run ts && wct --config-file wct.config.json", |
41 | 41 | "test:ci": "wct --config-file wct.config.ci.json",
|
42 | 42 | "test:sl": "wct --config-file wct.config.sl.json",
|
43 |
| - "ts": "npm run clean && tsc", |
| 43 | + "ts": "tsc", |
| 44 | + "upgrade": "npm outdated --dev && npm update --dev && npm audit fix", |
44 | 45 | "watch": "npm run ts -- --watch"
|
45 | 46 | },
|
| 47 | + "husky": { |
| 48 | + "hooks": { |
| 49 | + "pre-commit": "npm run lint && npm run ts -- --noEmit && npm run clean" |
| 50 | + } |
| 51 | + }, |
46 | 52 | "dependencies": {
|
47 | 53 | "lit-element": "^2.2.1",
|
48 | 54 | "lit-html": "^1.1.2",
|
49 | 55 | "tslib": "^1.10.0"
|
50 | 56 | },
|
51 | 57 | "devDependencies": {
|
52 |
| - "@reallyland/tsconfig": "^1.0.0", |
| 58 | + "@reallyland/tsconfig": "^1.0.1", |
53 | 59 | "@reallyland/tslint-config": "^1.1.1",
|
54 |
| - "@types/chai": "^4.2.1", |
| 60 | + "@types/chai": "^4.2.5", |
55 | 61 | "@types/mocha": "^5.2.7",
|
56 | 62 | "chai": "^4.2.0",
|
57 |
| - "mocha": "^6.2.0", |
| 63 | + "husky": "^3.0.9", |
| 64 | + "mocha": "^6.2.2", |
58 | 65 | "shx": "^0.3.2",
|
59 |
| - "tslint": "^5.19.0", |
60 |
| - "typescript": "^3.6.2", |
| 66 | + "tslint": "^5.20.1", |
| 67 | + "typescript": "^3.7.2", |
61 | 68 | "wct-mocha": "^1.0.1"
|
62 | 69 | },
|
63 | 70 | "engines": {
|
|
0 commit comments