File tree Expand file tree Collapse file tree 3 files changed +19
-10
lines changed Expand file tree Collapse file tree 3 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 8.3.5" ,
4
4
"description" : " Lint a string against commitlint rules" ,
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" : " yarn run watch" ,
14
- "watch" : " babel src --out-dir lib --watch --source-maps"
15
- },
16
- "babel" : {
17
- "presets" : [
18
- " babel-preset-commitlint"
19
- ]
12
+ "pkg" : " pkg-check --skip-import"
20
13
},
21
14
"engines" : {
22
15
"node" : " >=4"
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : " ../../tsconfig.shared.json" ,
3
+ "compilerOptions" : {
4
+ "composite" : true ,
5
+ "rootDir" : " ./src" ,
6
+ "outDir" : " ./lib"
7
+ },
8
+ "include" : [
9
+ " ./src"
10
+ ],
11
+ "exclude" : [
12
+ " ./src/**/*.test.ts" ,
13
+ " ./lib/**/*"
14
+ ]
15
+ }
Original file line number Diff line number Diff line change 14
14
{ "path" : " @commitlint/resolve-extends" },
15
15
{ "path" : " @commitlint/to-lines" },
16
16
{ "path" : " @commitlint/top-level" },
17
- { "path" : " @commitlint/rules" }
17
+ { "path" : " @commitlint/rules" },
18
+ { "path" : " @commitlint/lint" }
18
19
]
19
20
}
You can’t perform that action at this time.
0 commit comments