package.json 1.46 KB
{
  "name": "fw-h5app-template",
  "version": "1.0.0",
  "scripts": {
    "reset": "npx rimraf ./**/node_modules",
    "dev": "cross-env MODERN_ENV=staging modern dev",
    "dev:prod": "cross-env MODERN_ENV=prod modern dev",
    "build": "cross-env MODERN_ENV=staging modern build",
    "build:prod": "cross-env MODERN_ENV=prod modern build",
    "serve": "modern serve",
    "new": "modern new",
    "lint": "modern lint",
    "prepare": "husky install",
    "preinstall": "node ./script/preinstall.js",
    "upgrade": "modern upgrade",
    "test": "modern test"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "eslintIgnore": [
    "node_modules/",
    "dist/"
  ],
  "dependencies": {
    "@modern-js/plugin-tailwindcss": "2.48.5",
    "@modern-js/runtime": "2.48.5",
    "ahooks": "^3.7.11",
    "clsx": "^2.1.0",
    "dayjs": "^1.11.10",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "use-immer": "^0.9.0"
  },
  "devDependencies": {
    "@feewee/fabric": "^1.1.8",
    "@modern-js-app/eslint-config": "2.48.5",
    "@modern-js/app-tools": "2.48.5",
    "@modern-js/eslint-config": "2.48.5",
    "@modern-js/tsconfig": "2.48.5",
    "@types/jest": "^29.2.4",
    "@types/node": "^18.11.7",
    "@types/react": "^18.0.26",
    "@types/react-dom": "^18.0.10",
    "cross-env": "^7.0.3",
    "eslint": "^8.0.0",
    "husky": "^9.0.0",
    "lint-staged": "^15.1.0",
    "prettier": "^3.2.0",
    "rimraf": "^5.0.0",
    "tailwindcss": "^3.4.3",
    "typescript": "^5.4.0"
  }
}