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.10",
    "@modern-js/runtime": "~2.48.6",
    "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.6",
    "@modern-js/app-tools": "~2.48.6",
    "@modern-js/eslint-config": "~2.48.6",
    "@modern-js/plugin-tailwindcss": "~2.48.6",
    "@modern-js/tsconfig": "~2.48.6",
    "@types/jest": "^29.5.12",
    "@types/node": "^18.19.31",
    "@types/react": "^18.2.79",
    "@types/react-dom": "^18.2.25",
    "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"
  }
}