package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "3.0.0-beta.0",
  4. "npm": {
  5. "tag": "next"
  6. },
  7. "description": "一套京东风格的轻量级移动端 Vue 组件库",
  8. "main": "dist/nutui.umd.js",
  9. "module": "dist/nutui.es.js",
  10. "exports": {
  11. ".": {
  12. "import": "./dist/nutui.es.js",
  13. "require": "./dist/nutui.umd.js"
  14. }
  15. },
  16. "style": "dist/style.css",
  17. "typings": "dist/types/nutui.d.ts",
  18. "keywords": [
  19. "nutui",
  20. "nutui2",
  21. "nutui3",
  22. "vue",
  23. "vue3",
  24. "webpack",
  25. "vue component",
  26. "vue3 component",
  27. "vite",
  28. "jdc",
  29. "jdcfe"
  30. ],
  31. "author": "jdcfe",
  32. "license": "MIT",
  33. "publishConfig": {
  34. "access": "public",
  35. "registry": "https://registry.npmjs.org/"
  36. },
  37. "files": [
  38. "dist",
  39. "README.md",
  40. "package.json",
  41. "LICENSE",
  42. "CHANGELOG.md"
  43. ],
  44. "scripts": {
  45. "dev": "tsc && vite --open",
  46. "build:site": "vite build",
  47. "build": "vite build -c vite.config.build.ts",
  48. "build:ts": "rm -rf dist/es && tsc",
  49. "serve": "vite preview",
  50. "upload": "yarn build:site && node ./jd/upload.js",
  51. "add": "node jd/createComponentMode.js"
  52. },
  53. "dependencies": {
  54. "axios": "^0.21.0",
  55. "gsap": "^3.6.0",
  56. "sass": "^1.32.8",
  57. "vue": "^3.0.5",
  58. "vue-router": "^4.0.4"
  59. },
  60. "devDependencies": {
  61. "@commitlint/cli": "^10.0.0",
  62. "@commitlint/config-conventional": "^10.0.0",
  63. "@types/node": "^14.14.31",
  64. "@vitejs/plugin-vue": "^1.1.4",
  65. "@vue/compiler-sfc": "^3.0.5",
  66. "@vue/eslint-config-prettier": "^6.0.0",
  67. "@vue/eslint-config-typescript": "^5.0.2",
  68. "eslint": "^6.7.2",
  69. "eslint-plugin-prettier": "^3.1.3",
  70. "eslint-plugin-vue": "^7.0.0-0",
  71. "front-matter": "^4.0.2",
  72. "highlight.js": "^10.3.1",
  73. "husky": "^4.3.0",
  74. "lint-staged": "^10.5.0",
  75. "prettier": "^1.19.1",
  76. "swiper": "4.0.2",
  77. "transliteration": "^2.2.0",
  78. "typescript": "^4.1.5",
  79. "vite": "^2.0.2",
  80. "vite-plugin-md": "^0.5.1"
  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. }