package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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. "jdc",
  22. "jdcfe"
  23. ],
  24. "author": "jdcfe",
  25. "license": "MIT",
  26. "publishConfig": {
  27. "access": "public",
  28. "registry": "https://registry.npmjs.org/"
  29. },
  30. "files": [
  31. "dist",
  32. "README.md",
  33. "package.json",
  34. "LICENSE",
  35. "CHANGELOG.md"
  36. ],
  37. "scripts": {
  38. "dev": "vue-cli-service serve",
  39. "serve": "node ./libs/cli/dist_cli/bin/index.js dev",
  40. "build": "vue-cli-service build --target lib --name nutui ./src/nutui.ts --mode production",
  41. "build:site": "vue-cli-service build",
  42. "lint": "vue-cli-service lint",
  43. "upload": "vue-cli-service build && node ./jd/upload.js",
  44. "add": "node jd/createComponentMode.js"
  45. },
  46. "dependencies": {
  47. "@types/swiper": "^5.4.1",
  48. "axios": "^0.21.0",
  49. "core-js": "^3.6.5",
  50. "css-loader": "^5.0.2",
  51. "file-loader": "^6.2.0",
  52. "node-sass": "^5.0.0",
  53. "postcss": "^8.2.6",
  54. "postcss-import": "^14.0.0",
  55. "postcss-loader": "^5.0.0",
  56. "postcss-url": "^10.1.1",
  57. "sass": "^1.32.8",
  58. "sass-loader": "^11.0.1",
  59. "style-loader": "^2.0.0",
  60. "swiper": "^4.0.2",
  61. "url-loader": "^4.1.1",
  62. "vue": "^3.0.5",
  63. "vue-loader": "^16.1.2",
  64. "vue-router": "^4.0.4"
  65. },
  66. "devDependencies": {
  67. "@commitlint/cli": "^10.0.0",
  68. "@commitlint/config-conventional": "^10.0.0",
  69. "@typescript-eslint/eslint-plugin": "^2.33.0",
  70. "@typescript-eslint/parser": "^2.33.0",
  71. "@vue/cli-plugin-babel": "~4.5.8",
  72. "@vue/cli-plugin-eslint": "~4.5.8",
  73. "@vue/cli-plugin-router": "~4.5.8",
  74. "@vue/cli-plugin-typescript": "~4.5.8",
  75. "@vue/cli-service": "~4.5.8",
  76. "@vue/compiler-sfc": "^3.0.5",
  77. "@vue/eslint-config-prettier": "^6.0.0",
  78. "@vue/eslint-config-typescript": "^5.0.2",
  79. "eslint": "^6.7.2",
  80. "eslint-plugin-prettier": "^3.1.3",
  81. "eslint-plugin-vue": "^7.0.0-0",
  82. "front-matter": "^4.0.2",
  83. "highlight.js": "^10.3.1",
  84. "husky": "^4.3.0",
  85. "lint-staged": "^10.5.0",
  86. "loader-utils": "^2.0.0",
  87. "markdown-it": "^12.0.2",
  88. "markdown-it-anchor": "^6.0.0",
  89. "markdown-it-chain": "^1.3.0",
  90. "markdown-it-container": "^3.0.0",
  91. "prettier": "^1.19.1",
  92. "transliteration": "^2.2.0",
  93. "typescript": "^4.1.5"
  94. },
  95. "eslintConfig": {
  96. "root": true,
  97. "env": {
  98. "node": true
  99. },
  100. "extends": [
  101. "plugin:vue/vue3-essential",
  102. "eslint:recommended",
  103. "@vue/typescript/recommended",
  104. "@vue/prettier",
  105. "@vue/prettier/@typescript-eslint"
  106. ],
  107. "parserOptions": {
  108. "ecmaVersion": 2020
  109. },
  110. "rules": {
  111. "vue/no-unused-components": "off",
  112. "no-debugger": "off"
  113. }
  114. },
  115. "husky": {
  116. "hooks": {
  117. "pre-commit": "node ./jd/verifymail.js && lint-staged",
  118. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  119. }
  120. },
  121. "lint-staged": {
  122. "*.{ts,js,vue,scss}": "prettier --write"
  123. },
  124. "repository": {
  125. "type": "git",
  126. "url": "https://github.com/jdf2e/nutui.git"
  127. },
  128. "browserslist": [
  129. "> 1%",
  130. "last 2 versions",
  131. "not dead"
  132. ]
  133. }