Blame view

package.json 1.15 KB
36821dd7   张志伟   feat: init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  {
    "name": "fw-h5app-demo",
    "version": "0.1.0",
    "scripts": {
      "reset": "npx rimraf ./**/node_modules",
      "dev": "modern dev",
      "build": "modern build",
      "start": "modern start",
      "serve": "modern serve",
      "new": "modern new",
      "lint": "modern lint",
      "prepare": "husky install",
      "upgrade": "modern upgrade"
    },
    "engines": {
      "node": ">=16.18.1"
    },
    "lint-staged": {
      "*.{js,jsx,ts,tsx,mjs,cjs}": [
        "node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
      ]
    },
    "eslintIgnore": [
      "node_modules/",
      "dist/"
    ],
    "dependencies": {
      "@modern-js/runtime": "2.48.5",
      "react": "~18.2.0",
      "react-dom": "~18.2.0"
    },
    "devDependencies": {
      "@modern-js/app-tools": "2.48.5",
      "@modern-js/eslint-config": "2.48.5",
      "@modern-js/tsconfig": "2.48.5",
      "@modern-js-app/eslint-config": "2.48.5",
      "typescript": "~5.0.4",
      "@types/jest": "~29.2.4",
      "@types/node": "~16.11.7",
      "@types/react": "~18.0.26",
      "@types/react-dom": "~18.0.10",
      "lint-staged": "~13.1.0",
      "prettier": "~2.8.1",
      "husky": "~8.0.1",
      "rimraf": "~3.0.2"
    }
  }