package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. "files": [
  27. "dist",
  28. "README.md",
  29. "package.json",
  30. "LICENSE",
  31. "CHANGELOG.md"
  32. ],
  33. "scripts": {
  34. "dev": "vue-cli-service serve",
  35. "serve": "vue-cli-service serve",
  36. "build": "vue-cli-service build",
  37. "lint": "vue-cli-service lint",
  38. "upload": "vue-cli-service build && node ./jd/upload.js",
  39. "add": "node jd/createComponentMode.js"
  40. },
  41. "dependencies": {
  42. "@types/swiper": "^5.4.1",
  43. "axios": "^0.21.0",
  44. "core-js": "^3.6.5",
  45. "sass": "^1.27.0",
  46. "sass-loader": "^10.0.4",
  47. "swiper": "^4.0.2",
  48. "vue": "^3.0.0",
  49. "vue-router": "^4.0.0-rc.1"
  50. },
  51. "devDependencies": {
  52. "@commitlint/cli": "^11.0.0",
  53. "@commitlint/config-conventional": "^11.0.0",
  54. "@typescript-eslint/eslint-plugin": "^2.33.0",
  55. "@typescript-eslint/parser": "^2.33.0",
  56. "@vue/cli-plugin-babel": "~4.5.8",
  57. "@vue/cli-plugin-eslint": "~4.5.8",
  58. "@vue/cli-plugin-router": "~4.5.8",
  59. "@vue/cli-plugin-typescript": "~4.5.8",
  60. "@vue/cli-service": "~4.5.8",
  61. "@vue/compiler-sfc": "^3.0.2",
  62. "@vue/eslint-config-prettier": "^6.0.0",
  63. "@vue/eslint-config-typescript": "^5.0.2",
  64. "eslint": "^6.7.2",
  65. "eslint-plugin-prettier": "^3.1.3",
  66. "eslint-plugin-vue": "^7.0.0-0",
  67. "front-matter": "^4.0.2",
  68. "highlight.js": "^10.3.1",
  69. "husky": "^4.3.0",
  70. "lint-staged": "^10.5.0",
  71. "loader-utils": "^2.0.0",
  72. "markdown-it": "^12.0.2",
  73. "markdown-it-anchor": "^6.0.0",
  74. "markdown-it-chain": "^1.3.0",
  75. "markdown-it-container": "^3.0.0",
  76. "prettier": "^1.19.1",
  77. "transliteration": "^2.2.0",
  78. "typescript": "~3.9.3",
  79. "vue-loader": "16.0.0-beta.7",
  80. "vue-template-compiler": "^2.6.12"
  81. },
  82. "eslintConfig": {
  83. "root": true,
  84. "env": {
  85. "node": true
  86. },
  87. "extends": [
  88. "plugin:vue/vue3-essential",
  89. "eslint:recommended",
  90. "@vue/typescript/recommended",
  91. "@vue/prettier",
  92. "@vue/prettier/@typescript-eslint"
  93. ],
  94. "parserOptions": {
  95. "ecmaVersion": 2020
  96. },
  97. "rules": {
  98. "vue/no-unused-components": "off",
  99. "no-debugger": "off"
  100. }
  101. },
  102. "husky": {
  103. "hooks": {
  104. "pre-commit": "node ./jd/verifymail.js && lint-staged",
  105. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  106. }
  107. },
  108. "lint-staged": {
  109. "*.{ts,js,vue,scss}": "prettier --write"
  110. },
  111. "repository": {
  112. "type": "git",
  113. "url": "https://github.com/jdf2e/nutui.git"
  114. },
  115. "browserslist": [
  116. "> 1%",
  117. "last 2 versions",
  118. "not dead"
  119. ]
  120. }