{ "name": "um-react", "private": true, "version": "0.1.0", "type": "module", "scripts": { "start": "vite", "build": "tsc -p tsconfig.prod.json && vite build", "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "format": "prettier -w .", "test": "vitest run", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", "preview": "vite preview", "preview:coverage": "vite preview --outDir coverage --port 5175", "prepare": "husky install" }, "dependencies": { "@chakra-ui/anatomy": "^2.1.1", "@chakra-ui/icons": "^2.0.19", "@chakra-ui/react": "^2.7.0", "@emotion/react": "^11.11.0", "@emotion/styled": "^11.11.0", "@jixun/libparakeet": "0.2.0", "@reduxjs/toolkit": "^1.9.5", "framer-motion": "^10.12.16", "immer": "^10.0.2", "nanoid": "^4.0.2", "radash": "^10.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-dropzone": "^14.2.3", "react-icons": "^4.9.0", "react-promise-suspense": "^0.3.4", "react-redux": "^8.0.5", "react-syntax-highlighter": "^15.5.0", "sass": "^1.63.3", "sql.js": "^1.8.0" }, "devDependencies": { "@rollup/plugin-replace": "^5.0.2", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.4.3", "@types/node": "^20.2.5", "@types/react": "^18.2.7", "@types/react-dom": "^18.2.4", "@types/react-syntax-highlighter": "^15.5.7", "@types/sql.js": "^1.4.4", "@types/testing-library__jest-dom": "^5.14.6", "@typescript-eslint/eslint-plugin": "^5.59.7", "@typescript-eslint/parser": "^5.59.7", "@vitejs/plugin-react": "^4.0.0", "@vitest/coverage-c8": "^0.31.1", "@vitest/ui": "^0.31.1", "eslint": "^8.41.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.1", "husky": "^8.0.3", "jsdom": "^22.1.0", "lint-staged": "^13.2.2", "prettier": "^2.8.8", "typescript": "^5.0.4", "vite": "^4.3.9", "vite-plugin-pwa": "^0.15.1", "vite-plugin-top-level-await": "^1.3.1", "vite-plugin-wasm": "^3.2.2", "vitest": "^0.31.1" }, "lint-staged": { "*": "prettier --write --ignore-unknown", "*.{js,jsx,ts,tsx}": "eslint --fix --report-unused-disable-directives --max-warnings 0" }, "prettier": { "singleQuote": true, "printWidth": 120, "tabWidth": 2 }, "pnpm": { "patchedDependencies": { "sql.js@1.8.0": "patches/sql.js@1.8.0.patch" } } }