-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpackage.json
More file actions
180 lines (180 loc) · 7.97 KB
/
package.json
File metadata and controls
180 lines (180 loc) · 7.97 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
{
"name": "bldrs",
"version": "1.0.1906",
"main": "src/index.jsx",
"license": "AGPL-3.0",
"homepage": "https://github.com/bldrs-ai/Share",
"bugs": {
"url": "https://github.com/bldrs-ai/Share/issues"
},
"scripts": {
"build": "yarn build-conway",
"build-prod": "SHARE_CONFIG=prod yarn build",
"build-conway": "yarn clean && yarn build-share-conway",
"build-conway-debug": "yarn clean && yarn build-share-conway && yarn build-share-copy-wasm-conway-profile",
"build-webifc": "yarn clean && yarn build-share-webifc",
"build-cosmos": "shx mkdir -p docs && shx rm -rf docs/cosmos && cosmos-export --config .cosmos.config.json && shx mv cosmos-export docs/cosmos",
"build-share": "yarn update-version && node tools/esbuild/build.js && shx mkdir -p docs/static/js && yarn build-share-copy-wasm-conway-MT",
"build-share-conway": "run-script-os",
"build-share-conway:win32": "set USE_WEBIFC_SHIM=true && yarn build-share",
"build-share-conway:linux:darwin": "USE_WEBIFC_SHIM=true yarn build-share",
"build-share-webifc": "run-script-os",
"build-share-webifc:win32": "set USE_WEBIFC_SHIM=false&& yarn build-share && yarn build-share-copy-wasm-webifc",
"build-share-webifc:linux:darwin": "USE_WEBIFC_SHIM=false yarn build-share && yarn build-share-copy-wasm-webifc",
"build-share-copy-wasm-webifc": "shx cp node_modules/web-ifc/*.wasm docs/static/js",
"build-share-copy-wasm-conway-MT": "shx cp node_modules/@bldrs-ai/conway/compiled/dependencies/conway-geom/Dist/* docs/static/js",
"build-share-copy-wasm-conway-profile": "shx cp node_modules/@bldrs-ai/conway-web-ifc-adapter/node_modules/@bldrs-ai/conway/compiled/dependencies/conway-geom/Dist/* docs/static/js",
"build-share-analyze": "ANALYZE=true node tools/esbuild/build.js",
"clean": "shx rm -rf docs",
"deps-graph": "npx dependency-cruiser src --include-only 'jsx?' --config --output-type dot | dot -T svg > deps.svg",
"husky-init": "husky install",
"lint": "yarn eslint src netlify tools && yarn typecheck",
"precommit": "yarn eslint src netlify tools --max-warnings 0 && yarn typecheck && yarn test",
"serve-https": "run-script-os",
"serve-https:win32": "set SHARE_CONFIG=dev && set serveHttps=true && yarn serve-share-conway",
"serve-https:linux:darwin": "SHARE_CONFIG=dev serveHttps=true yarn serve-share-conway",
"serve": "run-script-os",
"serve:win32": "set SHARE_CONFIG=dev && set serveHttps=false && yarn serve-share-conway",
"serve:linux:darwin": "SHARE_CONFIG=dev serveHttps=false yarn serve-share-conway",
"serve-prod-https": "run-script-os",
"serve-prod-https:win32": "set SHARE_CONFIG=prod && set serveHttps=true && yarn serve-share-conway",
"serve-prod-https:linux:darwin": "SHARE_CONFIG=prod serveHttps=true yarn serve-share-conway",
"serve-prod": "run-script-os",
"serve-prod:win32": "set SHARE_CONFIG=prod && set serveHttps=false && yarn serve-share-conway",
"serve-prod:linux:darwin": "SHARE_CONFIG=prod serveHttps=false yarn serve-share-conway",
"serve-cosmos": "cosmos --config .cosmos.config.json",
"serve-share-conway": "run-script-os",
"serve-share-conway:win32": "yarn build-share-conway && set USE_WEBIFC_SHIM=true && node tools/esbuild/serve.js",
"serve-share-conway:linux:darwin": "yarn build-share-conway && USE_WEBIFC_SHIM=true node tools/esbuild/serve.js",
"serve-share-webifc": "run-script-os",
"serve-share-webifc:win32": "yarn build-share-webifc && set USE_WEBIFC_SHIM=false && node tools/esbuild/serve.js",
"serve-share-webifc:linux:darwin": "yarn build-share-webifc && USE_WEBIFC_SHIM=false node tools/esbuild/serve.js",
"test": "yarn test-tools && yarn test-src",
"test-ci": "yarn test-tools && yarn test-coverage",
"test-src": "jest --config tools/jest/jest.config.js",
"test-coverage": "jest --config tools/jest/jest.config.js --coverage",
"test-tools": "NO_LOG=true yarn node --experimental-vm-modules $(yarn bin jest) --config tools/jest/jest-tools.config.js",
"test-flows": "playwright test --config=tools/playwright.config.js",
"test-flows-build": "yarn clean && SHARE_CONFIG=playwright yarn build-share-conway",
"test-flows-build-and-serve": "yarn test-flows-build && yarn test-flows-serve",
"test-flows-serve": "npx http-server docs -c-1 -p",
"typecheck": "tsc",
"update-version": "./tools/updateVersion.mjs"
},
"dependencies": {
"@auth0/auth0-react": "2.0.0",
"@babel/core": "7.18.10",
"@babel/eslint-parser": "7.18.9",
"@babel/plugin-syntax-import-assertions": "7.18.6",
"@babel/preset-env": "7.18.10",
"@babel/preset-react": "7.18.6",
"@bldrs-ai/conway-web-ifc-adapter": "0.23.954-2",
"@bldrs-ai/ifclib": "5.3.3",
"@emotion/react": "11.10.0",
"@emotion/styled": "11.10.0",
"@fontsource/roboto": "5.2.8",
"@mui/icons-material": "5.16.8",
"@mui/lab": "5.0.0-alpha.95",
"@mui/material": "5.16.8",
"@mui/styled-engine": "5.16.8",
"@mui/styles": "5.16.8",
"@octokit/rest": "20.1.1",
"@sentry/react": "9.5.0",
"@sentry/serverless": "7.120.3",
"@stripe/react-stripe-js": "3.1.1",
"@stripe/stripe-js": "5.6.0",
"@svgr/core": "8.1.0",
"@svgr/plugin-jsx": "8.1.0",
"@svgr/webpack": "8.1.0",
"airbnb-js-shims": "2.2.1",
"axios": "1.6.7",
"babel-loader": "8.3.0",
"clsx": "1.2.1",
"dayjs": "^1.11.19",
"esbuild": "0.19.5",
"esbuild-copy-static-files": "0.1.0",
"esbuild-plugin-progress": "1.0.1",
"esbuild-plugin-svgr": "2.0.0",
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
"html-webpack-plugin": "5.5.3",
"js-cookie": "3.0.5",
"jwt-decode": "4.0.0",
"material-ui-popup-state": "5.0.4",
"matrix-widget-api": "1.13.1",
"msw": "2.10.4",
"normalize.css": "8.0.1",
"postprocessing": "6.29.3",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-chat-elements": "12.0.18",
"react-cosmos": "6.0.0-beta.6",
"react-cosmos-plugin-webpack": "6.0.0-beta.6",
"react-dom": "18.2.0",
"react-feature-flags": "1.0.0",
"react-helmet-async": "1.3.0",
"react-markdown": "8.0.3",
"react-qr-code": "2.0.12",
"react-router-dom": "6.3.0",
"react-window": "1.8.10",
"remark-gfm": "3.0.1",
"run-script-os": "1.1.6",
"shx": "0.3.4",
"stripe": "17.6.0",
"three": "0.135.0",
"typescript": "4.9.4",
"use-double-tap": "1.3.4",
"uuid": "13.0.0",
"web-ifc-viewer": "./web-ifc-viewer-1.0.209-bldrs-7.tgz",
"web-vitals": "2.1.4",
"webpack": "5.89.0",
"zustand": "4.0.0"
},
"devDependencies": {
"@alex_neo/jest-expect-message": "1.0.5",
"@babel/preset-typescript": "7.18.6",
"@jest/test-sequencer": "^30.2.0",
"@mui/types": "7.2.3",
"@pablo-mayrgundter/cookies.js": "1.1.0",
"@playwright/test": "1.54.2",
"@testing-library/dom": "8.19.1",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@tsconfig/recommended": "1.0.1",
"@types/jest": "30.0.0",
"@types/react": "18.0.26",
"@types/react-dom": "18.0.9",
"@types/three": "0.146.0",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"babel-jest": "28.1.3",
"babel-plugin-transform-import-meta": "^2.3.3",
"eslint": "8.22.0",
"eslint-config-google": "0.14.0",
"eslint-import-resolver-typescript": "3.5.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest-dom": "4.0.3",
"eslint-plugin-jsdoc": "51.3.4",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.30.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-testing-library": "5.9.1",
"get-port-please": "^3.2.0",
"http-server": "14.1.1",
"husky": "8.0.1",
"identity-obj-proxy": "3.0.0",
"jest": "29.3.1",
"jest-environment-jsdom": "29.3.1",
"jest-fixed-jsdom": "0.0.9",
"jsdom": "20.0.3",
"node-fetch": "2",
"playwright": "1.54.2",
"ts-jest": "29.4.4"
},
"engines": {
"node": ">=20"
},
"type": "module",
"msw": {
"workerDirectory": "public"
}
}