package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. },
  39. "dependencies": {
  40. "core-js": "^3.6.5",
  41. "sass": "^1.27.0",
  42. "sass-loader": "^10.0.4",
  43. "vue": "^3.0.0",
  44. "vue-router": "^4.0.0-0"
  45. },
  46. "devDependencies": {
  47. "@commitlint/cli": "^11.0.0",
  48. "@commitlint/config-conventional": "^11.0.0",
  49. "@typescript-eslint/eslint-plugin": "^2.33.0",
  50. "@typescript-eslint/parser": "^2.33.0",
  51. "@vue/cli-plugin-babel": "~4.5.0",
  52. "@vue/cli-plugin-eslint": "~4.5.0",
  53. "@vue/cli-plugin-router": "~4.5.0",
  54. "@vue/cli-plugin-typescript": "~4.5.0",
  55. "@vue/cli-service": "~4.5.0",
  56. "@vue/compiler-sfc": "^3.0.0",
  57. "@vue/eslint-config-prettier": "^6.0.0",
  58. "@vue/eslint-config-typescript": "^5.0.2",
  59. "eslint": "^6.7.2",
  60. "eslint-plugin-prettier": "^3.1.3",
  61. "eslint-plugin-vue": "^7.0.0-0",
  62. "husky": "^4.3.0",
  63. "lint-staged": "^10.5.0",
  64. "prettier": "^1.19.1",
  65. "typescript": "~3.9.3"
  66. },
  67. "eslintConfig": {
  68. "root": true,
  69. "env": {
  70. "node": true
  71. },
  72. "extends": [
  73. "plugin:vue/vue3-essential",
  74. "eslint:recommended",
  75. "@vue/typescript/recommended",
  76. "@vue/prettier",
  77. "@vue/prettier/@typescript-eslint"
  78. ],
  79. "parserOptions": {
  80. "ecmaVersion": 2020
  81. },
  82. "rules": {
  83. "vue/no-unused-components": "off",
  84. "no-debugger": "off",
  85. "no-console": "off"
  86. }
  87. },
  88. "husky": {
  89. "hooks": {
  90. "pre-commit": "node ./jd/verifymail.js && lint-staged",
  91. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
  92. }
  93. },
  94. "lint-staged": {
  95. "*.{ts,js,vue,scss}": "prettier --write"
  96. },
  97. "repository": {
  98. "type": "git",
  99. "url": "https://github.com/jdf2e/nutui.git"
  100. },
  101. "browserslist": [
  102. "> 1%",
  103. "last 2 versions",
  104. "not dead"
  105. ]
  106. }