You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.4 KiB

4 months ago
  1. {
  2. "name": "pinia",
  3. "version": "2.1.7",
  4. "description": "Intuitive, type safe and flexible Store for Vue",
  5. "main": "index.js",
  6. "module": "dist/pinia.mjs",
  7. "unpkg": "dist/pinia.iife.js",
  8. "jsdelivr": "dist/pinia.iife.js",
  9. "types": "dist/pinia.d.ts",
  10. "exports": {
  11. ".": {
  12. "types": "./dist/pinia.d.ts",
  13. "node": {
  14. "import": {
  15. "production": "./dist/pinia.prod.cjs",
  16. "development": "./dist/pinia.mjs",
  17. "default": "./dist/pinia.mjs"
  18. },
  19. "require": {
  20. "production": "./dist/pinia.prod.cjs",
  21. "development": "./dist/pinia.cjs",
  22. "default": "./index.js"
  23. }
  24. },
  25. "import": "./dist/pinia.mjs",
  26. "require": "./index.js"
  27. },
  28. "./package.json": "./package.json",
  29. "./dist/*": "./dist/*"
  30. },
  31. "sideEffects": false,
  32. "author": {
  33. "name": "Eduardo San Martin Morote",
  34. "email": "posva13@gmail.com"
  35. },
  36. "funding": "https://github.com/sponsors/posva",
  37. "files": [
  38. "dist/*.js",
  39. "dist/*.mjs",
  40. "dist/*.cjs",
  41. "dist/pinia.d.ts",
  42. "index.js",
  43. "index.cjs",
  44. "LICENSE",
  45. "README.md"
  46. ],
  47. "keywords": [
  48. "vue",
  49. "vuex",
  50. "store",
  51. "pinia",
  52. "piña",
  53. "pigna",
  54. "composition",
  55. "api",
  56. "setup",
  57. "typed",
  58. "typescript",
  59. "ts",
  60. "type",
  61. "safe"
  62. ],
  63. "license": "MIT",
  64. "devDependencies": {
  65. "@microsoft/api-extractor": "7.34.4",
  66. "@vue/test-utils": "^2.4.0"
  67. },
  68. "dependencies": {
  69. "@vue/devtools-api": "^6.5.0",
  70. "vue-demi": ">=0.14.5"
  71. },
  72. "peerDependencies": {
  73. "@vue/composition-api": "^1.4.0",
  74. "typescript": ">=4.4.4",
  75. "vue": "^2.6.14 || ^3.3.0"
  76. },
  77. "peerDependenciesMeta": {
  78. "typescript": {
  79. "optional": true
  80. },
  81. "@vue/composition-api": {
  82. "optional": true
  83. }
  84. },
  85. "repository": {
  86. "type": "git",
  87. "url": "git+https://github.com/vuejs/pinia.git"
  88. },
  89. "bugs": {
  90. "url": "https://github.com/vuejs/pinia/issues"
  91. },
  92. "homepage": "https://github.com/vuejs/pinia#readme",
  93. "scripts": {
  94. "build": "rimraf dist && rollup -c ../../rollup.config.mjs --environment TARGET:pinia",
  95. "build:dts": "api-extractor run --local --verbose && tail -n +3 ./src/globalExtensions.ts >> dist/pinia.d.ts",
  96. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -l pinia -r 1",
  97. "test:dts": "tsc -p ./test-dts/tsconfig.json",
  98. "test": "yarn run build && yarn run build:dts && yarn test:dts"
  99. }
  100. }