package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "3.0.0-beta.5",
  4. "npm": {
  5. "tag": "beta"
  6. },
  7. "description": "一套京东风格的轻量级移动端 Vue 组件库",
  8. "main": "dist/nutui.umd.js",
  9. "module": "dist/nutui.es.js",
  10. "style": "dist/style.css",
  11. "typings": "dist/index.d.ts",
  12. "keywords": [
  13. "nutui",
  14. "nutui2",
  15. "nutui3",
  16. "vue",
  17. "vue3",
  18. "webpack",
  19. "vue component",
  20. "vue3 component",
  21. "vite",
  22. "jdc",
  23. "jdcfe"
  24. ],
  25. "author": "jdcfe",
  26. "license": "MIT",
  27. "publishConfig": {
  28. "access": "public",
  29. "registry": "https://registry.npmjs.org/"
  30. },
  31. "files": [
  32. "dist",
  33. "README.md",
  34. "package.json",
  35. "LICENSE",
  36. "CHANGELOG.md"
  37. ],
  38. "scripts": {
  39. "checked": "npm run generate:file && rm -rf dist/ && tsc",
  40. "dev": "npm run checked && vite --open",
  41. "build:site": "npm run checked && vite build",
  42. "build": "npm run checked && vite build --config vite.config.build.ts && npm run generate:types",
  43. "build:disperse": "vite build --config vite.config.build.disperse.ts",
  44. "serve": "vite preview",
  45. "upload": "yarn build:site && node ./jd/upload.js",
  46. "add": "node jd/createComponentMode.js",
  47. "publish:beta": "npm publish --tag=beta",
  48. "generate:file": "node jd/generate-nutui.js",
  49. "generate:types": "node jd/generate-types.js"
  50. },
  51. "dependencies": {
  52. "axios": "^0.21.0",
  53. "gsap": "^3.6.0",
  54. "sass": "^1.32.8",
  55. "vue": "^3.0.5",
  56. "vue-router": "^4.0.4"
  57. },
  58. "devDependencies": {
  59. "@commitlint/cli": "^10.0.0",
  60. "@commitlint/config-conventional": "^10.0.0",
  61. "@types/node": "^14.14.31",
  62. "@vitejs/plugin-vue": "^1.1.5",
  63. "@vue/compiler-sfc": "^3.0.5",
  64. "@vue/eslint-config-prettier": "^6.0.0",
  65. "@vue/eslint-config-typescript": "^5.0.2",
  66. "eslint": "^6.7.2",
  67. "eslint-plugin-prettier": "^3.1.3",
  68. "eslint-plugin-vue": "^7.0.0-0",
  69. "front-matter": "^4.0.2",
  70. "highlight.js": "^10.3.1",
  71. "husky": "^4.3.0",
  72. "lint-staged": "^10.5.0",
  73. "prettier": "^1.19.1",
  74. "transliteration": "^2.2.0",
  75. "typescript": "^4.1.5",
  76. "vite": "^2.0.5",
  77. "vite-plugin-md": "^0.5.1"
  78. },
  79. "eslintConfig": {
  80. "root": true,
  81. "env": {
  82. "node": true
  83. },
  84. "extends": [
  85. "plugin:vue/vue3-essential",
  86. "eslint:recommended",
  87. "@vue/typescript/recommended",
  88. "@vue/prettier",
  89. "@vue/prettier/@typescript-eslint"
  90. ],
  91. "parserOptions": {
  92. "ecmaVersion": 2020
  93. },
  94. "rules": {
  95. "vue/no-unused-components": "off",
  96. "no-debugger": "off"
  97. }
  98. },
  99. "husky": {
  100. "hooks": {
  101. "pre-commit": "node ./jd/verifymail.js && lint-staged",
  102. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  103. }
  104. },
  105. "lint-staged": {
  106. "*.{ts,js,vue,scss}": "prettier --write"
  107. },
  108. "repository": {
  109. "type": "git",
  110. "url": "https://github.com/jdf2e/nutui.git"
  111. }
  112. }