package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "@chenfengyuan/vue-carousel",
  3. "version": "2.0.0",
  4. "description": "Carousel component for Vue 3.",
  5. "main": "dist/vue-carousel.js",
  6. "module": "dist/vue-carousel.esm.js",
  7. "types": "dist/vue-carousel.d.ts",
  8. "files": [
  9. "dist"
  10. ],
  11. "scripts": {
  12. "build": "rollup -c --environment BUILD:production",
  13. "build:docs": "webpack --env production",
  14. "build:types": "move-file dist/vue-carousel.vue.d.ts dist/vue-carousel.d.ts",
  15. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
  16. "clean": "del-cli dist",
  17. "lint": "npm run lint:js && npm run lint:css",
  18. "lint:css": "stylelint **/*.{css,scss,vue} --fix",
  19. "lint:js": "eslint . --ext .js,.ts,.vue --fix",
  20. "prepare": "husky install",
  21. "release": "npm run clean && npm run lint && npm run build && npm run build:types && npm run build:docs && npm test && npm run changelog",
  22. "serve": "webpack serve --hot --open",
  23. "start": "npm run serve",
  24. "test": "jest",
  25. "test:coverage": "cat coverage/lcov.info | codecov"
  26. },
  27. "repository": {
  28. "type": "git",
  29. "url": "https://github.com/fengyuanchen/vue-carousel.git"
  30. },
  31. "keywords": [
  32. "number",
  33. "input",
  34. "vue",
  35. "vue3",
  36. "vue-component",
  37. "front-end",
  38. "web"
  39. ],
  40. "author": "Chen Fengyuan (https://chenfengyuan.com/)",
  41. "license": "MIT",
  42. "bugs": "https://github.com/fengyuanchen/vue-carousel/issues",
  43. "homepage": "https://fengyuanchen.github.io/vue-carousel",
  44. "devDependencies": {
  45. "@babel/core": "^7.17.0",
  46. "@babel/preset-env": "^7.16.11",
  47. "@commitlint/cli": "^16.1.0",
  48. "@commitlint/config-conventional": "^16.0.0",
  49. "@types/jest": "^27.4.0",
  50. "@typescript-eslint/eslint-plugin": "^5.10.2",
  51. "@typescript-eslint/parser": "^5.10.2",
  52. "@vue/test-utils": "^2.0.0-rc.18",
  53. "@vue/vue3-jest": "^27.0.0-alpha.4",
  54. "babel-jest": "^27.5.0",
  55. "babel-loader": "^8.2.3",
  56. "change-case": "^4.1.2",
  57. "codecov": "^3.8.3",
  58. "conventional-changelog-cli": "^2.2.2",
  59. "create-banner": "^2.0.0",
  60. "css-loader": "^6.6.0",
  61. "del-cli": "^4.0.1",
  62. "eslint": "^8.8.0",
  63. "eslint-config-airbnb-typescript": "^16.1.0",
  64. "eslint-plugin-import": "^2.25.4",
  65. "eslint-plugin-vue": "^8.4.1",
  66. "feather-icons": "^4.28.0",
  67. "html-webpack-plugin": "^5.5.0",
  68. "husky": "^7.0.4",
  69. "jest": "^27.5.0",
  70. "lint-staged": "^12.3.3",
  71. "markdown-to-vue-loader": "^3.1.3",
  72. "mini-css-extract-plugin": "^2.5.3",
  73. "move-file-cli": "^3.0.0",
  74. "postcss": "^8.4.6",
  75. "rollup": "^2.67.1",
  76. "rollup-plugin-postcss": "^4.0.2",
  77. "rollup-plugin-terser": "^7.0.2",
  78. "rollup-plugin-typescript2": "^0.31.2",
  79. "rollup-plugin-vue": "^6.0.0",
  80. "sass": "^1.49.7",
  81. "sass-loader": "^12.4.0",
  82. "style-loader": "^3.3.1",
  83. "stylelint": "^14.3.0",
  84. "stylelint-config-recommended-scss": "^5.0.2",
  85. "stylelint-config-recommended-vue": "^1.1.0",
  86. "stylelint-order": "^5.0.0",
  87. "ts-jest": "^27.1.3",
  88. "ts-loader": "^9.2.6",
  89. "tslib": "^2.3.1",
  90. "typescript": "^4.5.5",
  91. "vue": "^3.2.30",
  92. "vue-feather": "^2.0.0",
  93. "vue-loader": "^17.0.0",
  94. "webpack": "^5.68.0",
  95. "webpack-cli": "^4.9.2",
  96. "webpack-dev-server": "^4.7.4"
  97. },
  98. "peerDependencies": {
  99. "vue": "^3.0.0"
  100. },
  101. "publishConfig": {
  102. "access": "public"
  103. }
  104. }