package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "@nutui/nutui",
  3. "version": "3.0.0-beta.13",
  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. "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. },
  55. "dependencies": {
  56. "axios": "^0.21.0",
  57. "gsap": "^3.6.0",
  58. "sass": "^1.32.8",
  59. "vue": "^3.0.5",
  60. "vue-router": "^4.0.4"
  61. },
  62. "devDependencies": {
  63. "@commitlint/cli": "^10.0.0",
  64. "@commitlint/config-conventional": "^10.0.0",
  65. "@types/node": "^14.14.31",
  66. "@vitejs/plugin-legacy": "^1.3.2",
  67. "@vitejs/plugin-vue": "^1.2.1",
  68. "@vue/compiler-sfc": "^3.0.11",
  69. "@vue/eslint-config-prettier": "^6.0.0",
  70. "@vue/eslint-config-typescript": "^5.0.2",
  71. "eslint": "^6.7.2",
  72. "eslint-plugin-prettier": "^3.1.3",
  73. "eslint-plugin-vue": "^7.0.0-0",
  74. "front-matter": "^4.0.2",
  75. "fs-extra": "^9.1.0",
  76. "highlight.js": "^10.3.1",
  77. "husky": "^6.0.0",
  78. "lint-staged": "^10.5.0",
  79. "prettier": "^1.19.1",
  80. "transliteration": "^2.2.0",
  81. "typescript": "^4.1.5",
  82. "vite": "^2.1.5",
  83. "vite-plugin-md": "^0.6.3"
  84. },
  85. "eslintConfig": {
  86. "root": true,
  87. "env": {
  88. "node": true
  89. },
  90. "extends": [
  91. "plugin:vue/vue3-essential",
  92. "eslint:recommended",
  93. "@vue/typescript/recommended",
  94. "@vue/prettier",
  95. "@vue/prettier/@typescript-eslint"
  96. ],
  97. "parserOptions": {
  98. "ecmaVersion": 2020
  99. },
  100. "rules": {
  101. "vue/no-unused-components": "off",
  102. "no-debugger": "off"
  103. }
  104. },
  105. "lint-staged": {
  106. "*.md": "prettier --write",
  107. "*.{ts,tsx,js,vue,scss}": "prettier --write"
  108. },
  109. "repository": {
  110. "type": "git",
  111. "url": "https://github.com/jdf2e/nutui.git"
  112. }
  113. }