-
-
Notifications
You must be signed in to change notification settings - Fork 747
/
package.json
170 lines (170 loc) · 7.12 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
170
{
"name": "plate",
"private": true,
"license": "MIT",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"brl": "yarn g:brl",
"build": "yarn g:build",
"build:apps": "turbo --filter \"./apps/www\" build",
"build:registry": "yarn workspace www build:registry",
"build:templates": "turbo --filter \"./templates/**\" build",
"build:watch": "ROARR_LOG=true turbowatch ./config/turbowatch.config.ts | roarr",
"check:install": "yarn dlx @yarnpkg/[email protected] --configFileName config/.ncurc.yml packages",
"cli:basic": "sh ./scripts/pre-basic.sh && npx shadcx@latest add plate/editor-basic -o -c templates/plate-template && sh ./scripts/post-basic.sh",
"cli:sync": "sh ./scripts/pre-ai.sh && npx shadcx@latest add plate/editor-ai -o -c templates/plate-playground-template && sh ./scripts/post-ai.sh",
"cli:test": "sh ./scripts/pre-basic.sh && npx shadcx@latest add plate/editor-ai -o -c templates/plate-template && sh ./scripts/post-basic.sh",
"deps:check": "npx npm-check-updates@latest --configFileName config/ncurc.yml --workspaces --root --mergeConfig",
"deps:update": "npx npm-check-updates@latest --configFileName config/ncurc.yml -u --workspaces --root --mergeConfig",
"dev": "turbo --filter=www dev",
"devt": "yarn workspace www devt",
"docs:build": "cd docs && yarn && yarn build",
"docs:start": "cd docs && yarn && yarn start",
"e2e": "yarn playwright test",
"g:Test:Watch": "turbo --filter \"./packages/**\" test:watch",
"g:brl": "turbo --filter \"./packages/**\" brl",
"g:build": "turbo --filter \"./packages/**\" build",
"g:build:registry": "yarn workspace www build:registry",
"g:build:watch": "yarn build:watch",
"g:changeset": "changeset",
"g:clean": "turbo --filter \"./packages/**\" clean",
"g:dev": "turbo --filter=www dev",
"g:dev:cli": "yarn workspace shadcx dev",
"g:lint": "turbo --filter \"./packages/**\" lint",
"g:lint:all": "turbo && cd templates/plate-playground-template && pnpm lint",
"g:lint:all:fix": "turbo lint --fix && cd templates/plate-playground-template && pnpm lint:fix",
"g:lint:fix": "turbo lint:fix",
"g:plate-ui": "cd $INIT_CWD && COMPONENTS_REGISTRY_URL=http://localhost:3000 yarn run -T plate-ui",
"g:release:next": "yarn build && yarn changeset publish --tag next",
"g:test": "turbo --filter \"./packages/**\" test",
"g:test:cov": "yarn g:test --coverage",
"g:test:covw": "yarn g:test:cov --watch",
"g:test:covwa": "yarn g:test:cov --watchAll",
"g:test:wa": "yarn g:test -- --watchAll",
"g:test:watch": "yarn g:test -- --watch",
"g:typecheck": "turbo --filter \"./packages/**\" typecheck",
"g:typecheck:all": "turbo typecheck",
"gen:package": "yarn plop --plopfile scripts/plop/plopfile.cjs package",
"postinstall": "patch-package",
"lint": "yarn g:lint",
"lint:all": "turbo lint",
"lint:fix": "yarn g:lint:fix",
"lint:templates": "turbo --filter \"./templates/plate-playground-template/**\" lint",
"nuke:node_modules": "rimraf '**/node_modules'",
"p:brl": "sh scripts/brl.sh",
"p:build": "cd $INIT_CWD && yarn p:tsup",
"p:build:watch": "cd $INIT_CWD && yarn p:tsup --watch",
"p:clean": "cd $INIT_CWD && rimraf dist && jest --clear-cache",
"p:lint": "eslint $INIT_CWD/src --color",
"p:lint:fix": "eslint $INIT_CWD/src --color --fix",
"p:test": "cd $INIT_CWD && jest --config=${PROJECT_CWD}/jest.config.cjs --maxWorkers=1 --passWithNoTests $INIT_CWD ",
"p:tsup": "cd $INIT_CWD && tsup --config=${PROJECT_CWD}/config/tsup.config.ts",
"p:typecheck": "cd $INIT_CWD && tsc -p $INIT_CWD/tsconfig.json",
"release": "yarn build && yarn changeset publish",
"sync:plate": "node templates/plate-playground-template/scripts/sync-plate.cjs",
"sync:templates": "./scripts/sync-templates.sh \"templates/*\"",
"test": "yarn g:test",
"test:wa": "yarn g:test:wa",
"test:watch": "yarn g:test:watch",
"typecheck": "yarn g:typecheck",
"typecheck:all": "yarn g:typecheck:all"
},
"resolutions": {
"eslint-plugin-import": "2.27.5",
"terser": "4.8.0"
},
"devDependencies": {
"@changesets/cli": "^2.27.7",
"@changesets/get-github-info": "^0.5.2",
"@dword-design/eslint-plugin-import-alias": "^5.1.1",
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@playwright/test": "1.47.0",
"@roarr/cli": "^5.12.4",
"@swc/core": "1.7.26",
"@swc/jest": "0.2.36",
"@tailwindcss/typography": "^0.5.15",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "^16.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/eslint": "^8.56.12",
"@types/is-hotkey": "^0.1.10",
"@types/jest": "^29.5.13",
"@types/lodash": "^4.17.7",
"@types/node": "^22.5.4",
"@types/prismjs": "^1.26.4",
"@types/raf": "^3.4.3",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/validator": "^13.12.1",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"app-root-path": "^3.1.0",
"autoprefixer": "^10.4.20",
"barrelsby": "^2.8.1",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-next": "15.0.3",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^2.1.2",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-boundaries": "^4.2.2",
"eslint-plugin-chai-friendly": "^1.0.1",
"eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.10.0",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-perfectionist": "^3.5.0",
"eslint-plugin-playwright": "^1.6.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"eslint-plugin-react": "^7.36.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-tailwindcss": "^3.17.5",
"eslint-plugin-testing-library": "^6.3.0",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unused-imports": "^4.1.3",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"patch-package": "^8.0.0",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-packagejson": "^2.5.2",
"prettier-plugin-tailwindcss": "^0.6.6",
"react": "^18.3.1",
"react-dnd-test-backend": "^16.0.1",
"react-dom": "^18.3.1",
"react-is": "18.3.1",
"react-test-renderer": "18.3.1",
"rimraf": "^6.0.1",
"shadcx": "workspace:^",
"slate": "0.112.0",
"slate-dom": "0.111.0",
"slate-history": "0.110.3",
"slate-hyperscript": "0.100.0",
"slate-react": "0.111.0",
"slate-test-utils": "1.3.2",
"tailwindcss": "^3.4.11",
"ts-jest": "^29.2.5",
"tsup": "^8.2.4",
"turbo": "^2.1.2",
"turbowatch": "2.29.4",
"typescript": "5.6.2"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=18.12.0",
"npm": "please-use-yarn",
"yarn": ">=1.22.0"
}
}