Add clean script to apps and examples (#869)

This commit is contained in:
Gwenaël Gallon 2022-08-02 15:57:00 +02:00 committed by GitHub
parent e0e1373468
commit 2567cedcd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 8 deletions

View file

@ -16,7 +16,8 @@
"build:apps": "yarn build:electron",
"build:electron": "electron-esbuild build",
"package": "electron-builder",
"lint": "eslint src/ --ext .ts,.tsx"
"lint": "eslint src/ --ext .ts,.tsx",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"devDependencies": {
"@tldraw/tldraw": "^1.16.0",

View file

@ -14,7 +14,8 @@
"build:extension": "yarn build",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src/ --ext .ts,.tsx"
"lint": "eslint src/ --ext .ts,.tsx",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@tldraw/tldraw": "*",

View file

@ -14,7 +14,8 @@
"start:vscode": "node scripts/dev.mjs -w",
"build": "node scripts/build.mjs",
"build:apps": "yarn build",
"lint": "eslint src/ --ext .ts,.tsx"
"lint": "eslint src/ --ext .ts,.tsx",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"devDependencies": {
"@tldraw/tldraw": "*",

View file

@ -118,7 +118,8 @@
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
"package": "cd ../editor && yarn build && cd ../extension && node scripts/build && node scripts/package",
"publish": "yarn package && vsce publish",
"lint": "eslint src/ --ext ts"
"lint": "eslint src/ --ext ts",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf editor && rm -rf temp"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.10.2",

View file

@ -15,7 +15,8 @@
"build:www": "yarn build",
"build": "next build",
"serve": "next serve",
"lint": "next lint"
"lint": "next lint",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@liveblocks/client": "^0.17.0-beta2",

View file

@ -13,7 +13,8 @@
"build:core": "yarn build",
"start:core": "node scripts/dev.mjs -w",
"build": "node scripts/build.mjs",
"lint": "eslint src/ --ext .ts,.tsx"
"lint": "eslint src/ --ext .ts,.tsx",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"files": [],
"devDependencies": {

View file

@ -12,7 +12,8 @@
"scripts": {
"start:core": "node scripts/dev.mjs -w",
"build": "node scripts/build.mjs",
"lint": "eslint src/ --ext .ts,.tsx"
"lint": "eslint src/ --ext .ts,.tsx",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"files": [],
"devDependencies": {

View file

@ -13,7 +13,8 @@
"scripts": {
"start": "node scripts/dev.mjs -w",
"build": "node scripts/build.mjs",
"lint": "eslint src/ --ext .ts,.tsx"
"lint": "eslint src/ --ext .ts,.tsx",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"devDependencies": {
"@liveblocks/client": "^0.17.0-beta2",