Skip to content

Commit

Permalink
Update scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjsr committed Jul 9, 2024
1 parent a5bd269 commit d45c147
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@
},
"type": "module",
"scripts": {
"test": "vitest --run && npm run lint",
"build": "tsc",
"clean": "rimraf dist",
"test": "vitest --run"
"build:dist": "tsc -p tsconfig.publish.json",
"clean": "npx rimraf dist build",
"clean:all": "npx rimraf dist build node_modules",
"lint": "eslint --config eslint.config.mjs src/*.ts",
"lint:fix": "eslint --fix src/*.ts",
"prepack": "npm test && npm run build:dist",
"prepublishOnly": "npm run clean"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit d45c147

Please sign in to comment.