Skip to content

Commit

Permalink
Revisit npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
andy128k committed Jul 26, 2023
1 parent 18f9ea5 commit 8f0d687
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:

- run: npm run build

- run: npm test
- run: npm run test-all
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@
"pretest": "npm run lint && npm run fmt-check",
"test-import": "node ./test-packages/test-mjs/index.js",
"test-require": "node ./test-packages/test-cjs/index.js",
"test-only": "npm run build && jest",
"test": "npm run test-only",
"test": "jest",
"test-all": "npm test && npm run test-import && npm run test-require",
"clean": "rimraf dist/",
"prebuild": "npm run clean",
"build": "unbuild",
"prepare": "npm run pretest && npm run build && npm run test-import && npm run test-require"
"prepublishOnly": "npm run build && npm run test-all"
},
"keywords": [
"favicon",
Expand Down

0 comments on commit 8f0d687

Please sign in to comment.