update scripts

This commit is contained in:
Pavel Prichodko 2023-03-13 22:52:54 +01:00
parent 1c4f66cc53
commit 10ddbfb692
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
3 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@
"build": "vite build",
"typecheck": "tsc",
"preview": "vite preview",
"clean": "rimraf node_modules"
"clean": "rimraf node_modules .turbo"
},
"dependencies": {
"@tauri-apps/api": "^1.2.0",

View File

@ -10,7 +10,7 @@
"start": "expo start --dev-client",
"lint": "eslint screens",
"#typecheck": "tsc",
"clean": "rimraf node_modules"
"clean": "rimraf node_modules .turbo"
},
"dependencies": {
"@babel/runtime": "^7.18.9",

View File

@ -37,7 +37,7 @@
},
"scripts": {
"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",
"build": "vite build",
"postbuild": "yarn typegen",
@ -45,10 +45,10 @@
"typecheck": "tsc",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"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}'",
"fix": "yarn lint:fix && yarn format",
"clean": "rimraf dist node_modules .turbo"
"fix": "yarn lint:fix && yarn format --loglevel=silent",
"clean": "rimraf 12 16 20 dist node_modules .turbo"
},
"peerDependencies": {
"react": "^16.x || ^17.x || ^18.x",