package.json 1.7 KB
Newer Older
W
wangbei16 已提交
1 2 3 4 5 6 7
{
  "name": "nutui-react",
  "version": "0.0.0",
  "scripts": {
    "add": "node scripts/createComponentMode.js",
    "generate:file": "node scripts/generate-nutui.js",
    "checked": "npm run generate:file && tsc",
W
wangbei16 已提交
8 9 10 11 12 13 14 15
    "dev": "npm run checked && vite --open --force",
    "prepare": "husky install"
  },
  "lint-staged": {
    "*.md": "prettier --write",
    "*.{ts,tsx,js,scss}": "prettier --write",
    "*.js": "eslint --cache --fix",
    "*.{js,css,md}": "prettier --write"
W
wangbei16 已提交
16 17
  },
  "dependencies": {
W
wangbei16 已提交
18
    "@bem-react/classname": "^1.5.10",
W
wangbei16 已提交
19 20
    "@loadable/component": "^5.15.0",
    "axios": "^0.21.1",
L
liuyijun 已提交
21
    "classnames": "^2.3.1",
W
wangbei16 已提交
22 23 24 25 26 27 28 29
    "fs-extra": "^10.0.0",
    "marked": "^2.0.3",
    "react": "^17.0.0",
    "react-dom": "^17.0.0",
    "react-router-dom": "^5.2.0"
  },
  "devDependencies": {
    "@babel/preset-react": "^7.13.13",
W
wangbei16 已提交
30 31
    "@commitlint/cli": "^12.1.4",
    "@commitlint/config-conventional": "^12.1.4",
W
wangbei16 已提交
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
    "@types/loadable__component": "^5.13.3",
    "@types/node": "^15.3.1",
    "@types/react": "^17.0.0",
    "@types/react-dom": "^17.0.0",
    "@types/react-router-dom": "^5.1.7",
    "@typescript-eslint/eslint-plugin": "^4.24.0",
    "@typescript-eslint/parser": "^4.24.0",
    "@vitejs/plugin-react-refresh": "^1.3.1",
    "eslint": "^7.26.0",
    "eslint-config-airbnb": "^18.2.1",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.23.2",
    "eslint-plugin-jsx-a11y": "^6.4.1",
    "eslint-plugin-react": "^7.23.2",
    "eslint-plugin-react-hooks": "^4.2.0",
W
wangbei16 已提交
47
    "husky": "^6.0.0",
W
wangbei16 已提交
48
    "inquirer": "^8.0.0",
W
wangbei16 已提交
49
    "lint-staged": "^11.0.0",
W
wangbei16 已提交
50 51 52 53 54 55 56
    "prettier": "2.3.0",
    "sass": "^1.32.13",
    "typescript": "^4.1.2",
    "vite": "^2.1.5",
    "vite-plugin-markdown": "^2.0.2"
  }
}