Skip to content

Commit

Permalink
chore: improve dx (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Sep 22, 2020
1 parent b39a596 commit ada9f90
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 409 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,4 @@ node_js:
- "12"
- "14"

script: yarn ci

after_success:
- cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose
- cat ./coverage/coverage.json | node_modules/codecov.io/bin/codecov.io.js
- rm -rf ./coverage
script: yarn test && coveralls < coverage/lcov.info
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
"prettier": "prettier -l --ignore-path .gitignore . \"!test/test-cases\"",
"eslint": "eslint --ignore-path .gitignore .",
"lint": "yarn eslint && yarn prettier",
"pretest": "yarn lint",
"test": "jest --coverage",
"test:only": "jest",
"autotest": "jest --coverage --watch",
"cover": "jest --coverage",
"ci": "yarn pretest && yarn cover",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --collectCoverageFrom=\"src/**/*\"",
"pretest": "yarn lint",
"test": "yarn test:coverage",
"prepublishOnly": "yarn test"
},
"repository": {
Expand All @@ -38,11 +37,12 @@
},
"homepage": "https://github.com/css-modules/icss-utils#readme",
"devDependencies": {
"coveralls": "^3.1.0",
"eslint": "^7.9.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"lint-staged": "^10.4.0",
"postcss": "^8.0.6",
"postcss": "^8.0.7",
"prettier": "^2.1.2"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit ada9f90

Please sign in to comment.