Skip to content

Commit

Permalink
chore: remove uneccessary file and update buildscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
junners committed Feb 1, 2025
1 parent 25f1653 commit a2492bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
node-version: 22.x
- name: Install dependencies
run: npm ci
- name: Run test build
run: npm run build
- name: Run test UMD compile
run: npm run vite:dist
- name: Run unit tests
run: npm run test
1 change: 0 additions & 1 deletion index.html

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
"scripts": {
"test": "jest",
"test:cov": "jest --coverage",
"build": "tsc -p tsconfig.cjs.json",
"tsc:cp:files": "cp ./readme.md ./package*.json ./out/ && cp -R ./media ./out/",
"build": "npm run swc:build",
"prepare": "husky",
"precommit": "lint-staged",
"lint": "eslint {src,tests}",
"tsc:build": "tsc -p tsconfig.cjs.json",
"tsc:cp:files": "cp ./readme.md ./package*.json ./out/ && cp -R ./media ./out/",
"tsc:postversion": "cp package.json .. && cp package-lock.json ..",
"swc:build": "swc src --out-dir out",
"swc:build:link": "npm run swc:build && npm run swc:cp:types && npm run swc:cp:files && npm link ./out/src",
Expand Down

0 comments on commit a2492bc

Please sign in to comment.