82 lines
2.2 KiB
JSON
82 lines
2.2 KiB
JSON
{
|
|
"name": "toco-template",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "craco build",
|
|
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
|
"lint": "eslint src --ext .js,.jsx,.tsx,.ts,.json --fix --quiet",
|
|
"lint-staged": "lint-staged",
|
|
"start": "craco start",
|
|
"test": "craco test",
|
|
"prepare": "husky"
|
|
},
|
|
"resolutions": {
|
|
"@typescript-eslint/parser": "^6.19.0"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^5.3.4",
|
|
"@df/toco-ui": "{{uiVersion}}",
|
|
"@reduxjs/toolkit": "^1.9.7",
|
|
"@testing-library/jest-dom": "^5.17.0",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/jest": "^27.5.2",
|
|
"@types/node": "^17.0.45",
|
|
"@types/react": "^18.2.60",
|
|
"@types/react-dom": "^18.2.19",
|
|
"axios": "^1.7.2",
|
|
"classnames": "^2.5.1",
|
|
"os-browserify": "^0.3.0",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.2.0",
|
|
"react-helmet-async": "^2.0.4",
|
|
"react-intl": "^6.6.2",
|
|
"react-redux": "^8.1.3",
|
|
"react-router-dom": "^6.22.2",
|
|
"react-scripts": "5.0.1",
|
|
"typescript": "^4.9.5",
|
|
"web-vitals": "^2.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
"@craco/craco": "^7.1.0",
|
|
"buffer": "^6.0.3",
|
|
"craco-alias": "^3.0.1",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-json": "^3.1.0",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
"http-proxy-middleware": "^2.0.6",
|
|
"husky": "^9.1.0",
|
|
"lint-staged": "^15.2.2",
|
|
"postcss-mixins": "^10.0.0",
|
|
"postcss-nested": "^6.0.1",
|
|
"prettier": "^3.2.5",
|
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
"prettier-plugin-packagejson": "^2.4.12",
|
|
"process": "^0.11.10",
|
|
"source-map-explorer": "^2.5.3",
|
|
"terser-webpack-plugin": "^5.3.10"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,jsx,tsx,ts,json}": "eslint",
|
|
"*.js": "eslint"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|