package.json 1.52 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",
    "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": {
    "@feewee/h5app-common": "^0.1.39",
    "@modern-js/runtime": "~2.49.4",
    "ahooks": "^3.8.0",
    "clsx": "^2.1.1",
    "dayjs": "^1.11.11",
    "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.49.4",
    "@modern-js/app-tools": "~2.49.4",
    "@modern-js/eslint-config": "~2.49.4",
    "@modern-js/plugin-tailwindcss": "~2.49.4",
    "@modern-js/tsconfig": "~2.49.4",
    "@types/jest": "^29.5.12",
    "@types/node": "^18.19.39",
    "@types/react": "^18.3.3",
    "@types/react-dom": "^18.3.0",
    "cross-env": "^7.0.3",
    "eslint": "^8.57.0",
    "husky": "^9.0.11",
    "lint-staged": "^15.2.7",
    "prettier": "^3.3.2",
    "rimraf": "^5.0.7",
    "tailwindcss": "^3.4.4",
    "typescript": "^5.5.2"
  }
}