package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "3.0.0",
  4. "npm": {
  5. "tag": "next"
  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 && tsc",
  40. "dev": "npm run checked && vite --open --force",
  41. "build:site": "npm run checked && vite build",
  42. "build:gh-pages": "npm run checked && vite build --base=/nutui/",
  43. "build:site:oss": "npm run checked && vite build --base=/nutui/3x/",
  44. "build": "npm run checked && vite build --config vite.config.build.ts && npm run generate:types && npm run generate:themes",
  45. "build:disperse": "vite build --config vite.config.build.disperse.ts",
  46. "serve": "vite preview",
  47. "upload": "yarn build:site:oss && node ./jd/upload.js",
  48. "add": "node jd/createComponentMode.js",
  49. "publish:beta": "npm publish --tag=beta",
  50. "generate:file": "node jd/generate-nutui.js",
  51. "generate:types": "node jd/generate-types.js",
  52. "generate:themes": "node jd/generate-themes.js",
  53. "prepare": "husky install",
  54. "test": "jest",
  55. "release": "standard-version -a"
  56. },
  57. "standard-version": {
  58. "scripts": {
  59. "postchangelog": "node ./jd/updateChangelog.js"
  60. }
  61. },
  62. "dependencies": {
  63. "sass": "^1.32.8",
  64. "vue": "^3.0.5",
  65. "vue-router": "^4.0.4"
  66. },
  67. "devDependencies": {
  68. "axios": "^0.21.0",
  69. "@commitlint/cli": "^10.0.0",
  70. "@commitlint/config-conventional": "^10.0.0",
  71. "@types/jest": "^26.0.22",
  72. "@types/node": "^14.14.31",
  73. "@vitejs/plugin-legacy": "^1.4.0",
  74. "@vitejs/plugin-vue": "^1.2.2",
  75. "@vue/compiler-sfc": "^3.0.11",
  76. "@vue/eslint-config-prettier": "^6.0.0",
  77. "@vue/eslint-config-typescript": "^5.0.2",
  78. "@vue/test-utils": "^2.0.0-rc.6",
  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. "fs-extra": "^9.1.0",
  84. "highlight.js": "^10.3.1",
  85. "husky": "^6.0.0",
  86. "jest": "^26.6.3",
  87. "lint-staged": "^10.5.0",
  88. "prettier": "^1.19.1",
  89. "standard-version": "^9.3.0",
  90. "transliteration": "^2.2.0",
  91. "ts-jest": "^26.5.5",
  92. "typescript": "^4.1.5",
  93. "vite": "^2.3.4",
  94. "vite-plugin-md": "^0.6.7",
  95. "vue-jest": "^5.0.0-alpha.7"
  96. },
  97. "eslintConfig": {
  98. "root": true,
  99. "env": {
  100. "node": true
  101. },
  102. "extends": [
  103. "plugin:vue/vue3-essential",
  104. "eslint:recommended",
  105. "@vue/typescript/recommended",
  106. "@vue/prettier",
  107. "@vue/prettier/@typescript-eslint"
  108. ],
  109. "parserOptions": {
  110. "ecmaVersion": 2020
  111. },
  112. "rules": {
  113. "vue/no-unused-components": "off",
  114. "no-debugger": "off"
  115. }
  116. },
  117. "lint-staged": {
  118. "*.md": "prettier --write",
  119. "*.{ts,tsx,js,vue,scss}": "prettier --write"
  120. },
  121. "repository": {
  122. "type": "git",
  123. "url": "https://github.com/jdf2e/nutui.git"
  124. }
  125. }