141 lines
No EOL
3.9 KiB
JSON
141 lines
No EOL
3.9 KiB
JSON
{
|
|
"name": "jaba-dashboard",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"preinstall": "npx only-allow pnpm"
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/anatomy": "^2.0.1",
|
|
"@chakra-ui/form-control": "^2.0.0",
|
|
"@chakra-ui/icon": "^3.0.0",
|
|
"@chakra-ui/layout": "^2.0.0",
|
|
"@chakra-ui/menu": "^2.1.8",
|
|
"@chakra-ui/react": "^2.4.0",
|
|
"@chakra-ui/spinner": "^2.0.0",
|
|
"@chakra-ui/styled-system": "^2.0.0",
|
|
"@chakra-ui/system": "^2.0.0",
|
|
"@chakra-ui/theme-tools": "^2.0.0",
|
|
"@emotion/react": "^11.8.1",
|
|
"@emotion/styled": "^11.3.0",
|
|
"@hookform/resolvers": "^3.9.0",
|
|
"@tanstack/react-query": "^5.50.1",
|
|
"apexcharts": "^3.36.3",
|
|
"chakra-react-select": "^4.4.2",
|
|
"cookies-next": "^2.1.1",
|
|
"deepmerge-ts": "^7.0.3",
|
|
"framer-motion": "^11.0.0",
|
|
"next": "^14.2.4",
|
|
"react": "^18.2.0",
|
|
"react-apexcharts": "^1.4.0",
|
|
"react-calendar": "^5.0.0",
|
|
"react-colorful": "^5.6.1",
|
|
"react-dom": "^18.0.0",
|
|
"react-dropzone": "^14.2.3",
|
|
"react-hook-form": "^7.43.2",
|
|
"react-icons": "^5.2.1",
|
|
"zod": "^3.20.6",
|
|
"zustand": "^4.4.6"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.21.0",
|
|
"@types/node": "20.14.10",
|
|
"@types/react": "^18.0.0",
|
|
"@types/react-dom": "^18.0.0",
|
|
"eslint": "^8.0.0",
|
|
"eslint-config-next": "^14.2.4",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"prettier": "^3.3.2",
|
|
"typescript": "^5.5.3"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "eslint:recommended",
|
|
"env": {
|
|
"commonjs": true,
|
|
"es6": true,
|
|
"es2020": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"Atomics": "readonly",
|
|
"SharedArrayBuffer": "readonly"
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020
|
|
},
|
|
"rules": {
|
|
"arrow-spacing": [
|
|
"warn",
|
|
{
|
|
"before": true,
|
|
"after": true
|
|
}
|
|
],
|
|
"comma-dangle": [
|
|
"error",
|
|
"always-multiline"
|
|
],
|
|
"comma-spacing": "error",
|
|
"comma-style": "error",
|
|
"dot-location": [
|
|
"error",
|
|
"property"
|
|
],
|
|
"handle-callback-err": "off",
|
|
"indent": [
|
|
"error",
|
|
"tab",
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"keyword-spacing": "error",
|
|
"max-nested-callbacks": [
|
|
"error",
|
|
{
|
|
"max": 4
|
|
}
|
|
],
|
|
"max-statements-per-line": [
|
|
"error",
|
|
{
|
|
"max": 2
|
|
}
|
|
],
|
|
"no-console": "off",
|
|
"no-multi-spaces": "error",
|
|
"no-multiple-empty-lines": [
|
|
"error",
|
|
{
|
|
"max": 2,
|
|
"maxEOF": 1,
|
|
"maxBOF": 0
|
|
}
|
|
],
|
|
"no-trailing-spaces": [
|
|
"error"
|
|
],
|
|
"no-var": "error",
|
|
"object-curly-spacing": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"prefer-const": "error",
|
|
"quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"space-in-parens": "error",
|
|
"space-infix-ops": "error",
|
|
"space-unary-ops": "error",
|
|
"yoda": "error"
|
|
}
|
|
}
|
|
} |