| { | |
| "name": "answer-static", | |
| "version": "0.1.0", | |
| "private": true, | |
| "homepage": "/", | |
| "scripts": { | |
| "start": "vite", | |
| "build": "node ./scripts/env.js && tsc --noEmit && vite build", | |
| "preview": "vite preview", | |
| "test": "node --test src/pages/Questions/tests/render-html.test.cjs src/components/Editor/utils/codemirror/commands.test.cjs && vitest run --exclude '**/*.test.cjs'", | |
| "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'", | |
| "check-locales": "node ./scripts/check-locale-resolution.js", | |
| "check-plugin-i18n": "node ./scripts/check-plugin-i18n-order.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", | |
| "franc-min": "6.2.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", | |
| "@modyfi/vite-plugin-yaml": "^1.1.1", | |
| "@types/color": "^3.0.3", | |
| "@types/dompurify": "^2.4.0", | |
| "@types/lodash": "^4.14.184", | |
| "@types/marked": "^4.0.6", | |
| "@types/node": "^20.19.0", | |
| "@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", | |
| "@vitejs/plugin-react": "^6.0.5", | |
| "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", | |
| "jsdom": "26.1.0", | |
| "lint-staged": "^15.5.0", | |
| "prettier": "^3.1.0", | |
| "sass": "1.79.6", | |
| "source-map-explorer": "^2.5.3", | |
| "typescript": "^4.9.5", | |
| "vite": "^8.2.0", | |
| "vitest": "^4.0.18" | |
| }, | |
| "packageManager": "pnpm@9.7.0", | |
| "engines": { | |
| "node": "^20.19.0 || >=22.12.0", | |
| "pnpm": ">=9" | |
| }, | |
| "license": "MIT" | |
| } |