Files
collection-portal/package.json

80 lines
2.2 KiB
JSON
Raw Normal View History

2022-08-23 13:56:14 +05:30
{
"name": "collections-portal",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"clean": "rm -rf dist",
"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",
2022-08-23 14:25:22 +05:30
"lint-staged": "lint-staged",
"prepare": "husky install"
2022-08-23 13:56:14 +05:30
},
"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",
"@reduxjs/toolkit": "^1.7.2",
"@super-app/dark-knight": "^1.0.5",
"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"
},
"devDependencies": {
"@types/enzyme": "^3.10.11",
"@types/jest": "^27.4.0",
"@types/react": "18.0.17",
"@types/react-dom": "18.0.6",
2022-08-23 13:56:14 +05:30
"@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",
2022-08-23 13:56:14 +05:30
"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",
"ts-jest": "^27.1.3",
"typescript": "^4.5.4",
"vite": "^2.8.0"
2022-08-23 13:56:14 +05:30
},
"engines": {
"npm": ">=6.14.15",
"node": ">=12.2.0"
}
}