package.json 1.5 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": {
    "@feewee/h5app-common": "^0.1.18",
    "@modern-js/runtime": "~2.49.2",
    "ahooks": "^3.7.11",
    "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.2",
    "@modern-js/app-tools": "~2.49.2",
    "@modern-js/eslint-config": "~2.49.2",
    "@modern-js/plugin-tailwindcss": "~2.49.2",
    "@modern-js/tsconfig": "~2.49.2",
    "@types/jest": "^29.5.12",
    "@types/node": "^18.19.31",
    "@types/react": "^18.3.1",
    "@types/react-dom": "^18.3.0",
    "cross-env": "^7.0.3",
    "eslint": "^8.57.0",
    "husky": "^9.0.11",
    "lint-staged": "^15.2.2",
    "prettier": "^3.2.5",
    "rimraf": "^5.0.5",
    "tailwindcss": "^3.4.3",
    "typescript": "^5.4.5"
  }
}