blob: 5abd241ac6ea7d90e7a4a7db7e744d2885358017 [file] [log] [blame]
{
"name": "answer-static",
"version": "0.1.0",
"private": true,
"homepage": "/",
"scripts": {
"start": "react-app-rewired start",
"build": "node ./scripts/env.js && react-app-rewired build",
"pre-install": "node ./scripts/importPlugins.js && pnpm install && node ./scripts/preinstall.js ",
"prepare": "pnpm build:packages",
"build:packages": "pnpm -r --filter=./src/plugins/* run build",
"clean": "rm -rf node_modules && rm -rf src/plugins/**/node_modules",
"analyze": "source-map-explorer 'build/static/js/*.js'",
"setup-lint": "node scripts/setup-eslint.js && cd .. && husky install",
"lint": "eslint . --cache --fix --ext .ts,.tsx",
"prettier": "prettier --write \"src/**/*.{ts,tsx,css,scss,md}\"",
"lint-staged": "lint-staged"
},
"dependencies": {
"@codemirror/lang-markdown": "^6.2.4",
"@codemirror/language-data": "^6.5.0",
"@codemirror/state": "^6.5.0",
"@codemirror/view": "^6.26.1",
"axios": "^1.7.7",
"bootstrap": "^5.3.2",
"bootstrap-icons": "^1.10.5",
"classnames": "^2.3.1",
"codemirror": "^6.0.1",
"color": "^4.2.3",
"copy-to-clipboard": "^3.3.2",
"dayjs": "^1.11.5",
"diff": "^5.1.0",
"front-matter": "^4.0.2",
"i18next": "^21.9.0",
"js-sha256": "0.11.0",
"lodash": "^4.17.21",
"marked": "^4.0.19",
"next-share": "^0.18.1",
"qrcode": "^1.5.1",
"qs": "^6.11.0",
"react": "^18.2.0",
"react-bootstrap": "^2.10.0",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-i18next": "^11.18.3",
"react-router-dom": "^7.0.2",
"semver": "^7.3.8",
"swr": "^1.3.0",
"uuid": "13.0.0",
"zustand": "^5.0.2"
},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.2.0",
"@fullhuman/postcss-purgecss": "^4.1.3",
"@testing-library/dom": "^8.17.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/color": "^3.0.3",
"@types/dompurify": "^2.4.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",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"buffer": "6.0.3",
"customize-cra": "^1.0.0",
"eslint": "^8.53.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^9.1.7",
"js-yaml": "^4.1.0",
"lint-staged": "^15.5.0",
"postcss": "^8.0.0",
"prettier": "^3.1.0",
"purgecss-webpack-plugin": "^4.1.3",
"react-app-rewired": "^2.2.1",
"react-scripts": "5.0.1",
"sass": "1.54.4",
"source-map-explorer": "^2.5.3",
"typescript": "^4.9.5",
"yaml-loader": "^0.8.0"
},
"packageManager": "pnpm@9.7.0",
"engines": {
"node": ">=20",
"pnpm": ">=9"
},
"license": "MIT"
}