Skip to content

Commit

Permalink
chore: update build:clean script
Browse files Browse the repository at this point in the history
  • Loading branch information
ythepaut committed Apr 28, 2024
1 parent ed55798 commit 03114a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Occult Crypto Library",
"scripts": {
"build": "npm run build:clean; tsc -p tsconfig.json",
"build:clean": "rm *.{js,d.ts,js.map,d.ts.map} 2> /dev/null",
"build:clean": "find . \\( -name '*.js' -o -name '*.d.ts' -o -name '*.js.map' -o -name '*.d.ts.map' \\) ! -path './node_modules/*' ! -path './build/exports.js' -exec rm {} + && find . -type d -empty -delete",
"lint": "prettier --check 'src/**/*.{js,ts}' 'tests/**/*.{js,ts}'",
"format": "prettier --write 'src/**/*.{js,ts}' 'tests/**/*.{js,ts}'",
"test": "jest --coverage",
Expand Down

0 comments on commit 03114a0

Please sign in to comment.