84 lines
2.4 KiB
JSON
84 lines
2.4 KiB
JSON
{
|
|
"name": "collections-portal",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"clean": "rm -rf dist && rm -rf stats",
|
|
"copy-mocks": "cp -r __mocks__/ dist/__mocks__/",
|
|
"copy-config": "cp config.template.js dist/config.js",
|
|
"build": "npm run clean && tsc && vite build && npm run copy-mocks && npm run copy-config",
|
|
"preview": "vite preview",
|
|
"lint": "eslint \"**/?*.{ts,tsx,js}\"",
|
|
"lint:fix": "eslint --fix \"**/?*.{ts,tsx,js}\"",
|
|
"prettier-check": "prettier --check \"./**/*.{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"
|
|
},
|
|
"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",
|
|
"@navi/web-ui": "^1.1.0",
|
|
"@reduxjs/toolkit": "^1.7.2",
|
|
"classnames": "^2.3.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-google-login": "^5.2.2",
|
|
"react-redux": "^7.2.6",
|
|
"react-router-dom": "^6.3.0",
|
|
"@fingerprintjs/fingerprintjs": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/enzyme": "^3.10.11",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/jest": "^27.4.0",
|
|
"@types/react": "18.0.17",
|
|
"@types/react-dom": "18.0.6",
|
|
"@typescript-eslint/eslint-plugin": "^5.11.0",
|
|
"@typescript-eslint/parser": "^5.11.0",
|
|
"@vitejs/plugin-react": "^1.0.7",
|
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
|
|
"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",
|
|
"husky": "^8.0.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^27.5.1",
|
|
"lint-staged": "13.0.3",
|
|
"minimist": "^1.2.6",
|
|
"postcss": "^8.4.6",
|
|
"postcss-import": "^14.0.2",
|
|
"postcss-nested": "^5.0.6",
|
|
"prettier": "^2.5.1",
|
|
"rollup-plugin-visualizer": "5.8.0",
|
|
"sass": "^1.54.5",
|
|
"ts-jest": "^27.1.3",
|
|
"typescript": "^4.5.4",
|
|
"vite": "^2.8.0"
|
|
},
|
|
"engines": {
|
|
"npm": ">=6.14.15",
|
|
"node": ">=12.2.0"
|
|
}
|
|
}
|