|
10 | 10 | ],
|
11 | 11 | "scripts": {
|
12 | 12 | "test": "echo \"Error: no test specified\" && exit 1",
|
13 |
| - "clean": "find . -path './node_modules' -prune -o -name 'dist' -type d -exec rm -rf '{}' \\; -printf '%p deleted\\n' 2>/dev/null", |
14 |
| - "deep-clean": "find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \\;", |
15 | 13 | "build": "turbo run build",
|
16 | 14 | "build:form": "turbo run build --filter=@requestnetwork/create-invoice-form",
|
17 | 15 | "build:dashboard": "turbo run build --filter=@requestnetwork/invoice-dashboard",
|
18 | 16 | "build:stakeholder": "turbo run build --filter=@requestnetwork/add-stakeholder",
|
19 | 17 | "build:payment-widget": "turbo run build --filter=@requestnetwork/payment-widget",
|
20 | 18 | "build:single-invoice": "turbo run build --filter=@requestnetwork/single-invoice",
|
| 19 | + "clean": "npm run clean:dist && npm run clean:sveltekit", |
| 20 | + "clean:dist": "find . -path ./node_modules -prune -o -name 'dist' -type d -exec rm -rf '{}' + -exec echo '{}' deleted \\;", |
| 21 | + "clean:sveltekit": "find . -name '.svelte-kit' -type d -exec rm -rf '{}' + -exec echo '{}' deleted \\;", |
| 22 | + "deep-clean": "npm run clean && npm run deep-clean:turbo && npm run deep-clean:node-modules", |
| 23 | + "deep-clean:turbo": "find . -name '.turbo' -type d -exec rm -rf '{}' + -exec echo '{}' deleted \\;", |
| 24 | + "deep-clean:node-modules": "find . -name 'node_modules' -type d -exec rm -rf '{}' + -exec echo '{}' deleted \\;", |
21 | 25 | "link:react": "npm link $npm_config_app_path/node_modules/react $npm_config_app_path/node_modules/react-dom",
|
22 | 26 | "link:all": "npm run link:react --app-path=$npm_config_app_path && for d in packages/*; do (cd $d && npm link); done",
|
23 | 27 | "unlink:all": "for d in packages/*; do (cd $d && npm unlink); done"
|
|
0 commit comments