package.json 1.4 KB
Newer Older
R
Rongfeng Fu 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
{
  "name": "ob-deploy-web",
  "private": true,
  "scripts": {
    "build": "umi build",
    "dev": "cross-env MOCK=none umi dev",
    "postinstall": "umi generate tmp",
    "openapi": "umi openapi",
    "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
    "start": "umi dev",
    "test": "umi-test",
    "test:coverage": "umi-test --coverage"
  },
  "lint-staged": {
    "*.{js,jsx,less,md,json}": [
      "prettier --write"
    ],
    "*.ts?(x)": [
      "prettier --parser=typescript --write"
    ]
  },
  "dependencies": {
R
Rongfeng Fu 已提交
23 24 25 26 27
    "@ant-design/icons": "4.8.0",
    "@ant-design/pro-components": "2.3.34",
    "@ant-design/pro-layout": "6.5.0",
    "@types/video.js": "7.3.50",
    "@umijs/plugin-openapi": "1.3.3",
R
Rongfeng Fu 已提交
28
    "antd": "5.0.7",
R
Rongfeng Fu 已提交
29 30
    "copy-to-clipboard": "3.3.3",
    "cross-env": "7.0.3",
R
Rongfeng Fu 已提交
31
    "i18next": "22.4.15",
R
Rongfeng Fu 已提交
32 33 34 35 36 37
    "lottie-web": "5.10.2",
    "moment": "2.29.4",
    "number-precision": "1.6.0",
    "randexp": "0.5.3",
    "react": "17.0.2",
    "react-dom": "17.0.2",
R
Rongfeng Fu 已提交
38
    "react-intl": "6.4.1",
R
Rongfeng Fu 已提交
39 40
    "umi": "3.5.35",
    "video.js": "7.20.3"
R
Rongfeng Fu 已提交
41 42
  },
  "devDependencies": {
R
Rongfeng Fu 已提交
43 44 45 46 47 48 49 50
    "@types/react": "17.0.52",
    "@types/react-dom": "17.0.2",
    "@umijs/preset-react": "1.8.31",
    "@umijs/test": "3.5.35",
    "lint-staged": "10.5.4",
    "prettier": "2.7.1",
    "typescript": "4.9.3",
    "yorkie": "2.0.0"
R
Rongfeng Fu 已提交
51 52 53 54 55
  },
  "gitHooks": {
    "pre-commit": "lint-staged"
  }
}