package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "3.0.0-beta.0",
  4. "npm": {
  5. "tag": "next"
  6. },
  7. "description": "一套京东风格的轻量级移动端 Vue 组件库",
  8. "main": "dist/lib/nutui.js",
  9. "module": "dist/es/nutui.js",
  10. "style": "dist/lib/index.css",
  11. "typings": "dist/types/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. "dev": "vite",
  40. "build": "vite build",
  41. "serve": "vite preview",
  42. "upload": "vite build && node ./jd/upload.js",
  43. "add": "node jd/createComponentMode.js"
  44. },
  45. "dependencies": {
  46. "axios": "^0.21.0",
  47. "gsap": "^3.6.0",
  48. "sass": "^1.32.8",
  49. "vue": "^3.0.5",
  50. "vue-router": "^4.0.4"
  51. },
  52. "devDependencies": {
  53. "@commitlint/cli": "^10.0.0",
  54. "@commitlint/config-conventional": "^10.0.0",
  55. "@types/node": "^14.14.31",
  56. "@vitejs/plugin-vue": "^1.1.4",
  57. "@vue/compiler-sfc": "^3.0.5",
  58. "@vue/eslint-config-prettier": "^6.0.0",
  59. "@vue/eslint-config-typescript": "^5.0.2",
  60. "eslint": "^6.7.2",
  61. "eslint-plugin-prettier": "^3.1.3",
  62. "eslint-plugin-vue": "^7.0.0-0",
  63. "front-matter": "^4.0.2",
  64. "highlight.js": "^10.3.1",
  65. "husky": "^4.3.0",
  66. "lint-staged": "^10.5.0",
  67. "prettier": "^1.19.1",
  68. "swiper": "4.0.2",
  69. "transliteration": "^2.2.0",
  70. "typescript": "^4.1.5",
  71. "vite": "^2.0.2",
  72. "vite-plugin-md": "^0.5.1"
  73. },
  74. "eslintConfig": {
  75. "root": true,
  76. "env": {
  77. "node": true
  78. },
  79. "extends": [
  80. "plugin:vue/vue3-essential",
  81. "eslint:recommended",
  82. "@vue/typescript/recommended",
  83. "@vue/prettier",
  84. "@vue/prettier/@typescript-eslint"
  85. ],
  86. "parserOptions": {
  87. "ecmaVersion": 2020
  88. },
  89. "rules": {
  90. "vue/no-unused-components": "off",
  91. "no-debugger": "off"
  92. }
  93. },
  94. "husky": {
  95. "hooks": {
  96. "pre-commit": "node ./jd/verifymail.js && lint-staged",
  97. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  98. }
  99. },
  100. "lint-staged": {
  101. "*.{ts,js,vue,scss}": "prettier --write"
  102. },
  103. "repository": {
  104. "type": "git",
  105. "url": "https://github.com/jdf2e/nutui.git"
  106. }
  107. }