mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
96ae22c7e0
- Add vitest. - Consolidate vite configs into single file (easier to config everything based on env for testing)
171 lines
5.3 KiB
JSON
171 lines
5.3 KiB
JSON
{
|
|
"name": "@invoke-ai/invoke-ai-ui",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"publishConfig": {
|
|
"access": "restricted",
|
|
"registry": "https://npm.pkg.github.com"
|
|
},
|
|
"main": "./dist/invoke-ai-ui.umd.js",
|
|
"module": "./dist/invoke-ai-ui.es.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/invoke-ai-ui.es.js",
|
|
"require": "./dist/invoke-ai-ui.umd.js"
|
|
}
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"dev:host": "vite dev --host",
|
|
"build": "pnpm run lint && vite build",
|
|
"typegen": "node scripts/typegen.js",
|
|
"preview": "vite preview",
|
|
"lint:madge": "madge --circular src/main.tsx",
|
|
"lint:eslint": "eslint --max-warnings=0 .",
|
|
"lint:prettier": "prettier --check .",
|
|
"lint:tsc": "tsc --noEmit",
|
|
"lint": "concurrently -g -n eslint,prettier,tsc,madge -c cyan,green,magenta,yellow \"pnpm run lint:eslint\" \"pnpm run lint:prettier\" \"pnpm run lint:tsc\" \"pnpm run lint:madge\"",
|
|
"fix": "eslint --fix . && prettier --log-level warn --write .",
|
|
"preinstall": "npx only-allow pnpm",
|
|
"storybook": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build",
|
|
"unimported": "npx unimported",
|
|
"test": "vitest",
|
|
"test:no-watch": "vitest --no-watch"
|
|
},
|
|
"madge": {
|
|
"excludeRegExp": [
|
|
"^index.ts$"
|
|
],
|
|
"detectiveOptions": {
|
|
"ts": {
|
|
"skipTypeImports": true
|
|
},
|
|
"tsx": {
|
|
"skipTypeImports": true
|
|
}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/react-use-size": "^2.1.0",
|
|
"@dagrejs/graphlib": "^2.1.13",
|
|
"@dnd-kit/core": "^6.1.0",
|
|
"@dnd-kit/sortable": "^8.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@fontsource-variable/inter": "^5.0.16",
|
|
"@invoke-ai/ui-library": "^0.0.18",
|
|
"@mantine/form": "6.0.21",
|
|
"@nanostores/react": "^0.7.1",
|
|
"@reduxjs/toolkit": "2.0.1",
|
|
"@roarr/browser-log-writer": "^1.3.0",
|
|
"chakra-react-select": "^4.7.6",
|
|
"compare-versions": "^6.1.0",
|
|
"dateformat": "^5.0.3",
|
|
"framer-motion": "^10.18.0",
|
|
"i18next": "^23.7.16",
|
|
"i18next-http-backend": "^2.4.2",
|
|
"idb-keyval": "^6.2.1",
|
|
"jsondiffpatch": "^0.6.0",
|
|
"konva": "^9.3.1",
|
|
"lodash-es": "^4.17.21",
|
|
"nanostores": "^0.9.5",
|
|
"new-github-issue-url": "^1.0.0",
|
|
"overlayscrollbars": "^2.4.6",
|
|
"overlayscrollbars-react": "^0.5.3",
|
|
"query-string": "^8.1.0",
|
|
"react": "^18.2.0",
|
|
"react-colorful": "^5.6.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-error-boundary": "^4.0.12",
|
|
"react-hook-form": "^7.49.3",
|
|
"react-hotkeys-hook": "4.4.4",
|
|
"react-i18next": "^14.0.0",
|
|
"react-icons": "^5.0.1",
|
|
"react-konva": "^18.2.10",
|
|
"react-redux": "9.1.0",
|
|
"react-resizable-panels": "^1.0.9",
|
|
"react-select": "5.8.0",
|
|
"react-textarea-autosize": "^8.5.3",
|
|
"react-use": "^17.4.3",
|
|
"react-virtuoso": "^4.6.2",
|
|
"reactflow": "^11.10.2",
|
|
"redux-dynamic-middlewares": "^2.2.0",
|
|
"redux-remember": "^5.1.0",
|
|
"roarr": "^7.21.0",
|
|
"serialize-error": "^11.0.3",
|
|
"socket.io-client": "^4.7.4",
|
|
"type-fest": "^4.9.0",
|
|
"use-debounce": "^10.0.0",
|
|
"use-image": "^1.1.1",
|
|
"uuid": "^9.0.1",
|
|
"zod": "^3.22.4",
|
|
"zod-validation-error": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@chakra-ui/react": "^2.8.2",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"ts-toolbelt": "^9.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@arthurgeron/eslint-plugin-react-usememo": "^2.2.3",
|
|
"@invoke-ai/eslint-config-react": "^0.0.13",
|
|
"@invoke-ai/prettier-config-react": "^0.0.6",
|
|
"@storybook/addon-docs": "^7.6.10",
|
|
"@storybook/addon-essentials": "^7.6.10",
|
|
"@storybook/addon-interactions": "^7.6.10",
|
|
"@storybook/addon-links": "^7.6.10",
|
|
"@storybook/addon-storysource": "^7.6.10",
|
|
"@storybook/blocks": "^7.6.10",
|
|
"@storybook/manager-api": "^7.6.10",
|
|
"@storybook/react": "^7.6.10",
|
|
"@storybook/react-vite": "^7.6.10",
|
|
"@storybook/test": "^7.6.10",
|
|
"@storybook/theming": "^7.6.10",
|
|
"@types/dateformat": "^5.0.2",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^20.11.5",
|
|
"@types/react": "^18.2.48",
|
|
"@types/react-dom": "^18.2.18",
|
|
"@types/uuid": "^9.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
"@typescript-eslint/parser": "^6.19.0",
|
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
"concurrently": "^8.2.2",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-i18next": "^6.0.3",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-path": "^1.2.4",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-storybook": "^0.6.15",
|
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
"madge": "^6.1.0",
|
|
"openapi-types": "^12.1.3",
|
|
"openapi-typescript": "^6.7.3",
|
|
"prettier": "^3.2.4",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"storybook": "^7.6.10",
|
|
"ts-toolbelt": "^9.6.0",
|
|
"typescript": "^5.3.3",
|
|
"vite": "^5.0.12",
|
|
"vite-plugin-css-injected-by-js": "^3.3.1",
|
|
"vite-plugin-dts": "^3.7.1",
|
|
"vite-plugin-eslint": "^1.8.1",
|
|
"vite-tsconfig-paths": "^4.3.1",
|
|
"vitest": "^1.2.2"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"reselect@5.0.1": "patches/reselect@5.0.1.patch"
|
|
}
|
|
}
|
|
}
|