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:apps": "yarn build:electron",
"build:electron": "electron-esbuild build", "build:electron": "electron-esbuild build",
"package": "electron-builder", "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": { "devDependencies": {
"@tldraw/tldraw": "^1.16.0", "@tldraw/tldraw": "^1.16.0",

View file

@ -14,7 +14,8 @@
"build:extension": "yarn build", "build:extension": "yarn build",
"build": "tsc && vite build", "build": "tsc && vite build",
"preview": "vite preview", "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": { "dependencies": {
"@tldraw/tldraw": "*", "@tldraw/tldraw": "*",

View file

@ -14,7 +14,8 @@
"start:vscode": "node scripts/dev.mjs -w", "start:vscode": "node scripts/dev.mjs -w",
"build": "node scripts/build.mjs", "build": "node scripts/build.mjs",
"build:apps": "yarn build", "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": { "devDependencies": {
"@tldraw/tldraw": "*", "@tldraw/tldraw": "*",

View file

@ -118,7 +118,8 @@
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.", "web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
"package": "cd ../editor && yarn build && cd ../extension && node scripts/build && node scripts/package", "package": "cd ../editor && yarn build && cd ../extension && node scripts/build && node scripts/package",
"publish": "yarn package && vsce publish", "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": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.10.2", "@typescript-eslint/eslint-plugin": "^5.10.2",

View file

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

View file

@ -13,7 +13,8 @@
"build:core": "yarn build", "build:core": "yarn build",
"start:core": "node scripts/dev.mjs -w", "start:core": "node scripts/dev.mjs -w",
"build": "node scripts/build.mjs", "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": [], "files": [],
"devDependencies": { "devDependencies": {

View file

@ -12,7 +12,8 @@
"scripts": { "scripts": {
"start:core": "node scripts/dev.mjs -w", "start:core": "node scripts/dev.mjs -w",
"build": "node scripts/build.mjs", "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": [], "files": [],
"devDependencies": { "devDependencies": {

View file

@ -13,7 +13,8 @@
"scripts": { "scripts": {
"start": "node scripts/dev.mjs -w", "start": "node scripts/dev.mjs -w",
"build": "node scripts/build.mjs", "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": { "devDependencies": {
"@liveblocks/client": "^0.17.0-beta2", "@liveblocks/client": "^0.17.0-beta2",