chore: improve clean script
This commit is contained in:
parent
3008c6bebf
commit
66ff7934b2
8 changed files with 12 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
||||||
"cp": "cp -a ../../packages/blog-content/dist/public/. ./public",
|
"cp": "cp -a ../../packages/blog-content/dist/public/. ./public",
|
||||||
"dev": "pnpm cp && react-scripts start",
|
"dev": "pnpm cp && react-scripts start",
|
||||||
"build": "pnpm cp && react-scripts build",
|
"build": "pnpm cp && react-scripts build",
|
||||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf build"
|
"clean": "rm -rf .turbo build node_modules"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@developomp-site/blog-content": "workspace:*",
|
"@developomp-site/blog-content": "workspace:*",
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite dev",
|
"dev": "vite dev",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
"clean": "rm -rf .svelte-kit .turbo build node_modules",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
"clean": "rm -rf .turbo node_modules dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/noto-sans-kr": "^5.0.3",
|
"@fontsource/noto-sans-kr": "^5.0.3",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "ts-node -O '{\"module\":\"commonjs\"}' --files ./src",
|
"build": "ts-node -O '{\"module\":\"commonjs\"}' --files ./src",
|
||||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
"clean": "rm -rf .turbo node_modules dist"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@developomp-site/tsconfig": "workspace:*",
|
"@developomp-site/tsconfig": "workspace:*",
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
"name": "@developomp-site/eslint-config",
|
"name": "@developomp-site/eslint-config",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"clean": "rm -rf node_modules"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@typescript-eslint/eslint-plugin": "^5.46.0",
|
"@typescript-eslint/eslint-plugin": "^5.46.0",
|
||||||
"@typescript-eslint/parser": "^5.46.0",
|
"@typescript-eslint/parser": "^5.46.0",
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"clean": "rm -rf node_modules"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"tailwindcss": "^3.2.4"
|
"tailwindcss": "^3.2.4"
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "nodemon --ignore dist/ --exec pnpm build",
|
"dev": "nodemon --ignore dist/ --exec pnpm build",
|
||||||
"build": "npx ts-node ./build.ts",
|
"build": "npx ts-node ./build.ts",
|
||||||
"clean": "rm -rf dist && rm -rf node_modules"
|
"clean": "rm -rf .turbo node_modules dist"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/merge-deep": "^3.0.0",
|
"@types/merge-deep": "^3.0.0",
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"build": "tsup src/index.tsx --format esm,cjs --dts --external react",
|
"build": "tsup src/index.tsx --format esm,cjs --dts --external react",
|
||||||
"dev": "tsup src/index.tsx --format esm,cjs --watch --dts --external react",
|
"dev": "tsup src/index.tsx --format esm,cjs --watch --dts --external react",
|
||||||
"lint": "TIMING=1 eslint \"src/**/*.ts*\"",
|
"lint": "TIMING=1 eslint \"src/**/*.ts*\"",
|
||||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
"clean": "rm -rf .turbo node_modules dist"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@developomp-site/eslint-config": "workspace:*",
|
"@developomp-site/eslint-config": "workspace:*",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue