um-react/package.json

90 lines
2.7 KiB
JSON
Raw Normal View History

2023-05-07 19:11:16 +00:00
{
"name": "um-react",
"private": true,
2023-10-11 21:58:33 +00:00
"version": "0.2.1",
2023-05-07 19:11:16 +00:00
"type": "module",
"scripts": {
"start": "vite",
2023-05-15 20:32:48 +00:00
"build": "tsc -p tsconfig.prod.json && vite build",
2023-05-07 19:11:16 +00:00
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
2023-05-15 20:04:45 +00:00
"format": "prettier -w .",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"preview": "vite preview",
2023-05-17 23:39:50 +00:00
"preview:coverage": "vite preview --outDir coverage --port 5175",
"prepare": "husky install"
2023-05-07 19:11:16 +00:00
},
"dependencies": {
2023-09-16 14:42:57 +00:00
"@chakra-ui/anatomy": "^2.2.1",
"@chakra-ui/icons": "^2.1.1",
"@chakra-ui/react": "^2.8.1",
"@emotion/react": "^11.11.1",
2023-05-07 19:11:16 +00:00
"@emotion/styled": "^11.11.0",
"@jixun/libparakeet": "0.3.0",
2023-10-11 18:40:57 +00:00
"@reduxjs/toolkit": "^1.9.7",
2023-09-16 14:42:57 +00:00
"framer-motion": "^10.16.4",
2023-10-11 18:40:57 +00:00
"immer": "^10.0.3",
2023-09-16 14:42:57 +00:00
"nanoid": "^5.0.1",
"radash": "^11.0.0",
2023-05-07 19:11:16 +00:00
"react": "^18.2.0",
2023-05-07 22:29:37 +00:00
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
2023-09-16 14:42:57 +00:00
"react-icons": "^4.11.0",
2023-05-14 23:09:54 +00:00
"react-promise-suspense": "^0.3.4",
2023-10-11 18:40:57 +00:00
"react-redux": "^8.1.3",
"react-syntax-highlighter": "^15.5.0",
2023-10-11 18:40:57 +00:00
"sass": "^1.69.2",
"sql.js": "^1.8.0"
2023-05-07 19:11:16 +00:00
},
"devDependencies": {
2023-10-11 18:40:57 +00:00
"@rollup/plugin-replace": "^5.0.3",
2023-09-16 14:42:57 +00:00
"@testing-library/jest-dom": "^6.1.3",
2023-05-15 20:32:48 +00:00
"@testing-library/react": "^14.0.0",
2023-09-16 14:42:57 +00:00
"@testing-library/user-event": "^14.5.1",
2023-10-11 18:40:57 +00:00
"@types/node": "^20.8.4",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@types/react-syntax-highlighter": "^15.5.8",
"@types/sql.js": "^1.4.5",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
"eslint": "^8.51.0",
2023-09-16 14:42:57 +00:00
"eslint-config-prettier": "^9.0.0",
2023-05-07 19:11:16 +00:00
"eslint-plugin-react-hooks": "^4.6.0",
2023-09-16 14:42:57 +00:00
"eslint-plugin-react-refresh": "^0.4.3",
2023-05-17 23:39:50 +00:00
"husky": "^8.0.3",
"jsdom": "^22.1.0",
2023-09-16 14:42:57 +00:00
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"typescript": "^5.2.2",
2023-10-11 18:40:57 +00:00
"vite": "^4.4.11",
2023-09-16 14:42:57 +00:00
"vite-plugin-pwa": "^0.16.5",
2023-05-22 21:44:01 +00:00
"vite-plugin-top-level-await": "^1.3.1",
"vite-plugin-wasm": "^3.2.2",
2023-10-11 18:40:57 +00:00
"vitest": "^0.34.6"
2023-05-07 19:11:16 +00:00
},
2023-05-17 23:39:50 +00:00
"lint-staged": {
"*": "prettier --write --ignore-unknown",
"*.{js,jsx,ts,tsx}": "eslint --fix --report-unused-disable-directives --max-warnings 0"
},
2023-05-07 19:11:16 +00:00
"prettier": {
"singleQuote": true,
2023-05-15 20:04:45 +00:00
"printWidth": 120,
"tabWidth": 2
},
"pnpm": {
"patchedDependencies": {
2023-10-11 18:54:18 +00:00
"@rollup/plugin-terser@0.4.3": "patches/@rollup__plugin-terser@0.4.3.patch",
"sql.js@1.8.0": "patches/sql.js@1.8.0.patch"
2023-09-16 14:42:57 +00:00
},
"overrides": {
"rollup-plugin-terser": "npm:@rollup/plugin-terser@0.4.3",
"sourcemap-codec": "npm:@jridgewell/sourcemap-codec@1.4.15"
}
2023-05-07 19:11:16 +00:00
}
}