Skip to content

Commit

Permalink
chore: Update dependencies + use kcd-scripts' husky (#220)
Browse files Browse the repository at this point in the history
* Update dependencies + use kcd-scripts' husky

* Update package.json
  • Loading branch information
MichaelDeBoey committed Mar 23, 2020
1 parent 57f03e9 commit c80448f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 26 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
@@ -1,2 +1 @@
* text=auto
*.js text eol=lf
* text=auto eol=lf
4 changes: 0 additions & 4 deletions .gitignore
@@ -1,11 +1,7 @@
node_modules
coverage
dist
.opt-in
.opt-out
.DS_Store
.eslintcache
*.log

# these cause more harm than good
# when working with contributors
Expand Down
1 change: 1 addition & 0 deletions .huskyrc.js
@@ -0,0 +1 @@
module.exports = require('kcd-scripts/husky')
3 changes: 1 addition & 2 deletions .prettierignore
@@ -1,4 +1,3 @@
package.json
node_modules
dist
coverage
dist
12 changes: 10 additions & 2 deletions .travis.yml
Expand Up @@ -9,8 +9,16 @@ node_js:
- 12
- node
install: npm install
script: npm run validate
after_success: kcd-scripts travis-after-success
script:
- npm run validate
- npx codecov@3
branches:
only:
- master
- beta

jobs:
include:
- stage: release
node_js: 12
script: kcd-scripts travis-release
27 changes: 11 additions & 16 deletions package.json
Expand Up @@ -9,18 +9,13 @@
"yarn": ">=1"
},
"scripts": {
"format": "kcd-scripts format",
"build": "kcd-scripts build",
"format": "kcd-scripts format",
"lint": "kcd-scripts lint",
"setup": "npm install && npm run validate -s",
"test": "kcd-scripts test",
"test:update": "npm test -- --updateSnapshot --coverage",
"validate": "kcd-scripts validate",
"setup": "npm install && npm run validate -s"
},
"husky": {
"hooks": {
"pre-commit": "kcd-scripts pre-commit"
}
"validate": "kcd-scripts validate"
},
"files": [
"dist",
Expand All @@ -33,11 +28,11 @@
"jest",
"jsdom"
],
"author": "Ernesto Garcia <gnapse@gmail.com> (http://gnapse.github.io/)",
"author": "Ernesto Garcia <gnapse@gmail.com> (http://gnapse.github.io)",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.8.3",
"@types/testing-library__jest-dom": "^5.0.0",
"@babel/runtime": "^7.9.2",
"@types/testing-library__jest-dom": "^5.0.2",
"chalk": "^3.0.0",
"css": "^2.2.4",
"css.escape": "^1.5.1",
Expand All @@ -47,10 +42,10 @@
"redent": "^3.0.0"
},
"devDependencies": {
"jest-environment-jsdom-sixteen": "^1.0.0",
"jest-watch-select-projects": "^1.0.0",
"jsdom": "^16.0.1",
"kcd-scripts": "^4.1.0",
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-watch-select-projects": "^2.0.0",
"jsdom": "^16.2.1",
"kcd-scripts": "^5.6.0",
"pretty-format": "^25.1.0"
},
"eslintConfig": {
Expand All @@ -66,7 +61,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/testing-library/jest-dom.git"
"url": "https://github.com/testing-library/jest-dom"
},
"bugs": {
"url": "https://github.com/testing-library/jest-dom/issues"
Expand Down

0 comments on commit c80448f

Please sign in to comment.