* TP-00000 | agency pincode pincode * Agency pincode mapping * Agency pincode mapping * merged with master * merged with master * whitelisted pincode mapping path * whitelisted pincode mapping path * TP-39877 | Agency selection on drawer, serviceability download on drawer, decouple flow from filter and drawer | Herik * Updates - Varnit 1. Tooltip fixed. 2. cursor pointer for buttons 3. Malformed files sanity 4. alert to toast for invalid file extension * Max file size toast, alert to toast * Role based sidenav for pincode screen, submit button at top instead of bottom fixed * Disable states for submit button, agency dropdown enabled for specific events * Hide Sample CSV on successful upload * collection portal update * remove agency restrictions on all pincode and sample csv download * remove agency restrictions on all pincode and sample csv download * fixed csv download and filter clean * changed text for validated changes * max number of records * cancel polling if cancel button is cllicked --------- Co-authored-by: Herik Modi <herik.modi@navi.com>
132 lines
4.2 KiB
JSON
132 lines
4.2 KiB
JSON
{
|
|
"name": "collections-portal",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"makeVersion": "node make_versions.js > dist/version.txt",
|
|
"start": "vite",
|
|
"clean": "rm -rf dist && rm -rf stats",
|
|
"copy-mocks": "cp -r __mocks__/ dist/__mocks__/",
|
|
"copy-config": "cp config.template.js dist/configuration.js",
|
|
"copy-firebase-sw": "cp firebase-messaging-sw.js dist/firebase-messaging-sw.js",
|
|
"build": "npm run clean && vite build && npm run copy-mocks && npm run copy-config",
|
|
"build:new": "npm run clean && vite build && npm run copy-mocks && npm run copy-config && npm run copy-firebase-sw && npm run makeVersion",
|
|
"preview": "vite preview",
|
|
"lint": "eslint \"**/?*.{ts,tsx,js}\"",
|
|
"lint:fix": "eslint --fix \"**/?*.{ts,tsx,js}\"",
|
|
"lint:quiet": "yarn lint --quiet",
|
|
"prettier-check": "prettier --check \"./**/*.{js,jsx,ts,tsx,css,scss,md}\"",
|
|
"prettier:check": "prettier --check \"./**/*.{js,jsx,ts,tsx,css,scss,md}\"",
|
|
"prettier:write": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,scss,md}\"",
|
|
"format": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,scss,md}\"",
|
|
"test": "jest",
|
|
"lint-staged": "lint-staged",
|
|
"prepare": "husky install",
|
|
"type:check": "tsc",
|
|
"setup": "rm -rf node_modules && yarn && yarn update-submodule",
|
|
"update-submodule": "git submodule update --init"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,css,scss,md}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{js,ts,tsx}": [
|
|
"prettier --write",
|
|
"eslint --cache --fix"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn lint-staged"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@elastic/apm-rum": "^5.10.2",
|
|
"@fingerprintjs/fingerprintjs": "^3.3.3",
|
|
"@floating-ui/dom": "1.5.3",
|
|
"@floating-ui/react": "0.25.4",
|
|
"@googlemaps/js-api-loader": "^1.16.2",
|
|
"@reduxjs/toolkit": "^1.7.2",
|
|
"@sentry/browser": "7.13.0",
|
|
"@types/highcharts": "^7.0.0",
|
|
"@types/react-transition-group": "^4.4.5",
|
|
"@types/uuid": "^9.0.2",
|
|
"ag-grid-community": "^28.1.1",
|
|
"ag-grid-react": "^28.1.1",
|
|
"autoprefixer": "^10.4.16",
|
|
"axios": "^0.27.2",
|
|
"classnames": "^2.3.1",
|
|
"crypto-js": "^4.1.1",
|
|
"dayjs": "^1.11.9",
|
|
"firebase": "^8.8.0",
|
|
"highcharts": "^10.3.3",
|
|
"highcharts-react": "^0.0.3",
|
|
"highcharts-react-official": "^3.2.0",
|
|
"lodash.throttle": "^4.1.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-google-recaptcha": "2.1.0",
|
|
"react-hook-form": "7.38.0",
|
|
"react-redux": "^7.2.6",
|
|
"react-router-dom": "^6.3.0",
|
|
"react-transition-group": "^4.4.5",
|
|
"recharts": "^2.5.0",
|
|
"redux-persist": "^6.0.0",
|
|
"style-inject": "^0.3.0",
|
|
"terser": "^5.15.1",
|
|
|
|
"uuid": "9.0.0",
|
|
"vite-plugin-html": "^3.2.0",
|
|
"vite-plugin-minify": "1.5.2",
|
|
"wavesurfer.js": "^6.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/css-modules": "^1.0.4",
|
|
"@types/chrome": "0.0.203",
|
|
"@types/enzyme": "^3.10.11",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/react": "18.0.17",
|
|
"@types/react-dom": "18.0.6",
|
|
"@types/react-google-recaptcha": "2.1.5",
|
|
"tsc-files": "^1.1.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
"@typescript-eslint/parser": "^5.11.0",
|
|
"@vitejs/plugin-react": "4.0.3",
|
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
|
|
"ag-grid-community": "^28.1.1",
|
|
"ag-grid-react": "^28.1.1",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-to-json": "^3.6.2",
|
|
"eslint": "^8.8.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"eslint-plugin-react": "^7.28.0",
|
|
"eslint-plugin-react-hooks": "^4.3.0",
|
|
"eslint-plugin-testing-library": "^5.10.2",
|
|
"husky": "^8.0.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^27.5.1",
|
|
"lint-staged": "13.0.3",
|
|
"minimist": "^1.2.6",
|
|
"node-sass": "9.0.0",
|
|
"postcss": "^8.4.31",
|
|
"postcss-import": "^14.0.2",
|
|
"postcss-nested": "^5.0.6",
|
|
"prettier": "^2.5.1",
|
|
"rollup-plugin-visualizer": "5.8.0",
|
|
"sass": "^1.54.5",
|
|
"tailwind": "^4.0.0",
|
|
"tailwindcss": "^3.3.5",
|
|
"ts-jest": "^27.1.3",
|
|
"typescript": "^4.5.4",
|
|
"vite": "4.4.7",
|
|
"vite-plugin-mkcert": "^1.14.0",
|
|
"vite-tsconfig-paths": "^3.5.1"
|
|
},
|
|
"engines": {
|
|
"npm": ">=6.14.15",
|
|
"node": ">=12.2.0"
|
|
}
|
|
}
|