Skip to content

Commit

Permalink
proper test npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Sep 24, 2023
1 parent 5830a88 commit f4064c9
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 2 deletions.
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,23 @@
"@types/node": "^20.6.4",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"c8": "^8.0.1",
"eslint": "^8.50.0",
"tsm": "^2.3.0",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
},
"scripts": {
"prepare": "pnpm build",
"build": "tsup src/index.ts --format esm --dts"
"build": "tsup src/index.ts --format esm --dts",
"test": "uvu -r tsm test",
"test:coverage": "c8 --include=src pnpm test",
"test:report": "c8 report --reporter=text-lcov > coverage.lcov"
},
"dependencies": {
"uvu": "^0.5.6"
},
"publishConfig": {
"access": "public"
}
}
172 changes: 172 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit f4064c9

Please sign in to comment.