Skip to content

Commit c80448f

Browse files
chore: Update dependencies + use kcd-scripts' husky (testing-library#220)
* Update dependencies + use kcd-scripts' husky * Update package.json
1 parent 57f03e9 commit c80448f

File tree

6 files changed

+24
-26
lines changed

6 files changed

+24
-26
lines changed

Diff for: .gitattributes

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* text=auto
2-
*.js text eol=lf
1+
* text=auto eol=lf

Diff for: .gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
node_modules
22
coverage
33
dist
4-
.opt-in
5-
.opt-out
64
.DS_Store
7-
.eslintcache
8-
*.log
95

106
# these cause more harm than good
117
# when working with contributors

Diff for: .huskyrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('kcd-scripts/husky')

Diff for: .prettierignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
package.json
21
node_modules
3-
dist
42
coverage
3+
dist

Diff for: .travis.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@ node_js:
99
- 12
1010
- node
1111
install: npm install
12-
script: npm run validate
13-
after_success: kcd-scripts travis-after-success
12+
script:
13+
- npm run validate
14+
- npx codecov@3
1415
branches:
1516
only:
1617
- master
18+
- beta
19+
20+
jobs:
21+
include:
22+
- stage: release
23+
node_js: 12
24+
script: kcd-scripts travis-release

Diff for: package.json

+11-16
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,13 @@
99
"yarn": ">=1"
1010
},
1111
"scripts": {
12-
"format": "kcd-scripts format",
1312
"build": "kcd-scripts build",
13+
"format": "kcd-scripts format",
1414
"lint": "kcd-scripts lint",
15+
"setup": "npm install && npm run validate -s",
1516
"test": "kcd-scripts test",
1617
"test:update": "npm test -- --updateSnapshot --coverage",
17-
"validate": "kcd-scripts validate",
18-
"setup": "npm install && npm run validate -s"
19-
},
20-
"husky": {
21-
"hooks": {
22-
"pre-commit": "kcd-scripts pre-commit"
23-
}
18+
"validate": "kcd-scripts validate"
2419
},
2520
"files": [
2621
"dist",
@@ -33,11 +28,11 @@
3328
"jest",
3429
"jsdom"
3530
],
36-
"author": "Ernesto Garcia <[email protected]> (http://gnapse.github.io/)",
31+
"author": "Ernesto Garcia <[email protected]> (http://gnapse.github.io)",
3732
"license": "MIT",
3833
"dependencies": {
39-
"@babel/runtime": "^7.8.3",
40-
"@types/testing-library__jest-dom": "^5.0.0",
34+
"@babel/runtime": "^7.9.2",
35+
"@types/testing-library__jest-dom": "^5.0.2",
4136
"chalk": "^3.0.0",
4237
"css": "^2.2.4",
4338
"css.escape": "^1.5.1",
@@ -47,10 +42,10 @@
4742
"redent": "^3.0.0"
4843
},
4944
"devDependencies": {
50-
"jest-environment-jsdom-sixteen": "^1.0.0",
51-
"jest-watch-select-projects": "^1.0.0",
52-
"jsdom": "^16.0.1",
53-
"kcd-scripts": "^4.1.0",
45+
"jest-environment-jsdom-sixteen": "^1.0.3",
46+
"jest-watch-select-projects": "^2.0.0",
47+
"jsdom": "^16.2.1",
48+
"kcd-scripts": "^5.6.0",
5449
"pretty-format": "^25.1.0"
5550
},
5651
"eslintConfig": {
@@ -66,7 +61,7 @@
6661
],
6762
"repository": {
6863
"type": "git",
69-
"url": "https://github.com/testing-library/jest-dom.git"
64+
"url": "https://github.com/testing-library/jest-dom"
7065
},
7166
"bugs": {
7267
"url": "https://github.com/testing-library/jest-dom/issues"

0 commit comments

Comments
 (0)