refactor(ci): rename npm script from pack to package and update workflow

This commit is contained in:
Naoki Oketani
2025-05-05 10:37:01 +00:00
parent 05194fb0ff
commit 7b3bcfed2f
3 changed files with 8 additions and 12 deletions

View File

@@ -15,10 +15,10 @@
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts",
"lint": "eslint src/**/*.ts",
"pack": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"package": "npx rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"test": "vitest --run",
"test:coverage": "vitest --run --coverage",
"all": "npm run format && npm run lint && npm run test:coverage && npm run pack"
"all": "npm run format && npm run lint && npm run test:coverage && npm run package"
},
"repository": {
"type": "git",
@@ -58,4 +58,4 @@
"vite": "^6.3.4",
"vitest": "^3.1.2"
}
}
}