File tree 7 files changed +139
-568
lines changed
7 files changed +139
-568
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 20
20
" javascript"
21
21
],
22
22
"devDependencies" : {
23
- "lerna" : " ^2.5.1"
23
+ "husky" : " 1.0.0-rc.12" ,
24
+ "lerna" : " ^2.5.1" ,
25
+ "prettier" : " 1.13.7" ,
26
+ "pretty-quick" : " 1.6.0"
24
27
},
25
28
"workspaces" : [
26
29
" packages/*"
31
34
"test" : " lerna run test" ,
32
35
"clean" : " lerna clean"
33
36
},
37
+ "husky" : {
38
+ "hooks" : {
39
+ "pre-commit" : " pretty-quick --staged"
40
+ }
41
+ },
34
42
"license" : " MIT"
35
- }
43
+ }
Original file line number Diff line number Diff line change 42
42
"browserify" : " ^14.5.0" ,
43
43
"commitizen" : " ^2.9.6" ,
44
44
"cz-conventional-changelog" : " ^2.1.0" ,
45
- "husky" : " ^0.14.3" ,
46
45
"jest" : " ^21.2.1" ,
47
46
"npm-run-all" : " ^4.1.2" ,
48
- "prettier" : " ^1.12.1" ,
49
- "pretty-quick" : " ^1.6.0" ,
50
47
"rimraf" : " ^2.6.2" ,
51
48
"rollup" : " ^0.51.8" ,
52
49
"ts-jest" : " ^21.2.3" ,
60
57
"path" : " cz-conventional-changelog"
61
58
}
62
59
},
63
- "husky" : {
64
- "hooks" : {
65
- "pre-commit" : " pretty-quick --staged"
66
- }
67
- },
68
60
"jest" : {
69
61
"transform" : {
70
62
".(ts)" : " <rootDir>/../../node_modules/ts-jest/preprocessor.js"
Original file line number Diff line number Diff line change 14
14
"typings" : " ./lib/index.d.ts" ,
15
15
"scripts" : {
16
16
"cm" : " git-cz" ,
17
- "precommit" : " lint-staged" ,
18
17
"lint" : " tslint --fix src/**/*" ,
19
18
"test" : " jest" ,
20
19
"test:watch" : " jest --watch" ,
60
59
"browserify" : " ^14.5.0" ,
61
60
"commitizen" : " ^2.9.6" ,
62
61
"cz-conventional-changelog" : " ^2.1.0" ,
63
- "husky" : " ^0.14.3" ,
64
62
"jest" : " ^21.2.1" ,
65
- "lint-staged" : " ^7.0.0" ,
66
63
"npm-run-all" : " ^4.1.2" ,
67
64
"rimraf" : " ^2.6.2" ,
68
65
"rollup" : " ^0.51.8" ,
69
66
"ts-jest" : " ^21.2.3" ,
70
67
"ts-loader" : " 3.5.0" ,
71
68
"tslint" : " ^5.9.1" ,
69
+ "tslint-config-prettier" : " 1.13.0" ,
72
70
"typescript" : " ^2.8.1" ,
73
71
"uglifyjs" : " ^2.4.11"
74
72
},
77
75
"path" : " cz-conventional-changelog"
78
76
}
79
77
},
80
- "lint-staged" : {
81
- "*.ts" : [
82
- " tslint --fix" ,
83
- " git add"
84
- ]
85
- },
86
78
"jest" : {
87
79
"transform" : {
88
80
".(ts)" : " <rootDir>/../../node_modules/ts-jest/preprocessor.js"
Original file line number Diff line number Diff line change 1
1
{
2
- "defaultSeverity" : " error" ,
3
- "extends" : [
4
- " tslint:recommended"
5
- ],
6
- "jsRules" : {},
7
- "rules" : {
8
- "interface-name" : [
9
- true ,
10
- " never-prefix"
11
- ],
12
- "curly" : false ,
13
- "object-literal-sort-keys" : false ,
14
- "one-variable-per-declaration" : false ,
15
- "ordered-imports" : false ,
16
- "unified-signatures" : false
17
- },
18
- "rulesDirectory" : []
19
- }
2
+ "defaultSeverity" : " error" ,
3
+ "extends" : [" tslint:recommended" , " tslint-config-prettier" ],
4
+ "jsRules" : {},
5
+ "rules" : {
6
+ "interface-name" : [true , " never-prefix" ],
7
+ "curly" : false ,
8
+ "object-literal-sort-keys" : false ,
9
+ "one-variable-per-declaration" : false ,
10
+ "ordered-imports" : false ,
11
+ "unified-signatures" : false ,
12
+ "trailing-comma" : true
13
+ },
14
+ "rulesDirectory" : []
15
+ }
You can’t perform that action at this time.
0 commit comments