package.json 3.4 KB

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