update scripts
This commit is contained in:
parent
9d45202b8d
commit
24df67ad33
|
@ -8,7 +8,7 @@
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"typecheck": "tsc",
|
"typecheck": "tsc",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"clean": "rimraf node_modules"
|
"clean": "rimraf node_modules .turbo"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tauri-apps/api": "^1.2.0",
|
"@tauri-apps/api": "^1.2.0",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"start": "expo start --dev-client",
|
"start": "expo start --dev-client",
|
||||||
"lint": "eslint screens",
|
"lint": "eslint screens",
|
||||||
"#typecheck": "tsc",
|
"#typecheck": "tsc",
|
||||||
"clean": "rimraf node_modules"
|
"clean": "rimraf node_modules .turbo"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.18.9",
|
"@babel/runtime": "^7.18.9",
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite build --watch --mode development",
|
"dev": "vite build --watch --mode development",
|
||||||
"generate": "rimraf 12 16 20 reactions && svgr src && yarn fix",
|
"generate": "rimraf 12 16 20 reactions && svgr src --silent && yarn fix",
|
||||||
"prebuild": "yarn generate",
|
"prebuild": "yarn generate",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"postbuild": "yarn typegen",
|
"postbuild": "yarn typegen",
|
||||||
|
@ -45,10 +45,10 @@
|
||||||
"typecheck": "tsc",
|
"typecheck": "tsc",
|
||||||
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
|
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
|
||||||
"lint": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}'",
|
"lint": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}'",
|
||||||
"lint:fix": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}' --fix",
|
"lint:fix": "yarn lint --fix",
|
||||||
"format": "prettier --write '{12,16,20,reactions}/**/*.{ts,tsx}'",
|
"format": "prettier --write '{12,16,20,reactions}/**/*.{ts,tsx}'",
|
||||||
"fix": "yarn lint:fix && yarn format",
|
"fix": "yarn lint:fix && yarn format --loglevel=silent",
|
||||||
"clean": "rimraf dist node_modules .turbo"
|
"clean": "rimraf 12 16 20 dist node_modules .turbo"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": "^16.x || ^17.x || ^18.x",
|
"react": "^16.x || ^17.x || ^18.x",
|
||||||
|
|
Loading…
Reference in New Issue