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", "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",

View File

@ -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",

View File

@ -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",