Skip to content

Commit

Permalink
#0trivial: Use rimraf replace rm -rf.
Browse files Browse the repository at this point in the history
  • Loading branch information
btea committed Mar 4, 2024
1 parent 6cbcc10 commit ba307e6
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 1 deletion.
65 changes: 65 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/happy-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"access": "public"
},
"scripts": {
"compile": "tsc && rm -rf ./cjs && tsc --moduleResolution Node --module CommonJS --outDir cjs && npm run change-cjs-file-extension && npm run build-version-file",
"compile": "tsc && rimraf ./cjs && tsc --moduleResolution Node --module CommonJS --outDir cjs && npm run change-cjs-file-extension && npm run build-version-file",
"change-cjs-file-extension": "node ./bin/change-file-extension.cjs --dir=./cjs --fromExt=.js --toExt=.cjs",
"build-version-file": "node ./bin/build-version-file.cjs",
"watch": "tsc -w --preserveWatchOutput",
Expand All @@ -84,6 +84,7 @@
"@vitest/ui": "^0.33.0",
"@webref/css": "6.6.2",
"prettier": "^2.6.0",
"rimraf": "^5.0.5",
"typescript": "^5.0.4",
"vitest": "^0.32.4"
},
Expand Down

0 comments on commit ba307e6

Please sign in to comment.