unify package.jsons

This commit is contained in:
Pavel Prichodko 2023-03-13 21:48:42 +01:00
parent 81b3f7cc8c
commit 47308ca5c3
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
8 changed files with 24 additions and 19 deletions

View File

@ -4,11 +4,11 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"#dev": "vite",
"dev": "tauri dev",
"build": "tsc && vite build",
"build": "vite build",
"typecheck": "tsc",
"preview": "vite preview",
"tauri": "tauri"
"clean": "rimraf node_modules"
},
"dependencies": {
"react": "^18.2.0",

View File

@ -7,7 +7,10 @@
"dev": "expo start -c",
"ios": "TAMAGUI_TARGET=native yarn expo run:ios",
"android": "TAMAGUI_TARGET=native yarn expo run:android",
"start": "expo start --dev-client"
"start": "expo start --dev-client",
"lint": "eslint screens",
"#typecheck": "tsc",
"clean": "rimraf node_modules"
},
"dependencies": {
"@babel/runtime": "^7.18.9",
@ -26,8 +29,7 @@
"react-native": "0.70.5",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "~3.18.0",
"react-native-svg": "^13.8.0",
"react-native-web": "~0.18.12"
"react-native-svg": "^13.8.0"
},
"devDependencies": {
"@babel/core": "^7.17.9",

View File

@ -5,7 +5,9 @@
"scripts": {
"dev": "TAMAGUI_TARGET='web' vite",
"build": "tsc && vite build",
"preview": "vite preview"
"preview": "vite preview",
"lint": "eslint src",
"#typecheck": "tsc"
},
"dependencies": {
"@status-im/components": "*",

View File

@ -12,12 +12,11 @@
"scripts": {
"prepare": "husky install",
"test": "turbo run test --filter=@status-im/* -- --run",
"dev": "turbo run dev --parallel --filter=@status-im/*",
"dev": "turbo run dev --filter=@status-im/* --parallel",
"build": "turbo run build --filter=@status-im/*",
"typecheck": "turbo run typecheck --filter=@status-im/*",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint/.eslint-cache .",
"typecheck": "turbo run typecheck",
"format": "prettier --ignore-path .gitignore --cache --write .",
"format:check": "prettier --check .",
"clean": "turbo run clean && rimraf node_modules",
"web": "yarn workspace web dev",
"mobile": "yarn workspace mobile dev",

View File

@ -14,9 +14,13 @@
"scripts": {
"dev": "tamagui-build --watch",
"build": "tamagui-build",
"postbuild": "yarn typegen",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"typecheck": "tsc",
"storybook": "TAMAGUI_TARGET='web' storybook dev -p 3001",
"storybook:build": "TAMAGUI_TARGET='web' storybook build"
"storybook:build": "TAMAGUI_TARGET='web' storybook build",
"clean": "rimraf node_modules dist .turbo storybook-static"
},
"peerDependencies": {
"react-native-web": "^0.18.0"

View File

@ -1,5 +1,5 @@
import { MutedIcon } from '@status-im/icons/20'
import { Stack } from '@tamagui/core'
import { Stack, Text } from '@tamagui/core'
import { Label, Paragraph } from '../typography'
@ -67,7 +67,7 @@ const AccordionItem = (props: Props) => {
justifyContent="center"
alignItems="center"
>
{emoji}
<Text>{emoji}</Text>
</Stack>
)}
<Paragraph

View File

@ -19,14 +19,13 @@
"url": "https://github.com/status-im/status-web/issues"
},
"scripts": {
"test": "vitest",
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn typegen",
"test": "vitest",
"typecheck": "tsc",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"format": "prettier --write src",
"typecheck": "tsc",
"protos": "protons protos/*.proto",
"clean": "rimraf dist node_modules .turbo"
},

View File

@ -19,14 +19,13 @@
"url": "https://github.com/status-im/status-web/issues"
},
"scripts": {
"#test": "vitest",
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn typegen",
"#test": "vitest",
"typecheck": "tsc",
"typegen": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"format": "prettier --write src",
"typecheck": "tsc",
"clean": "rimraf dist node_modules .turbo"
},
"dependencies": {