package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. {
  2. "name": "vue3-sketch-ruler",
  3. "version": "1.3.7",
  4. "author": "kakajun <253495832@qq.com>",
  5. "license": "MIT",
  6. "private": false,
  7. "files": [
  8. "lib",
  9. "types",
  10. "bin",
  11. "scripts"
  12. ],
  13. "repository": {
  14. "type": "git",
  15. "url": "https://github.com/kakajun/vue3-sketch-ruler/tree/1x"
  16. },
  17. "bin": {
  18. "vue-fix": "bin/vue-fix.js",
  19. "vue-switch": "bin/vue-switch.js"
  20. },
  21. "sideEffects": false,
  22. "typings": "types/index.d.ts",
  23. "main": "lib/index.es.js",
  24. "module": "lib/index.es.js",
  25. "style": "lib/style.css",
  26. "scripts": {
  27. "postinstall": "node ./scripts/postinstall.js",
  28. "install2": "cd example/v2 && npm install",
  29. "switch2": "node bin/vue-switch.js 2 && vue-demi-switch 2",
  30. "switch3": "node bin/vue-switch.js 3 && vue-demi-switch 3",
  31. "dev": "npm run switch3 && vite --config vite.demo.js",
  32. "build": "npm run build3 && npm run build2",
  33. "build3": "npx vue-demi-switch 3 && vite build",
  34. "build2": "npx vue-demi-switch 2 && cd example/v2 && vite build",
  35. "dev2": " npm run switch2 && cd example/v2 && vite --config vite.demo.js",
  36. "build:demo": "npx vue-demi-switch 3 && vite build --config vite.demo.js",
  37. "build:demo2": "npx vue-demi-switch 2 && cd example/v2 && vite build --config vite.demo.js",
  38. "precommit": "lint-staged",
  39. "lint-fix": "eslint --fix --ext .vue,.js,.ts",
  40. "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
  41. "format": "prettier-eslint --write src/**/*.{js,vue} && prettier-eslint --write",
  42. "css": "cross-env stylelint src/**/*.{vue,scss} --fix",
  43. "pretty": "pretty-quick --staged",
  44. "prepare": "husky install",
  45. "test": "jest"
  46. },
  47. "lint-staged": {
  48. "*.{ts,tsx,js,vue,less}": "prettier --write",
  49. "*.{ts,tsx,js,vue}": "eslint --fix",
  50. "*.{vue,css,less}": "stylelint --fix"
  51. },
  52. "devDependencies": {
  53. "@babel/preset-env": "^7.15.8",
  54. "@babel/preset-typescript": "^7.15.0",
  55. "@commitlint/cli": "^13.2.1",
  56. "@commitlint/config-conventional": "^13.2.0",
  57. "@types/jest": "^27.0.2",
  58. "@typescript-eslint/eslint-plugin": "^5.1.0",
  59. "@typescript-eslint/parser": "^5.1.0",
  60. "@vitejs/plugin-vue": "^1.9.3",
  61. "@vue/babel-plugin-jsx": "^1.1.1",
  62. "@vue/eslint-config-prettier": "^6.0.0",
  63. "@vue/test-utils": "^2.0.0-rc.16",
  64. "babel-jest": "^27.3.1",
  65. "cross-env": "^7.0.3",
  66. "eslint": "^8.0.1",
  67. "eslint-config-prettier": "^8.3.0",
  68. "eslint-plugin-prettier": "^4.0.0",
  69. "eslint-plugin-vue": "7.20.0",
  70. "gh-pages": "^3.2.3",
  71. "husky": "^7.0.4",
  72. "jest": "^26.6.3",
  73. "lint-staged": "^11.2.3",
  74. "prettier": "^2.4.1",
  75. "pretty-quick": "^3.1.1",
  76. "rollup-plugin-banner": "^0.2.1",
  77. "sass": "^1.43.4",
  78. "stylelint": "14.0.1",
  79. "stylelint-config-standard": "23.0.0",
  80. "stylelint-order": "5.0.0",
  81. "typescript": "^4.4.4",
  82. "vite": "^2.6.10",
  83. "vite-plugin-dts": "^0.9.2",
  84. "vue": "^3.2.20",
  85. "vue-demi": "^0.12.1",
  86. "vue-jest": "^5.0.0-alpha.10"
  87. },
  88. "peerDependencies": {
  89. "@vue/composition-api": "^1.1.0",
  90. "vue": "^2.6.0 || ^3.2.0"
  91. },
  92. "peerDependenciesMeta": {
  93. "vue": {
  94. "optional": true
  95. },
  96. "@vue/composition-api": {
  97. "optional": true
  98. }
  99. },
  100. "keywords": [
  101. "vue",
  102. "vue3",
  103. "ruler",
  104. "javascript",
  105. "sketch-ruler",
  106. "vue-sketch-ruler",
  107. "room"
  108. ],
  109. "bugs": {
  110. "url": "https://github.com/kakajun/vue3-sketch-ruler/issues"
  111. }
  112. }