2022-11-12 13:11:54 +11:00
{
2024-08-16 07:15:42 -04:00
"name" : "zoo-modeling-app" ,
2024-11-22 15:29:54 -05:00
"version" : "0.0.0" ,
2022-11-12 13:11:54 +11:00
"private" : true ,
2025-04-03 22:24:51 -04:00
"productName" : "Zoo Design Studio" ,
2024-08-16 07:15:42 -04:00
"author" : {
"name" : "Zoo Corporation" ,
"email" : "info@zoo.dev" ,
"url" : "https://zoo.dev"
} ,
2025-04-03 22:24:51 -04:00
"description" : "Zoo Design Studio" ,
2024-08-16 07:15:42 -04:00
"main" : ".vite/build/main.js" ,
2025-01-02 15:30:19 +02:00
"license" : "MIT" ,
2025-04-11 22:49:49 -04:00
"workspaces" : [
"packages/codemirror-lang-kcl" ,
"packages/codemirror-lsp-client" ,
"rust/kcl-language-server"
] ,
2022-11-12 13:11:54 +11:00
"dependencies" : {
2025-03-17 10:45:35 -07:00
"@codemirror/autocomplete" : "^6.18.6" ,
2025-03-31 18:56:37 +00:00
"@codemirror/commands" : "^6.8.1" ,
2025-03-17 10:45:35 -07:00
"@codemirror/language" : "^6.11.0" ,
2025-03-31 18:56:37 +00:00
"@codemirror/lint" : "^6.8.5" ,
2025-03-03 19:16:58 +00:00
"@codemirror/search" : "^6.5.10" ,
2025-03-31 18:56:37 +00:00
"@codemirror/state" : "^6.5.2" ,
2024-07-03 21:28:51 -07:00
"@codemirror/theme-one-dark" : "^6.1.2" ,
2025-04-21 12:42:14 +00:00
"@csstools/postcss-oklab-function" : "^4.0.9" ,
2025-03-17 10:45:35 -07:00
"@fortawesome/fontawesome-svg-core" : "^6.7.2" ,
"@fortawesome/free-brands-svg-icons" : "^6.7.2" ,
"@fortawesome/free-solid-svg-icons" : "^6.7.2" ,
2023-07-13 07:22:08 -04:00
"@fortawesome/react-fontawesome" : "^0.2.0" ,
2024-04-19 14:54:50 -07:00
"@headlessui/react" : "^1.7.19" ,
2025-03-31 18:56:37 +00:00
"@headlessui/tailwindcss" : "^0.2.2" ,
2025-05-06 15:07:22 -04:00
"@kittycad/lib" : "^2.0.34" ,
2024-08-16 07:39:44 -07:00
"@lezer/highlight" : "^1.2.1" ,
2024-07-08 16:47:30 -07:00
"@lezer/lr" : "^1.4.1" ,
2025-05-01 15:35:55 -07:00
"@million/lint" : "^1.0.14" ,
2024-05-23 05:22:24 +00:00
"@react-hook/resize-observer" : "^2.0.1" ,
2024-04-12 11:14:22 -07:00
"@replit/codemirror-interact" : "^6.3.1" ,
2023-09-05 16:02:27 -07:00
"@ts-stack/markdown" : "^1.5.0" ,
2024-02-11 12:59:00 +11:00
"@tweenjs/tween.js" : "^23.1.1" ,
2023-10-11 13:36:54 +11:00
"@xstate/inspect" : "^0.8.0" ,
2024-09-09 19:59:36 +03:00
"@xstate/react" : "^4.1.1" ,
2025-03-17 10:45:35 -07:00
"bonjour-service" : "^1.3.0" ,
2025-03-18 20:25:51 -07:00
"bson" : "^6.10.3" ,
2025-03-31 18:56:37 +00:00
"chokidar" : "^4.0.3" ,
2024-06-29 18:10:07 -07:00
"codemirror" : "^6.0.1" ,
2024-04-02 10:29:34 -04:00
"decamelize" : "^6.0.0" ,
2024-12-20 13:39:06 +11:00
"diff" : "^7.0.0" ,
2025-03-31 18:56:37 +00:00
"electron-updater" : "^6.6.2" ,
2025-03-17 10:45:35 -07:00
"fuse.js" : "^7.1.0" ,
2025-06-06 16:04:20 -04:00
"hammerjs" : "^2.0.8" ,
2024-08-14 21:59:05 -07:00
"html2canvas-pro" : "^1.5.8" ,
2024-08-16 07:15:42 -04:00
"isomorphic-fetch" : "^3.0.0" ,
2023-09-05 16:02:27 -07:00
"json-rpc-2.0" : "^1.6.0" ,
2024-03-14 11:50:46 -04:00
"jszip" : "^3.10.1" ,
2024-08-24 17:47:09 -07:00
"minimist" : "^1.2.8" ,
2024-08-16 07:15:42 -04:00
"openid-client" : "^5.6.5" ,
2025-03-17 10:45:35 -07:00
"re-resizable" : "^6.11.2" ,
2024-05-21 23:04:39 -07:00
"react" : "^18.3.1" ,
2022-11-12 13:11:54 +11:00
"react-dom" : "^18.2.0" ,
2025-03-17 10:45:35 -07:00
"react-hot-toast" : "^2.5.2" ,
2025-01-07 20:46:57 +00:00
"react-hotkeys-hook" : "^4.6.1" ,
2023-02-03 10:04:16 +11:00
"react-json-view" : "^1.21.3" ,
2025-01-07 15:24:24 -08:00
"react-modal" : "^3.16.3" ,
2023-03-07 15:45:59 +11:00
"react-modal-promise" : "^1.0.2" ,
2024-11-26 11:06:59 -05:00
"react-router-dom" : "^6.28.0" ,
2023-08-01 09:36:40 -05:00
"sketch-helpers" : "^0.0.4" ,
2025-04-07 22:24:57 +00:00
"three" : "^0.175.0" ,
2024-04-09 18:05:36 -07:00
"ua-parser-js" : "^1.0.37" ,
2025-03-17 10:45:35 -07:00
"uuid" : "^11.1.0" ,
2024-05-22 21:31:34 -07:00
"vscode-jsonrpc" : "^8.2.1" ,
2023-11-08 05:28:24 -05:00
"vscode-languageserver-protocol" : "^3.17.5" ,
2025-03-17 10:45:35 -07:00
"vscode-uri" : "^3.1.0" ,
2024-03-20 19:57:00 -07:00
"web-vitals" : "^3.5.2" ,
2025-04-27 16:54:32 -07:00
"why-is-node-running" : "^3.2.2" ,
2025-04-05 12:30:48 -04:00
"win-ca" : "^3.5.1" ,
2025-01-14 15:39:05 +00:00
"xstate" : "^5.19.2" ,
2024-11-07 17:23:03 -05:00
"yargs" : "^17.7.2"
2022-11-12 13:11:54 +11:00
} ,
"scripts" : {
2025-04-25 18:58:58 +10:00
"prepare" : "husky" ,
2025-03-04 15:39:22 -05:00
"install:rust" : "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none && source \"$HOME/.cargo/env\" && (cd rust && (rustup show active-toolchain || rustup toolchain install))" ,
2025-02-24 11:19:09 -05:00
"install:rust:windows" : "winget install Microsoft.VisualStudio.2022.Community --silent --override \"--wait --quiet --add ProductLang En-us --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended\" && winget install Rustlang.Rustup" ,
2025-03-18 14:39:02 -04:00
"install:wasm-pack:sh" : ". $HOME/.cargo/env && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -f" ,
2025-02-24 11:19:09 -05:00
"install:wasm-pack:cargo" : "cargo install wasm-pack" ,
"install:tools:windows" : "winget install jqlang.jq MikeFarah.yq GitHub.cli" ,
2024-12-10 17:51:51 -08:00
"start" : "vite --port=3000 --host=0.0.0.0" ,
2023-12-14 15:48:06 -05:00
"start:prod" : "vite preview --port=3000" ,
2023-11-24 08:59:24 +11:00
"serve" : "vite serve --port=3000" ,
2025-04-11 22:49:49 -04:00
"build" : "npm run install:rust && . $HOME/.cargo/env && npm run install:wasm-pack:sh && npm run build:wasm && vite build" ,
2025-05-03 12:07:54 -04:00
"build:wasm" : "./scripts/build-wasm.sh" ,
"build:wasm:windows" : "powershell -ExecutionPolicy Bypass -File ./scripts/build-wasm.ps1" ,
"build:wasm-dev" : "npm run build:wasm:dev" ,
"build:wasm:dev" : "./scripts/build-wasm-dev.sh" ,
"build:wasm:dev:windows" : "powershell -ExecutionPolicy Bypass -File ./scripts/build-wasm-dev.ps1" ,
2025-04-11 22:49:49 -04:00
"pretest" : "npm run remove-importmeta" ,
"simpleserver" : "npm run pretest && http-server ./public --cors -p 3000" ,
"simpleserver:ci" : "npm run pretest && http-server ./public --cors -p 3000 &" ,
"simpleserver:bg" : "npm run pretest && http-server ./public --cors -p 3000 &" ,
2024-12-10 04:42:03 +13:00
"simpleserver:stop" : "kill-port 3000" ,
2025-04-11 22:49:49 -04:00
"tsc" : "tsc" ,
"playwright" : "playwright" ,
2025-04-16 00:11:25 +10:00
"fmt" : "biome format --write .eslintrc.json ./src *.ts *.js ./e2e ./packages ./rust/kcl-language-server ./rust/kcl-lib/bindings ./rust/kcl-wasm-lib/pkg" ,
"fmt:check" : "biome check --write --organize-imports-enabled=true --formatter-enabled=false --linter-enabled=false --files-ignore-unknown=true ./src *.ts *.js ./e2e ./packages ./rust/kcl-language-server ./rust/kcl-lib/bindings ./rust/kcl-wasm-lib/pkg" ,
"organize-imports" : "biome check --write --organize-imports-enabled=true --formatter-enabled=false --linter-enabled=false ./src ./e2e ./packages --files-ignore-unknown=true" ,
"check" : "biome check ./src ./e2e ./packages/codemirror-lsp-client/src ./rust/kcl-language-server/client/src" ,
2025-02-24 11:19:09 -05:00
"fetch:wasm" : "./scripts/get-latest-wasm-bundle.sh" ,
2025-04-02 15:07:18 -04:00
"fetch:wasm:windows" : "powershell -ExecutionPolicy Bypass -File ./scripts/get-latest-wasm-bundle.ps1" ,
2025-03-01 13:59:01 -08:00
"remove-importmeta" : "sed -i 's/import.meta.url/window.location.origin/g' \"./rust/kcl-wasm-lib/pkg/kcl_wasm_lib.js\"; sed -i '' 's/import.meta.url/window.location.origin/g' \"./rust/kcl-wasm-lib/pkg/kcl_wasm_lib.js\" || echo \"sed for both mac and linux\"" ,
2025-03-04 22:21:12 -08:00
"lint-fix" : "eslint --fix --ext .ts --ext .tsx src e2e packages/codemirror-lsp-client/src rust/kcl-language-server/client/src" ,
"lint" : "eslint --max-warnings 0 --ext .ts --ext .tsx src e2e packages/codemirror-lsp-client/src rust/kcl-language-server/client/src" ,
2025-07-01 13:01:42 -05:00
"url-checker" : "./scripts/url-checker.sh" ,
"url-checker:overwrite" : "npm run url-checker > scripts/known/urls.txt" ,
"url-checker:diff" : "./scripts/diff-url-checker.sh" ,
2025-04-26 01:39:56 -04:00
"circular-deps" : "dpdm --no-warning --no-tree -T --skip-dynamic-imports=circular src/index.tsx" ,
2025-07-01 13:01:42 -05:00
"circular-deps:overwrite" : "npm run circular-deps | sed '$d' | grep -v '^npm run' > scripts/known/circular.txt" ,
2025-04-02 17:23:23 -04:00
"circular-deps:diff" : "./scripts/diff-circular-deps.sh" ,
2025-04-24 13:32:49 -05:00
"circular-deps:diff:nodejs" : "npm run circular-deps:diff || node ./scripts/diff.js" ,
2024-11-21 10:12:06 -05:00
"files:set-version" : "echo \"$(jq --arg v \"$VERSION\" '.version=$v' package.json --indent 2)\" > package.json" ,
2024-11-22 15:29:54 -05:00
"files:set-notes" : "./scripts/set-files-notes.sh" ,
2025-06-09 15:43:48 -04:00
"files:flip-to-staging" : "./scripts/flip-files-to-staging.sh" ,
"files:flip-to-staging:windows" : "powershell -ExecutionPolicy Bypass -File ./scripts/flip-files-to-staging.ps1" ,
2024-12-09 11:45:32 -05:00
"files:invalidate-bucket" : "./scripts/invalidate-files-bucket.sh" ,
2025-06-09 15:43:48 -04:00
"files:invalidate-bucket:staging" : "./scripts/invalidate-files-bucket.sh --staging" ,
2025-04-11 22:49:49 -04:00
"postinstall" : "electron-rebuild" ,
2024-08-16 07:15:42 -04:00
"generate:machine-api" : "npx openapi-typescript ./openapi/machine-api.json -o src/lib/machine-api.d.ts" ,
2024-08-20 11:23:32 +10:00
"tron:start" : "electron-forge start" ,
2025-02-03 10:03:41 -05:00
"tronb:vite:dev" : "vite build -c vite.main.config.ts -m development && vite build -c vite.preload.config.ts -m development && vite build -c vite.renderer.config.ts -m development" ,
"tronb:vite:prod" : "vite build -c vite.main.config.ts && vite build -c vite.preload.config.ts && vite build -c vite.renderer.config.ts" ,
2025-04-11 22:49:49 -04:00
"tronb:package:dev" : "npm run tronb:vite:dev && electron-builder --config electron-builder.yml" ,
"tronb:package:prod" : "npm run tronb:vite:prod && electron-builder --config electron-builder.yml --publish always" ,
"test-setup" : "npm install && npm run build:wasm" ,
2024-10-02 11:58:17 -04:00
"test" : "vitest --mode development" ,
2025-05-16 15:38:55 -04:00
"test:rust" : "(cd rust && just test && just lint)" ,
2025-05-27 14:11:31 -04:00
"test:snapshots" : "cross-env TARGET=web NODE_ENV=development playwright test --config=playwright.config.ts --grep=@snapshot --trace=on" ,
2025-05-16 15:38:55 -04:00
"test:unit" : "vitest run --mode development --exclude **/jest-component-unit-tests/*" ,
2025-05-06 15:07:22 -04:00
"test:unit:components" : "jest -c jest-component-unit-tests/jest.config.ts --rootDir jest-component-unit-tests/" ,
2025-05-27 14:11:31 -04:00
"test:e2e:web" : "cross-env TARGET=web NODE_ENV=development playwright test --config=playwright.config.ts --project=\"Google Chrome\" --grep=@web" ,
2025-06-05 13:42:36 -04:00
"test:e2e:desktop" : "cross-env TARGET=desktop playwright test --config=playwright.electron.config.ts --grep-invert=\"@snapshot|@web\"" ,
"test:e2e:desktop:local" : "cross-env TARGET=desktop npm run tronb:vite:dev && playwright test --config=playwright.electron.config.ts --grep-invert=\"@snapshot|@web\" --grep-invert=\"$(curl --silent https://test-analysis-bot.hawk-dinosaur.ts.net/projects/KittyCAD/modeling-app/tests/disabled/regex)\"" ,
"test:e2e:desktop:local-engine" : "cross-env TARGET=desktop npm run tronb:vite:dev && playwright test --config=playwright.electron.config.ts --grep-invert=\"@snapshot|@web|@skipLocalEngine\" --grep-invert=\"$(curl --silent https://test-analysis-bot.hawk-dinosaur.ts.net/projects/KittyCAD/modeling-app/tests/disabled/regex)\"" ,
2025-05-16 15:38:55 -04:00
"test:unit:local" : "npm run simpleserver:bg && npm run test:unit; kill-port 3000"
2022-11-23 21:28:38 +11:00
} ,
2022-11-12 13:11:54 +11:00
"browserslist" : {
2025-04-27 16:54:32 -07:00
"production" : [
">0.2%" ,
"not dead" ,
"not op_mini all"
] ,
2022-11-12 13:11:54 +11:00
"development" : [
"last 1 chrome version" ,
"last 1 firefox version" ,
"last 1 safari version"
]
2022-11-22 09:06:08 +11:00
} ,
"devDependencies" : {
2023-08-06 21:29:26 -04:00
"@babel/plugin-proposal-private-property-in-object" : "^7.21.11" ,
2025-03-17 10:45:35 -07:00
"@babel/preset-env" : "^7.26.9" ,
2025-05-06 15:07:22 -04:00
"@babel/preset-react" : "^7.27.1" ,
2025-04-16 00:11:25 +10:00
"@biomejs/biome" : "^1.9.4" ,
2025-04-07 22:24:57 +00:00
"@electron-forge/cli" : "^7.8.0" ,
"@electron-forge/plugin-fuses" : "^7.8.0" ,
"@electron-forge/plugin-vite" : "^7.8.0" ,
2025-02-17 11:03:02 -05:00
"@electron/fuses" : "^1.8.0" ,
"@electron/notarize" : "^2.5.0" ,
2024-04-16 21:36:19 -07:00
"@iarna/toml" : "^2.2.5" ,
2025-04-07 17:37:29 +00:00
"@lezer/generator" : "^1.7.3" ,
2024-12-06 12:28:58 -05:00
"@nabla/vite-plugin-eslint" : "^2.0.5" ,
2025-04-21 12:42:14 +00:00
"@playwright/test" : "^1.52.0" ,
2025-05-06 15:07:22 -04:00
"@testing-library/jest-dom" : "^5.17.0" ,
"@testing-library/react" : "^15.0.7" ,
2025-03-31 18:56:37 +00:00
"@types/diff" : "^7.0.2" ,
2024-08-16 07:15:42 -04:00
"@types/electron" : "^1.6.10" ,
2025-06-06 16:04:20 -04:00
"@types/hammerjs" : "^2.0.46" ,
2024-08-16 07:15:42 -04:00
"@types/isomorphic-fetch" : "^0.0.39" ,
2025-05-06 15:07:22 -04:00
"@types/jest" : "^29.5.14" ,
2024-08-24 17:47:09 -07:00
"@types/minimist" : "^1.2.5" ,
2025-02-06 15:17:14 -05:00
"@types/mocha" : "^10.0.10" ,
2025-04-21 12:42:14 +00:00
"@types/node" : "^22.14.1" ,
2023-12-01 20:49:12 +11:00
"@types/pixelmatch" : "^5.2.6" ,
"@types/pngjs" : "^6.0.4" ,
2024-08-20 21:15:00 -07:00
"@types/react" : "^18.3.4" ,
2024-12-06 15:21:28 -06:00
"@types/react-dom" : "^18.3.1" ,
2023-12-04 07:15:52 -05:00
"@types/react-modal" : "^3.16.3" ,
2025-04-07 22:24:57 +00:00
"@types/three" : "^0.175.0" ,
2024-04-09 18:05:36 -07:00
"@types/ua-parser-js" : "^0.7.39" ,
2024-03-20 23:44:57 -07:00
"@types/uuid" : "^9.0.8" ,
2025-04-07 17:37:29 +00:00
"@types/wicg-file-system-access" : "^2023.10.6" ,
"@types/ws" : "^8.18.1" ,
2025-04-21 12:42:14 +00:00
"@vitejs/plugin-react" : "^4.4.1" ,
2025-04-27 16:54:32 -07:00
"@vitest/web-worker" : "^3.1.2" ,
2024-02-11 12:59:00 +11:00
"@xstate/cli" : "^0.5.17" ,
2025-03-31 18:56:37 +00:00
"autoprefixer" : "^10.4.21" ,
2025-05-06 15:07:22 -04:00
"babel-preset-vite" : "^1.1.3" ,
2025-05-27 14:11:31 -04:00
"cross-env" : "^7.0.3" ,
2025-04-01 23:54:26 -07:00
"dpdm" : "^3.14.0" ,
2025-02-17 11:03:02 -05:00
"electron" : "^34.1.1" ,
2025-03-31 18:56:37 +00:00
"electron-builder" : "^26.0.12" ,
2024-08-16 07:15:42 -04:00
"eslint" : "^8.0.1" ,
2023-11-10 05:18:09 -05:00
"eslint-plugin-css-modules" : "^2.12.0" ,
2025-03-17 10:45:35 -07:00
"eslint-plugin-import" : "^2.31.0" ,
"eslint-plugin-jest" : "^28.11.0" ,
2025-01-13 09:30:14 -05:00
"eslint-plugin-jsx-a11y" : "^6.10.2" ,
2025-04-07 17:37:29 +00:00
"eslint-plugin-react" : "^7.37.5" ,
2025-03-17 10:45:35 -07:00
"eslint-plugin-react-hooks" : "^5.2.0" ,
2025-03-06 10:57:46 -08:00
"eslint-plugin-react-perf" : "^3.3.3" ,
2024-06-29 18:10:07 -07:00
"eslint-plugin-suggest-no-throw" : "^1.0.0" ,
2025-01-13 09:30:14 -05:00
"eslint-plugin-testing-library" : "^7.1.1" ,
2025-04-27 16:54:32 -07:00
"happy-dom" : "^17.4.4" ,
2024-06-29 18:10:07 -07:00
"http-server" : "^14.1.1" ,
2025-03-03 10:03:15 -08:00
"husky" : "^9.1.7" ,
2025-05-06 15:07:22 -04:00
"jest" : "^29.7.0" ,
"jest-environment-jsdom" : "^29.7.0" ,
"jest-fixed-jsdom" : "^0.0.9" ,
2024-10-02 11:58:17 -04:00
"kill-port" : "^2.0.1" ,
2025-05-06 15:07:22 -04:00
"msw" : "^2.7.6" ,
2024-06-29 18:10:07 -07:00
"node-fetch" : "^3.3.2" ,
2025-04-11 22:49:49 -04:00
"openapi-typescript" : "^7.6.1" ,
2023-12-01 20:49:12 +11:00
"pixelmatch" : "^5.3.0" ,
"pngjs" : "^7.0.0" ,
2024-09-02 14:32:32 -07:00
"postcss" : "^8.4.43" ,
2024-02-11 12:59:00 +11:00
"postinstall-postinstall" : "^2.1.0" ,
2023-06-07 17:45:13 +10:00
"setimmediate" : "^1.0.5" ,
2025-02-24 05:43:05 -05:00
"tailwindcss" : "^3.4.17" ,
2025-05-06 15:07:22 -04:00
"ts-jest" : "^29.3.2" ,
2024-08-16 07:15:42 -04:00
"ts-node" : "^10.0.0" ,
2025-04-07 17:37:29 +00:00
"typescript" : "^5.8.3" ,
2025-04-21 12:42:14 +00:00
"typescript-eslint" : "^8.30.1" ,
2025-07-03 19:36:15 -04:00
"vite" : "^5.4.19" ,
2024-02-07 11:36:19 -05:00
"vite-plugin-package-version" : "^1.1.0" ,
2025-03-18 20:25:51 -07:00
"vite-plugin-top-level-await" : "^1.5.0" ,
2024-03-21 07:06:44 +00:00
"vite-tsconfig-paths" : "^4.3.2" ,
2025-04-27 16:54:32 -07:00
"vitest" : "^3.1.2" ,
2024-02-11 12:59:00 +11:00
"vitest-webgl-canvas-mock" : "^1.1.0" ,
2025-04-11 22:49:49 -04:00
"ws" : "^8.18.1"
}
2022-11-12 13:11:54 +11:00
}