-
Notifications
You must be signed in to change notification settings - Fork 187
Expand file tree
/
Copy pathpackage.json
More file actions
198 lines (198 loc) · 6.79 KB
/
Copy pathpackage.json
File metadata and controls
198 lines (198 loc) · 6.79 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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"name": "playroom",
"version": "1.3.0",
"description": "Design with code, powered by your own component library",
"bin": {
"playroom": "./bin/cli.mts"
},
"main": "./dist/utils/index.cjs",
"module": "./dist/utils/index.mjs",
"types": "./dist/utils/index.d.cts",
"exports": {
".": {
"import": "./dist/utils/index.mjs",
"require": "./dist/utils/index.cjs"
},
"./package.json": "./package.json"
},
"imports": {
"#entries/index": {
"@playroom/dev": "./src/entries/index.tsx",
"import": "./dist/app/entries/index.mjs"
},
"#entries/frame": {
"@playroom/dev": "./src/entries/frame.tsx",
"import": "./dist/app/entries/frame.mjs"
},
"#entries/preview": {
"@playroom/dev": "./src/entries/preview.tsx",
"import": "./dist/app/entries/preview.mjs"
},
"#defaultModules/FrameComponent": {
"@playroom/dev": "./src/defaultModules/FrameComponent.tsx",
"import": "./dist/app/defaultModules/FrameComponent.mjs"
},
"#defaultModules/snippets": {
"@playroom/dev": "./src/defaultModules/snippets.ts",
"import": "./dist/app/defaultModules/snippets.mjs"
},
"#defaultModules/themes": {
"@playroom/dev": "./src/defaultModules/themes.ts",
"import": "./dist/app/defaultModules/themes.mjs"
},
"#defaultModules/useScope": {
"@playroom/dev": "./src/defaultModules/useScope.ts",
"import": "./dist/app/defaultModules/useScope.mjs"
},
"#webpack/devConfig": {
"@playroom/dev": "./lib/webpackDevConfig.mts",
"import": "./lib/webpackDevConfig.stub.mts"
},
"#static/*": {
"@playroom/dev": "./static/*",
"import": "./dist/static/*"
}
},
"files": [
"CHANGELOG.md",
"dist"
],
"scripts": {
"cypress": "start-server-and-test build-and-serve:all '9000|9001|9002' 'cypress run'",
"cypress:dev": "start-server-and-test start:all '9000|9001|9002' 'cypress open --browser electron --e2e'",
"cypress:verify": "cypress verify",
"start": "pnpm start:basic",
"cli:dev": "node --conditions=@playroom/dev ./bin/cli.mts",
"start:basic": "pnpm cli:dev start --config cypress/projects/basic/playroom.config.js",
"build:basic": "node dist/cli.mjs build --config cypress/projects/basic/playroom.config.js",
"serve:basic": "PORT=9000 serve --config ../serve.json --no-request-logging cypress/projects/basic/dist",
"start:themed": "pnpm cli:dev start --config cypress/projects/themed/playroom.config.js",
"build:themed": "pnpm cli:dev build --config cypress/projects/themed/playroom.config.js",
"serve:themed": "PORT=9001 serve --config ../serve.json --no-request-logging cypress/projects/themed/dist",
"start:typescript": "pnpm cli:dev start --config cypress/projects/typescript/playroom.config.js",
"build:typescript": "pnpm cli:dev build --config cypress/projects/typescript/playroom.config.js",
"serve:typescript": "PORT=9002 serve --config ../serve.json --no-request-logging cypress/projects/typescript/dist",
"start:all": "concurrently 'npm:start:*(!all)'",
"build:all": "concurrently 'npm:build:*(!all)'",
"serve:all": "concurrently 'npm:serve:*(!all)'",
"build-and-serve:all": "pnpm build:all && pnpm serve:all",
"lint": "concurrently 'npm:lint:*'",
"lint:eslint": "NODE_OPTIONS=--max_old_space_size=8192 eslint --cache .",
"lint:prettier": "prettier --list-different .",
"lint:tsc": "tsc --noEmit",
"lint:cypress": "tsc --project cypress/tsconfig.json",
"format": "pnpm lint:eslint --fix && prettier --write .",
"version": "changeset version",
"release": "pnpm package && changeset publish",
"package": "tsdown",
"test": "vitest --run",
"post-commit-status": "node scripts/postCommitStatus.js",
"deploy-preview": "surge -p ./cypress/projects/themed/dist",
"prepare": "husky",
"changeset": "changeset"
},
"lint-staged": {
"**/*": [
"eslint",
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "https://github.com/seek-oss/playroom.git"
},
"author": "SEEK",
"license": "MIT",
"bugs": {
"url": "https://github.com/seek-oss/playroom/issues"
},
"homepage": "https://github.com/seek-oss/playroom#readme",
"dependencies": {
"@babel/core": "^7.20.5",
"@babel/parser": "^7.23.4",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@base-ui/react": "^1.1.0",
"@soda/friendly-errors-webpack-plugin": "^1.8.1",
"@vanilla-extract/dynamic": "^2.1.2",
"@zumer/snapdom": "^3.0.0",
"babel-loader": "^10.1.1",
"clsx": "^2.1.1",
"cmdk-base": "^1.0.0",
"codemirror": "^5.65.10",
"command-line-args": "^6.0.2",
"command-line-usage": "^7.0.4",
"css-loader": "^7.1.5",
"dedent": "^1.5.1",
"find-up": "^8.0.0",
"history": "^5.3.0",
"html-webpack-plugin": "^5.5.0",
"localforage": "^1.10.0",
"lucide-react": "^0.541.0",
"lz-string": "^1.5.0",
"memoize-one": "^6.0.0",
"mini-css-extract-plugin": "^2.7.2",
"parse-prop-types": "^0.3.0",
"portfinder": "^1.0.32",
"prettier": "^3.9.6",
"prop-types": "^15.8.1",
"react-docgen-typescript": "^2.2.2",
"react-error-boundary": "^4.0.13",
"scope-eval": "^1.0.0",
"sucrase": "^3.35.1",
"tinyglobby": "^0.2.12",
"typescript": "^5.0.0 || ^6.0.0",
"use-debounce": "^10.0.0",
"webpack": "^5.75.0",
"webpack-dev-server": "^5.0.2",
"webpack-merge": "^6.0.1"
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@babel/preset-typescript": "^7.18.6",
"@capsizecss/metrics": "^3.5.0",
"@capsizecss/vanilla-extract": "^2.0.4",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.28.1",
"@octokit/rest": "^19.0.5",
"@testing-library/cypress": "^10.1.0",
"@types/codemirror": "^5.60.5",
"@types/command-line-args": "^5.2.3",
"@types/command-line-usage": "^5.0.4",
"@types/node": "^20.19.30",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vanilla-extract/css": "^1.9.2",
"@vanilla-extract/css-utils": "^0.1.3",
"@vanilla-extract/rollup-plugin": "^1.5.1",
"@vanilla-extract/sprinkles": "^1.5.1",
"@vanilla-extract/webpack-plugin": "^2.3.27",
"@vitejs/plugin-react": "^6.1.1",
"concurrently": "^9.1.2",
"cypress": "^15.5.0",
"eslint": "^9.23.0",
"eslint-config-seek": "^15.0.6",
"husky": "^9.1.7",
"lint-staged": "^15.5.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"serve": "^14.2.5",
"start-server-and-test": "^2.0.11",
"surge": "^0.24.6",
"tsdown": "^0.23.0",
"vitest": "^5.0.0"
},
"peerDependencies": {
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
},
"engines": {
"node": ">=18.12.0"
},
"packageManager": "pnpm@11.15.1",
"publishConfig": {
"bin": {
"playroom": "./dist/cli.mjs"
}
}
}