package.json 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "name": "@vue/composition-api",
  3. "version": "1.7.2",
  4. "packageManager": "pnpm@8.6.12",
  5. "description": "Provide logic composition capabilities for Vue.",
  6. "keywords": [
  7. "vue",
  8. "composition-api"
  9. ],
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/vuejs/composition-api.git"
  13. },
  14. "main": "./index.js",
  15. "module": "./dist/vue-composition-api.mjs",
  16. "unpkg": "./dist/vue-composition-api.prod.js",
  17. "jsdelivr": "./dist/vue-composition-api.prod.js",
  18. "types": "./dist/vue-composition-api.d.ts",
  19. "exports": {
  20. ".": {
  21. "import": "./dist/vue-composition-api.mjs",
  22. "types": "./dist/vue-composition-api.d.ts",
  23. "require": "./index.js"
  24. },
  25. "./*": "./*"
  26. },
  27. "author": {
  28. "name": "liximomo",
  29. "email": "liximomo@gmail.com"
  30. },
  31. "license": "MIT",
  32. "sideEffects": false,
  33. "files": [
  34. "dist",
  35. "index.js"
  36. ],
  37. "scripts": {
  38. "start": "rollup -c -w",
  39. "build": "rimraf dist && rollup -c",
  40. "lint": "prettier --write --parser typescript \"{src,test,test-dts}/**/*.ts?(x)\" && prettier --write \"{src,test}/**/*.js\"",
  41. "test": "vitest",
  42. "test:all": "pnpm run test && pnpm run test:dts",
  43. "test:dts": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.vue3.json && pnpm run build && tsc -p ./test-dts/tsconfig.build.json",
  44. "update-readme": "node ./scripts/update-readme.js",
  45. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && pnpm run update-readme && git add CHANGELOG.md README.*",
  46. "release": "bumpp -x \"npm run changelog\" --all && npm publish",
  47. "release-gh": "conventional-github-releaser -p angular",
  48. "prepublishOnly": "npm run build"
  49. },
  50. "bugs": {
  51. "url": "https://github.com/vuejs/composition-api/issues"
  52. },
  53. "homepage": "https://github.com/vuejs/composition-api#readme",
  54. "peerDependencies": {
  55. "vue": ">= 2.5 < 2.7"
  56. },
  57. "devDependencies": {
  58. "@rollup/plugin-node-resolve": "^13.3.0",
  59. "@rollup/plugin-replace": "^4.0.0",
  60. "@types/node": "^17.0.31",
  61. "bumpp": "^9.1.1",
  62. "conventional-changelog-cli": "^2.2.2",
  63. "conventional-github-releaser": "^3.1.5",
  64. "jsdom": "^20.0.0",
  65. "lint-staged": "^14.0.0",
  66. "prettier": "^3.0.1",
  67. "rimraf": "^5.0.1",
  68. "rollup": "^2.72.0",
  69. "rollup-plugin-dts": "^4.2.1",
  70. "rollup-plugin-terser": "^7.0.2",
  71. "rollup-plugin-typescript2": "^0.31.2",
  72. "simple-git-hooks": "^2.9.0",
  73. "tslib": "^2.4.0",
  74. "typescript": "^4.6.4",
  75. "vitest": "^0.34.1",
  76. "vue": "^2.6.14",
  77. "vue3": "npm:vue@3.2.21",
  78. "vue-router": "^3.5.3",
  79. "vue-server-renderer": "^2.6.14"
  80. },
  81. "simple-git-hooks": {
  82. "pre-commit": "lint-staged"
  83. },
  84. "lint-staged": {
  85. "*.js": [
  86. "prettier --write"
  87. ],
  88. "*.ts?(x)": [
  89. "prettier --parser=typescript --write"
  90. ]
  91. },
  92. "prettier": {
  93. "semi": false,
  94. "singleQuote": true,
  95. "printWidth": 80
  96. }
  97. }