Skip to content

Commit

Permalink
Move from Jest to uvu (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
usmanyunusov committed Mar 31, 2022
1 parent ee1e160 commit b43f8de
Show file tree
Hide file tree
Showing 9 changed files with 505 additions and 2,132 deletions.
9 changes: 0 additions & 9 deletions jest.config.js

This file was deleted.

19 changes: 14 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"node": ">= 10"
},
"scripts": {
"lint": "standard --env jest",
"test": "npm run lint && jest --verbose --coverage",
"unit": "jest --verbose",
"lint": "standard",
"test": "pnpm lint && c8 pnpm unit",
"unit": "tsm node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
"docs": "jsdoc2md src/*.js > DOCS.md",
"clean": "npx rimraf ./coverage",
"release": "standard-version"
Expand All @@ -29,17 +29,19 @@
"devDependencies": {
"@types/node": "^17.0.23",
"@types/postcss-import": "^14.0.0",
"c8": "^7.11.0",
"clean-publish": "^4.0.0",
"cssnano": "^5.1.5",
"jest": "^27.5.1",
"jsdoc-to-markdown": "^7.1.1",
"postcss": "^8.4.12",
"postcss-import": "^14.1.0",
"postcss-nested": "^5.0.6",
"standard": "^16.0.4",
"sugarss": "^4.0.1",
"ts-node": "^10.7.0",
"typescript": "4.6.3"
"tsm": "^2.2.1",
"typescript": "4.6.3",
"uvu": "^0.5.3"
},
"peerDependencies": {
"postcss": ">=8.0.9",
Expand All @@ -53,6 +55,13 @@
"optional": true
}
},
"c8": {
"exclude": [
"**/*.test.*"
],
"lines": 97.64,
"check-coverage": true
},
"keywords": [
"postcss",
"postcssrc",
Expand Down

0 comments on commit b43f8de

Please sign in to comment.