update scripts

This commit is contained in:
Pavel Prichodko 2023-03-13 22:52:54 +01:00
parent 9d45202b8d
commit 24df67ad33
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
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",