rename typegen -> build:types

This commit is contained in:
Pavel Prichodko 2023-03-14 13:49:33 +01:00
parent 2fedef69ad
commit 47d50e80f5
No known key found for this signature in database
GPG Key ID: 8E4C82D464215E83
6 changed files with 10 additions and 9 deletions

View File

@ -7,7 +7,7 @@
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src",
"#typecheck": "tsc"
"typecheck": "tsc"
},
"dependencies": {
"@status-im/components": "*",

View File

@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],

View File

@ -17,8 +17,8 @@
"scripts": {
"dev": "TAMAGUI_TARGET='web' vite build --watch --mode development",
"build": "TAMAGUI_TARGET='web' vite build",
"postbuild": "yarn typegen",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"typecheck": "tsc",
"storybook": "TAMAGUI_TARGET='web' storybook dev -p 3001",

View File

@ -38,10 +38,10 @@
"generate": "rimraf 12 16 20 reactions && svgr src --silent && yarn fix",
"prebuild": "yarn generate",
"build": "vite build",
"postbuild": "yarn typegen",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"#test": "vitest",
"typecheck": "tsc",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint '{12,16,20,reactions}/**/*.{ts,tsx}'",
"lint:fix": "yarn lint --fix",
"format": "prettier --write '{12,16,20,reactions}/**/*.{ts,tsx}'",

View File

@ -22,8 +22,8 @@
"test": "vitest",
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn typegen",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"typecheck": "tsc",
"protos": "protons protos/*.proto",

View File

@ -22,8 +22,8 @@
"#test": "vitest",
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn typegen",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"typecheck": "tsc",
"clean": "rimraf dist node_modules .turbo"