um-react/package.json

71 lines
2.1 KiB
JSON
Raw Normal View History

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": {
"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": {
"@chakra-ui/icons": "^2.0.19",
"@chakra-ui/react": "^2.6.1",
"@emotion/react": "^11.11.0",
"@emotion/styled": "^11.11.0",
2023-05-14 22:15:59 +00:00
"@jixun/libparakeet": "0.0.0-exp.16",
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",
"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",
"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",
"@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",
"jsdom": "^22.0.0",
2023-05-17 23:39:50 +00:00
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
2023-05-07 19:11:16 +00:00
"typescript": "^5.0.2",
"vite": "^4.3.2",
"vite-plugin-top-level-await": "^1.3.0",
"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
}
}