Skip to content

Commit

Permalink
Cleanup package.json scripts ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldev5 authored and dudo50 committed Nov 19, 2023
1 parent 59ee834 commit f14d918
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
- run: pnpm compile
- run: pnpm format:check
- run: pnpm lint:check
- run: pnpm vitest --coverage
- run: pnpm test
- run: pnpm build
- uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- run: pnpm compile
- run: pnpm format:check
- run: pnpm lint:check
- run: pnpm vitest
- run: pnpm test
- run: pnpm build
- run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
env:
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,16 @@
"dist"
],
"scripts": {
"compile": "tsc --noEmit",
"build": "rollup -c",
"dev": "vitest dev",
"lint:check": "eslint src/**/*.ts",
"lint": "eslint --fix src/**/*.ts",
"format:check": "prettier --check src/**/*.ts",
"format:write": "prettier --write src/**/*.ts",
"test": "vitest",
"updateAssets": "node --loader ts-node/esm --experimental-specifier-resolution=node ./src/scripts/updateAssets.ts",
"updatePallets": "node --loader ts-node/esm --experimental-specifier-resolution=node ./src/scripts/updatePallets.ts",
"release": "pnpm runAll && pnpm build && standard-version && git push --follow-tags",
"test": "vitest run --coverage",
"test:watch": "vitest",
"compile": "tsc --noEmit",
"runAll": "pnpm compile && pnpm format:write && pnpm lint && pnpm test"
},
"pnpm": {
Expand Down

0 comments on commit f14d918

Please sign in to comment.