mirror of https://gitee.com/answerdev/answer.git
113 lines
3.6 KiB
JSON
113 lines
3.6 KiB
JSON
{
|
|
"name": "answer-static",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"homepage": "/",
|
|
"scripts": {
|
|
"start": "react-app-rewired start",
|
|
"build:dev": "env-cmd -f .env.development react-app-rewired build",
|
|
"build:test": "env-cmd -f .env.test react-app-rewired build",
|
|
"build:prod": "env-cmd -f .env.production react-app-rewired build",
|
|
"build": "env-cmd -f .env react-app-rewired build",
|
|
"test": "react-app-rewired test",
|
|
"lint": "eslint . --cache --fix --ext .ts,.tsx",
|
|
"prepare": "cd .. && husky install",
|
|
"cz": "cz",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
|
"prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
|
|
"preinstall": "node ./scripts/preinstall.js"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "ui/node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"ahooks": "^3.7.0",
|
|
"axios": "^0.27.2",
|
|
"bootstrap": "^5.2.0",
|
|
"bootstrap-icons": "^1.9.1",
|
|
"classnames": "^2.3.1",
|
|
"codemirror": "5.65.0",
|
|
"copy-to-clipboard": "^3.3.2",
|
|
"dayjs": "^1.11.5",
|
|
"highlight.js": "^11.6.0",
|
|
"i18next": "^21.9.0",
|
|
"i18next-chained-backend": "^3.0.2",
|
|
"i18next-http-backend": "^1.4.1",
|
|
"i18next-localstorage-backend": "^3.1.3",
|
|
"katex": "^0.16.2",
|
|
"lodash": "^4.17.21",
|
|
"marked": "^4.0.19",
|
|
"md5": "^2.3.0",
|
|
"mermaid": "^9.1.7",
|
|
"next-share": "^0.18.1",
|
|
"qs": "^6.11.0",
|
|
"react": "^18.2.0",
|
|
"react-bootstrap": "^2.5.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-helmet-async": "^1.3.0",
|
|
"react-i18next": "^11.18.3",
|
|
"react-router-dom": "^6.4.0",
|
|
"swr": "^1.3.0",
|
|
"zustand": "^4.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.18.10",
|
|
"@babel/plugin-syntax-flow": "^7.18.6",
|
|
"@babel/plugin-transform-react-jsx": "^7.14.9",
|
|
"@commitlint/cli": "^17.0.3",
|
|
"@commitlint/config-conventional": "^17.0.3",
|
|
"@fullhuman/postcss-purgecss": "^4.1.3",
|
|
"@popperjs/core": "^2.11.5",
|
|
"@testing-library/dom": "^8.17.1",
|
|
"@testing-library/react": "^13.3.0",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"@types/jest": "^27.5.2",
|
|
"@types/lodash": "^4.14.184",
|
|
"@types/marked": "^4.0.6",
|
|
"@types/node": "^16.11.47",
|
|
"@types/qs": "^6.9.7",
|
|
"@types/react": "^18.0.17",
|
|
"@types/react-dom": "^18.0.6",
|
|
"@types/react-helmet": "^6.1.5",
|
|
"@typescript-eslint/eslint-plugin": "^5.0.0",
|
|
"@typescript-eslint/parser": "^5.33.0",
|
|
"commitizen": "^4.2.5",
|
|
"conventional-changelog-cli": "^2.2.2",
|
|
"customize-cra": "^1.0.0",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"env-cmd": "^10.1.0",
|
|
"eslint": "^8.0.1",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-config-standard-with-typescript": "^22.0.0",
|
|
"eslint-plugin-import": "^2.25.2",
|
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
"eslint-plugin-n": "^15.0.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-promise": "^6.0.0",
|
|
"eslint-plugin-react": "^7.30.1",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"husky": "^8.0.1",
|
|
"lint-staged": "^13.0.3",
|
|
"postcss": "^8.0.0",
|
|
"prettier": "^2.7.1",
|
|
"purgecss-webpack-plugin": "^4.1.3",
|
|
"react-app-rewired": "^2.2.1",
|
|
"react-scripts": "5.0.1",
|
|
"sass": "^1.54.4",
|
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
"typescript": "*",
|
|
"web-vitals": "^2.1.4",
|
|
"yaml-loader": "^0.8.0"
|
|
},
|
|
"packageManager": "pnpm@7.9.5",
|
|
"engines": {
|
|
"node": ">=16.17",
|
|
"pnpm": ">=7"
|
|
},
|
|
"license": "MIT"
|
|
} |