Skip to content

Commit

Permalink
🎢 Use ts for rollup config
Browse files Browse the repository at this point in the history
Also adds an eslintignore file,
because the patterns flag was not working
  • Loading branch information
himynameisdave committed Mar 18, 2020
1 parent 8ab9b27 commit c88de14
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rollup.config.ts
**/__tests__/**/*
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"browser": "lib/index.umd.js",
"unpkg": "lib/index.umd.js",
"scripts": {
"build": "rollup -c",
"lint": "eslint ./src/ --ext .ts --ignore-pattern **/__tests__/**/* --report-unused-disable-directives",
"lint:fix": "eslint ./src/ --ext .ts --ignore-pattern **/__tests__/**/* --fix",
"build": "rollup -c rollup.config.ts",
"lint": "eslint ./src/ --ext .ts --report-unused-disable-directives",
"lint:fix": "eslint ./src/ --ext .ts --fix",
"test:js": "jest --coverage",
"test:coverage": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"viewCoverage": "npm run test:js && open ./coverage/lcov-report/index.html -a Google\\ Chrome",
Expand Down Expand Up @@ -62,7 +62,7 @@
}
},
"lint-staged": {
"*.ts": "eslint ./src/ --ext .ts --ignore-pattern **/__tests__/**/* --fix --quiet"
"*.ts": "eslint ./src/ --ext .ts --fix --quiet"
},
"engines": {
"node": ">= 10"
Expand Down
File renamed without changes.

0 comments on commit c88de14

Please sign in to comment.