Skip to content

Commit

Permalink
Fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Mar 22, 2019
1 parent 1298a39 commit 913eb66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
"build": "node rollup.build.js && bundlesize",
"test": "jest --coverage",
"test:browser": "parcel test/browser/index.html -d .devserver --open",
"lint": "eslint \"src/**/*.ts\"",
"format": "prettier --write \"{src,test}/**/*{js,ts,scss}\"",
"check-types": "tsc",
"release": "npm test && npm run build && git add . && git commit -am $npm_package_version && git tag v$npm_package_version && git push origin master && git push --tags && npm publish"
"check-types": "tsc"
},
"jest": {
"setupFiles": [
Expand All @@ -60,12 +57,13 @@
}
},
"lint-staged": {
"{src,test}/**/*.{js,json,scss,md}": [
"prettier --write",
"src/**/*.ts": [
"jest --findRelatedTests",
"eslint",
"git add"
],
"src/**/*.js": [
"eslint --fix",
"{build,src,test,website/src}/**/*.{ts,js,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
Expand Down

0 comments on commit 913eb66

Please sign in to comment.