Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 3.32 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 3.32 KB
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
{
"private": true,
"dependencies": {
"@clack/prompts": "^0.11.0",
"chokidar": "^4.0.3",
"solito": "^4.4.1",
"ts-node": "^10.9.2",
"tsx": "^4.19.3",
"typescript": "^5.8.3"
},
"scripts": {
"dev": "tsx --watch scripts/dev.ts",
"dev:kitchen-sink": "tsx --watch scripts/dev.ts --mapper=kitchen-sink",
"dev:website": "tsx --watch scripts/dev.ts --mapper=website",
"dev:starter-kits": "tsx --watch scripts/dev.ts --mapper=starter-kits",
"sync": "tsx scripts/dev.ts --sync",
"sync:kitchen-sink": "tsx scripts/dev.ts --mapper=kitchen-sink --sync",
"sync:website": "tsx scripts/dev.ts --mapper=website --sync",
"sync:website:alt": "ts-node scripts/dev.ts --mapper=website --sync",
"sync:starter-kits": "tsx scripts/dev.ts --mapper=starter-kits --sync",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,mdx}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md,mdx}\"",
"build": "yarn build:packages",
"build:packages": "yarn workspaces run build",
"build:website": "cd apps/website && yarn build",
"link:create": "concurrently \"yarn link:create-utils\" \"sleep 15 && yarn link:create-core\"",
"link:create-utils": "cd packages/gluestack-utils && yarn && yarn prepare && yalc publish && yarn dev",
"link:create-core": "cd packages/gluestack-core && yarn && yarn prepare && yalc publish && yarn dev",
"link:apps": "yarn link:apps-website && yarn link:apps-kitchen-sink && yarn link:apps-src",
"link:apps-website": "cd apps/website && yalc link @gluestack-ui/utils && yalc link @gluestack-ui/core",
"link:apps-kitchen-sink": "cd apps/kitchen-sink && yalc link @gluestack-ui/utils && yalc link @gluestack-ui/core",
"link:apps-src": "cd src && yalc link @gluestack-ui/utils && yalc link @gluestack-ui/core",
"unlink:apps": "yarn unlink:apps-website && yarn unlink:apps-kitchen-sink",
"unlink:apps-website": "cd apps/website && yalc remove @gluestack-ui/utils && yalc remove @gluestack-ui/core && rm -rf node_modules/@gluestack-ui && rm -rf .yalc",
"unlink:apps-kitchen-sink": "cd apps/kitchen-sink && yalc remove @gluestack-ui/utils && yalc remove @gluestack-ui/core && rm -rf node_modules/@gluestack-ui && rm -rf .yalc",
"unlink:apps-src":"cd src && yalc remove @gluestack-ui/utils && yalc remove @gluestack-ui/core && rm -rf node_modules/@gluestack-ui && rm -rf .yalc",
"update:starter-kit": "yarn update:starter-kit-next && yarn update:starter-kit-expo",
"update:starter-kit-next": "yarn sync:starter-kits && cd apps/starter-kit-next && yarn && yarn add @gluestack-ui/utils@latest @gluestack-ui/core@latest",
"update:starter-kit-expo": "yarn sync:starter-kits && cd apps/starter-kit-expo && yarn && yarn add @gluestack-ui/utils@latest @gluestack-ui/core@latest",
"changeset": "changeset",
"changeset:version": "changeset version",
"release": "changeset publish",
"changeset:status": "changeset status",
"changeset:empty": "changeset --empty",
"create:component": "tsx scripts/create.ts"
},
"devDependencies": {
"@changesets/cli": "^2.29.5",
"@tsconfig/react-native": "^3.0.5",
"concurrently": "^9.2.0",
"lint-staged": "^15.2.2",
"prettier": "^3.6.2"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,json,md,mdx}": [
"prettier --write"
]
},
"workspaces": [
"packages/*"
]
}