2023-05-07 19:11:16 +00:00
|
|
|
{
|
|
|
|
"name": "um-react",
|
|
|
|
"private": true,
|
2023-05-15 20:09:44 +00:00
|
|
|
"version": "0.1.0",
|
2023-05-07 19:11:16 +00:00
|
|
|
"type": "module",
|
|
|
|
"scripts": {
|
2023-05-07 20:31:46 +00:00
|
|
|
"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 .",
|
2023-05-17 00:46:20 +00:00
|
|
|
"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": {
|
|
|
|
"@chakra-ui/icons": "^2.0.19",
|
|
|
|
"@chakra-ui/react": "^2.6.1",
|
|
|
|
"@emotion/react": "^11.11.0",
|
|
|
|
"@emotion/styled": "^11.11.0",
|
2023-05-21 22:37:30 +00:00
|
|
|
"@jixun/libparakeet": "0.0.0-exp.17",
|
2023-05-07 22:29:37 +00:00
|
|
|
"@reduxjs/toolkit": "^1.9.5",
|
2023-05-07 19:11:16 +00:00
|
|
|
"framer-motion": "^10.12.8",
|
2023-05-08 15:06:52 +00:00
|
|
|
"nanoid": "^4.0.2",
|
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",
|
2023-05-21 15:36:21 +00:00
|
|
|
"react-dropzone": "^14.2.3",
|
2023-05-14 23:09:54 +00:00
|
|
|
"react-promise-suspense": "^0.3.4",
|
2023-05-07 22:29:37 +00:00
|
|
|
"react-redux": "^8.0.5"
|
2023-05-07 19:11:16 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-05-14 23:22:23 +00:00
|
|
|
"@rollup/plugin-replace": "^5.0.2",
|
2023-05-15 20:32:48 +00:00
|
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
|
|
"@testing-library/react": "^14.0.0",
|
|
|
|
"@testing-library/user-event": "^14.4.3",
|
2023-05-09 00:22:00 +00:00
|
|
|
"@types/node": "^20.1.1",
|
2023-05-07 19:11:16 +00:00
|
|
|
"@types/react": "^18.0.28",
|
|
|
|
"@types/react-dom": "^18.0.11",
|
2023-05-15 20:32:48 +00:00
|
|
|
"@types/testing-library__jest-dom": "^5.14.5",
|
2023-05-07 19:11:16 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
|
|
|
"@typescript-eslint/parser": "^5.57.1",
|
|
|
|
"@vitejs/plugin-react": "^4.0.0",
|
2023-05-17 00:46:20 +00:00
|
|
|
"@vitest/coverage-c8": "^0.31.0",
|
|
|
|
"@vitest/ui": "^0.31.0",
|
2023-05-07 19:11:16 +00:00
|
|
|
"eslint": "^8.38.0",
|
|
|
|
"eslint-config-prettier": "^8.8.0",
|
|
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
|
|
"eslint-plugin-react-refresh": "^0.3.4",
|
2023-05-17 23:39:50 +00:00
|
|
|
"husky": "^8.0.3",
|
2023-05-17 21:59:13 +00:00
|
|
|
"jsdom": "^22.0.0",
|
2023-05-17 23:39:50 +00:00
|
|
|
"lint-staged": "^13.2.2",
|
2023-05-17 00:46:20 +00:00
|
|
|
"prettier": "^2.8.8",
|
2023-05-07 19:11:16 +00:00
|
|
|
"typescript": "^5.0.2",
|
2023-05-10 21:01:32 +00:00
|
|
|
"vite": "^4.3.2",
|
|
|
|
"vite-plugin-top-level-await": "^1.3.0",
|
2023-05-17 00:46:20 +00:00
|
|
|
"vite-plugin-wasm": "^3.2.2",
|
|
|
|
"vitest": "^0.31.0"
|
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
|
2023-05-07 19:11:16 +00:00
|
|
|
}
|
2023-05-17 00:46:20 +00:00
|
|
|
}
|