package.json 1.73 KB
{
  "name": "<feewee>fw-h5app-template</feewee>",
  "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",
    "dev:ultra": "cross-env MODERN_ENV=ultra modern dev",
    "build": "cross-env MODERN_ENV=staging modern build",
    "build:prod": "cross-env MODERN_ENV=prod modern build",
    "build:ultra": "cross-env MODERN_ENV=ultra 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": {
    "@feewee/h5app-common": "^0.1.58",
    "@modern-js/runtime": "~2.56.2",
    "ahooks": "^3.8.0",
    "antd": "^5.19.4",
    "clsx": "^2.1.1",
    "dayjs": "^1.11.12",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "use-immer": "^0.9.0"
  },
  "devDependencies": {
    "@feewee/fabric": "^1.1.8",
    "@modern-js-app/eslint-config": "~2.56.2",
    "@modern-js/app-tools": "~2.56.2",
    "@modern-js/eslint-config": "~2.56.2",
    "@modern-js/plugin-tailwindcss": "~2.56.2",
    "@modern-js/tsconfig": "~2.56.2",
    "@types/jest": "^29.5.12",
    "@types/node": "^18.19.42",
    "@types/react": "^18.3.3",
    "@types/react-dom": "^18.3.0",
    "cross-env": "^7.0.3",
    "eslint": "^8.57.0",
    "husky": "^9.1.4",
    "lint-staged": "^15.2.7",
    "prettier": "^3.3.3",
    "rimraf": "^5.0.9",
    "tailwindcss": "^3.4.7",
    "typescript": "^5.5.4"
  },
  "pnpm": {
    "peerDependencies": {
      "install": true
    }
  }
}