|
3 | 3 | "version": "8.3.1", |
4 | 4 | "description": "Load shared commitlint configuration", |
5 | 5 | "main": "lib/index.js", |
| 6 | + "types": "lib/index.d.ts", |
6 | 7 | "files": [ |
7 | 8 | "lib/" |
8 | 9 | ], |
9 | 10 | "scripts": { |
10 | | - "build": "cross-env NODE_ENV=production babel src --out-dir lib --source-maps", |
11 | 11 | "deps": "dep-check", |
12 | | - "pkg": "pkg-check --skip-import", |
13 | | - "start": "concurrently \"ava -c 4 --verbose --watch\" \"yarn run watch\"", |
14 | | - "test": "ava -c 4 --verbose && ava \"src/*.serial-test.js\" --verbose", |
15 | | - "watch": "babel src --out-dir lib --watch --source-maps" |
16 | | - }, |
17 | | - "ava": { |
18 | | - "files": [ |
19 | | - "src/**/*.test.js", |
20 | | - "!lib/**/*" |
21 | | - ], |
22 | | - "source": [ |
23 | | - "src/**/*.js", |
24 | | - "!lib/**/*" |
25 | | - ], |
26 | | - "babel": "inherit", |
27 | | - "require": [ |
28 | | - "babel-register" |
29 | | - ] |
30 | | - }, |
31 | | - "babel": { |
32 | | - "presets": [ |
33 | | - "babel-preset-commitlint" |
34 | | - ] |
| 12 | + "pkg": "pkg-check --skip-import" |
35 | 13 | }, |
36 | 14 | "engines": { |
37 | 15 | "node": ">=4" |
|
58 | 36 | "devDependencies": { |
59 | 37 | "@commitlint/test": "8.2.0", |
60 | 38 | "@commitlint/utils": "^8.3.0", |
61 | | - "ava": "0.22.0", |
62 | | - "babel-cli": "6.26.0", |
63 | | - "babel-preset-commitlint": "^8.2.0", |
64 | | - "babel-register": "6.26.0", |
65 | | - "concurrently": "3.6.1", |
66 | | - "cross-env": "6.0.0", |
67 | | - "execa": "0.11.0", |
68 | | - "globby": "10.0.1" |
| 39 | + "@types/cosmiconfig": "5.0.3", |
| 40 | + "@types/lodash": "4.14.136", |
| 41 | + "@types/resolve-from": "^5.0.1", |
| 42 | + "typescript": "3.5.3" |
69 | 43 | }, |
70 | 44 | "dependencies": { |
| 45 | + "@commitlint/ensure": "^8.3.0", |
71 | 46 | "@commitlint/execute-rule": "^8.3.0", |
72 | 47 | "@commitlint/resolve-extends": "^8.3.0", |
73 | | - "babel-runtime": "^6.23.0", |
| 48 | + "@types/execa": "^2.0.0", |
74 | 49 | "chalk": "2.4.2", |
75 | 50 | "cosmiconfig": "^5.2.0", |
| 51 | + "execa": "^3.2.0", |
76 | 52 | "lodash": "4.17.15", |
77 | 53 | "resolve-from": "^5.0.0" |
78 | 54 | } |
|
0 commit comments