forked from tamagui/tamagui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
169 lines (169 loc) · 8.76 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "tamagui-monorepo",
"private": true,
"version": "0.0.0",
"repository": {
"url": "https://github.com/tamagui/tamagui"
},
"workspaces": [
"./code/bento",
"./code/compiler/**/*",
"./code/core/**/*",
"./code/demos",
"./code/integration",
"./code/kitchen-sink",
"./code/next-site",
"./code/sandbox",
"./code/docs",
"./code/packages/**/*",
"./code/takeout",
"./code/tamagui.dev",
"./code/ui/**/*"
],
"scripts": {
"docs": "yarn workspace @tamagui/one-docs dev",
"docs:build": "yarn workspace @tamagui/one-docs build:prod",
"takeout": "yarn workspace @tamagui/takeout dev",
"takeout:build": "yarn workspace @tamagui/takeout build:prod",
"takeout:prod": "yarn takeout:build && yarn takeout:serve",
"takeout:serve": "yarn workspace @tamagui/takeout serve",
"takeout:unlock": "./scripts/transcrypt.sh -C takeout -c aes-256-cbc -p",
"build:app": "./scripts/ci-build-app.sh",
"dev": "yarn workspace @tamagui/dot-dev dev:clean",
"dev:extract": "TAMAGUI_EXTRACT=1 yarn workspace @tamagui/dot-dev dev:clean",
"dev:build": "yarn workspace @tamagui/dot-dev build:prod",
"dev:serve": "yarn workspace @tamagui/dot-dev serve",
"dev:prod": "yarn dev:build && yarn dev:serve",
"dev:prod-only-homepage": "yarn dev:build --only index && yarn dev:serve",
"postinstall": "./scripts/unlock-repo.sh",
"build:force": "yarn clean:build && yarn build --force",
"build:js": "./scripts/ensure-unlocked.sh && turbo run build --no-cache --force -- --skip-types",
"build:types": "SKIP_JS=1 yarn build",
"build": "turbo run build",
"build:verbose": "yarn build -vvv",
"docker:build": "dotenv -e .env -- sh -c 'docker build --progress=plain --build-arg TRANSCRYPT_PASSWORD=$TRANSCRYPT_PASSWORD --build-arg SHOULD_UNLOCK_GIT_CRYPT=$SHOULD_UNLOCK_GIT_CRYPT -t my-app .'",
"docker:run": "dotenv -e .env -- sh -c 'docker run -it -p 3000:3000 my-app'",
"docker:build-and-run": "yarn docker:build && yarn docker:run",
"docker:serve": "./scripts/ci-serve.sh",
"check": "yarn check:deps && yarn check:tamagui",
"check:deps": "manypkg check",
"check:tamagui": "./node_modules/.bin/tamagui check",
"ci": "yarn && yarn check && yarn lint && yarn typecheck && yarn build && yarn test",
"clean:build": "turbo run clean:build",
"clean:ts": "tsc -b --clean tsconfig.build.json",
"clean": "turbo run clean:build",
"fix": "yarn lint:fix",
"fix:deps": "yarn manypkg fix",
"kitchen-sink:build:android": "yarn workspace @tamagui/kitchen-sink android",
"kitchen-sink:build:ios": "yarn workspace @tamagui/kitchen-sink ios",
"kitchen-sink:android": "yarn workspace @tamagui/kitchen-sink start:android",
"kitchen-sink:clean": "yarn workspace @tamagui/kitchen-sink start:clean",
"kitchen-sink:extract": "yarn workspace @tamagui/kitchen-sink start:extract",
"kitchen-sink": "yarn workspace @tamagui/kitchen-sink start",
"kitchen-sink:web": "yarn workspace @tamagui/kitchen-sink start:web",
"kitchen-sink:prod": "yarn workspace @tamagui/kitchen-sink start:prod",
"lighthouse:live": "npx lighthouse https://tamagui.dev --view --chrome-flags='--headless' --throttling.cpuSlowdownMultiplier=16 --output-path=/tmp/report.html",
"lighthouse:prod": "npx lighthouse http://localhost:3333 --view --chrome-flags='--headless' --throttling.cpuSlowdownMultiplier=16 --output-path=/tmp/report.html",
"lighthouse:vite:prod": "npx lighthouse http://localhost:8080 --view --chrome-flags='--headless' --throttling.cpuSlowdownMultiplier=16 --output-path=/tmp/report.html",
"lighthouse": "npx lighthouse http://localhost:3000 --view --chrome-flags='--headless' --throttling.cpuSlowdownMultiplier=16 --output-path=/tmp/report.html",
"lint:fix": "ultra -r --no-pretty lint:fix",
"lint": "ultra -r --no-pretty lint",
"release:canary": "yarn release --canary --ci",
"release": "node -r esbuild-register ./scripts/release.ts",
"sandbox": "yarn workspace sandbox dev",
"scripts:setup": "node -r esbuild-register ./scripts/setup.ts",
"scripts:format": "node -r esbuild-register ./scripts/format.ts",
"repair": "node -r esbuild-register ./scripts/repair.ts",
"profile": "node -r esbuild-register ./scripts/yarn-profile.ts",
"starter:native": "yarn workspace @tamagui/starter native",
"starter:prod": "yarn workspace @tamagui/starter web:prod && yarn workspace @tamagui/starter web:prod:serve",
"starter": "yarn workspace @tamagui/starter web",
"studio": "yarn workspace @tamagui/studio dev",
"studio:tauri": "yarn workspace @tamagui/studio dev:tauri",
"test:ci": "turbo test --concurrency=1",
"test:docker:build": "dotenv -e .env -- sh -c 'docker build --build-arg TRANSCRYPT_PASSWORD=${TRANSCRYPT_PASSWORD} -t tamagui-test -f test/Dockerfile.test .'",
"test:docker:run": "docker run --rm tamagui-test",
"test:docker": "yarn test:docker:build && yarn test:docker:run",
"test:demos": "yarn workspace @tamagui/demos test",
"test": "YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn test:18.2.0 && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn test:18.3.1",
"test:main": "CLEANUP=1 turbo run --concurrency=1 test && yarn test:starter-free",
"test:starter-free": "./scripts/test-starter-free.sh",
"test:18.2.0": "REACT_VERSION=18.2.0 node scripts/multi-react-version-tests.js && yarn install && yarn build && yarn test:main && yarn reset-package-json",
"test:18.3.1": "REACT_VERSION=18.3.1 node scripts/multi-react-version-tests.js && yarn install && yarn build && yarn test:main && yarn reset-package-json",
"typecheck": "tsc -b --preserveWatchOutput tsconfig.build.json",
"typecheck:perf": "yarn workspace @tamagui/monorepo-test test",
"upgrade:starters:free": "cd ../starter-free && yarn && yarn upgrade:tamagui",
"upgrade:starters:expo-router": "cd code/starters/expo-router && yarn && yarn upgrade:tamagui",
"upgrade:starters:remix": "cd code/starters/remix && yarn && yarn upgrade:tamagui",
"upgrade:starters:simple-web": "cd code/starters/simple-web && yarn && yarn upgrade:tamagui",
"upgrade:starters": "yarn upgrade:starters:simple-web && yarn upgrade:starters:expo-router && yarn upgrade:starters:remix && yarn upgrade:starters:free",
"upgrade:one": "yarn up 'one'@latest '@vxrn/*'@latest",
"vercel:build": "yarn build:js && cd code/old-site && yarn ci:build",
"watch": "npm-run-all --parallel watch:ts watch:packages",
"watch:packages": "SKIP_TYPES_INITIAL=1 ultra -r --no-pretty --concurrency 400 watch",
"watch:js": "SKIP_TYPES=1 yarn watch:packages",
"watch:ts": "node -r esbuild-register ./scripts/watch-ts.ts",
"next-site": "yarn workspace @tamagui/next-site dev",
"reset-package-json": "RESET_PACKAGE_JSON=true node -e \"require('./scripts/multi-react-version-tests.js').resetPackageJson()\""
},
"resolutions": {
"vite": "6.0.0-beta.5"
},
"profile": {
"//": "run 'yarn profile x' to toggle it on/off",
"react-19": {
"applied": false,
"resolutions": {
"@react-three/fiber": "9.0.0-alpha.6",
"react": "19.0.0-rc-fb9a90fa48-20240614",
"react-dom": "19.0.0-rc-fb9a90fa48-20240614",
"react-native-reanimated": "3.13.0-rc.1"
}
},
"one": {
"applied": false,
"resolutions": {
"@vxrn/react-native-prebuilt": "portal:~/one/packages/react-native-prebuilt",
"@vxrn/universal-color-scheme": "portal:~/one/packages/universal-color-scheme",
"@vxrn/color-scheme": "portal:~/one/packages/color-scheme",
"@vxrn/use-isomorphic-layout-effect": "portal:~/one/packages/use-isomorphic-layout-effect",
"@vxrn/safe-area": "portal:~/one/packages/safe-area",
"@vxrn/vendor": "portal:~/one/packages/vendor",
"@vxrn/vite-flow": "portal:~/one/packages/vite-flow",
"@vxrn/vite-native-client": "portal:~/one/packages/vite-native-client",
"@vxrn/vite-native-hmr": "portal:~/one/packages/vite-native-hmr",
"@vxrn/vite-native-swc": "portal:~/one/packages/vite-native-swc",
"vxrn": "portal:~/one/packages/vxrn",
"one": "portal:~/one/packages/one"
}
}
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
},
"packageManager": "[email protected]",
"dependencies": {
"@biomejs/biome": "^1.9.2",
"@manypkg/cli": "^0.19.1",
"@playwright/test": "^1.45.2",
"@testing-library/dom": "^10.4.0",
"dotenv-cli": "^7.4.2",
"esbuild": "^0.24.0",
"esbuild-register": "^3.6.0",
"fs-extra": "^11.2.0",
"h3": "1.11.1",
"import-sort-style-module": "^6.0.0",
"json5": "^2.2.3",
"npm-run-all": "^4.1.5",
"p-map": "^5.5.0",
"prompts": "2.1.0",
"react-native-screens": "3.31.1",
"turbo": "^2.1.3",
"typescript": "^5.6.3",
"ultra-runner": "^3.10.5",
"zx": "^7.2.3"
}
}