Skip to content

Commit 900d20e

Browse files
authored
Unify the clean script
1 parent 262bef9 commit 900d20e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

package.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@
1414
"test:frontend": "cd frontend && npm run test",
1515
"test:frontend:coverage": "cd frontend && npm run test:coverage",
1616
"prepare": "husky install",
17-
"clean:backend": "rm -rf backend/venv backend/src/__pycache__ backend/src/*.pyc",
18-
"clean:frontend": "rm -rf */node_modules */package-lock.json build *.tsbuildinfo",
19-
"clean:db": "rm -rf db/node_modules db/package-lock.json",
20-
"clean:root": "rm -rf node_modules package-lock.json",
21-
"clean": "npm run clean:backend && npm run clean:frontend && npm run clean:db && npm run clean:root"
17+
"clean": "node clean.js"
2218
},
2319
"dependencies": {
2420
"concurrently": "^6.5.1",

0 commit comments

Comments
 (0)