{ "name": "fine-geojson-editor", "version": "0.2.1", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview", "lint": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,less,md}\"", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:serve": "vitepress serve docs", "depoly": "npm run build && npm run docs:build && node depoly.js" }, "dependencies": { "@finevis/emitter": "^1.0.4", "@turf/turf": "^6.5.0", "antd": "^4.16.13", "classnames": "^2.3.1", "idb": "^7.0.0", "immer": "^9.0.7", "less": "^4.1.2", "lodash": "^4.17.21", "react": "^17.0.2", "react-dom": "^17.0.2", "react-redux": "^7.2.6", "redux": "^4.1.2", "redux-thunk": "^2.4.1", "spark-md5": "^3.0.2", "uid": "^2.0.0" }, "devDependencies": { "@amap/amap-jsapi-types": "^0.0.8", "@types/geojson": "^7946.0.8", "@types/lodash": "^4.14.179", "@types/react": "^17.0.33", "@types/react-dom": "^17.0.10", "@types/spark-md5": "^3.0.2", "@vitejs/plugin-react": "^1.0.7", "eslint": "^8.7.0", "eslint-config-prettier": "^8.3.0", "eslint-config-react-app": "^7.0.0", "eslint-plugin-prettier": "^4.0.0", "husky": "^7.0.4", "lint-staged": "^12.2.2", "ncp": "^2.0.0", "prettier": "^2.5.1", "typescript": "^4.4.4", "vite": "^2.6.4", "vitepress": "^0.20.0" }, "eslintConfig": { "extends": [ "react-app", "plugin:prettier/recommended" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "src/**/*.{js,jsx,ts,tsx,json,less,md}": [ "prettier --write" ], "src/**/*.{js, ts}": "eslint" } }