Skip to content

Commit c659c7d

Browse files
committed
add clean scripts
1 parent 6ed2092 commit c659c7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
"test:e2e": "cypress open",
1414
"test:e2e:headless": "cypress run",
1515
"ci:e2e": "yarn dev & wait-on http://localhost:5173 && cypress run; kill $(lsof -t -i:8080); yarn couchdb:stop",
16-
"build": "yarn workspace @vue-skuilder/common build && yarn workspace @vue-skuilder/db build && yarn workspace @vue-skuilder/common-ui build && yarn workspace @vue-skuilder/courses build && yarn workspace @vue-skuilder/platform-ui build && yarn workspace @vue-skuilder/express build"
16+
"build": "yarn workspace @vue-skuilder/common build && yarn workspace @vue-skuilder/db build && yarn workspace @vue-skuilder/common-ui build && yarn workspace @vue-skuilder/courses build && yarn workspace @vue-skuilder/platform-ui build && yarn workspace @vue-skuilder/express build",
17+
"clean": "yarn clean:dist && yarn clean:node_modules",
18+
"clean:dist": "find packages -name 'dist' -type d -exec rm -rf {} +",
19+
"clean:node_modules": "find . -name 'node_modules' -type d -exec rm -rf {} +",
20+
"clean:all": "yarn clean && rm -rf .pnp.* .yarn/cache .yarn/install-state.gz"
1721
},
1822
"private": true,
1923
"workspaces": [

0 commit comments

Comments
 (0)