mirror of
https://github.com/actions/hello-world-javascript-action.git
synced 2025-12-14 05:43:35 +00:00
Fix package script to clean dist directory before bundling
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
"format:write": "npx prettier --write .",
|
"format:write": "npx prettier --write .",
|
||||||
"format:check": "npx prettier --check .",
|
"format:check": "npx prettier --check .",
|
||||||
"lint": "npx eslint .",
|
"lint": "npx eslint .",
|
||||||
"package": "npx rollup --config rollup.config.js",
|
"package": "npx rimraf ./dist && npx rollup --config rollup.config.js",
|
||||||
"package:watch": "npm run package -- --watch",
|
"package:watch": "npm run package -- --watch",
|
||||||
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
|
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
|
||||||
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
|
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
|
||||||
|
|||||||
Reference in New Issue
Block a user