package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "vue",
  3. "version": "2.6.14",
  4. "packageManager": "pnpm@7.1.0",
  5. "description": "Reactive, component-oriented view layer for modern web interfaces.",
  6. "main": "dist/vue.runtime.common.js",
  7. "module": "dist/vue.runtime.esm.js",
  8. "unpkg": "dist/vue.js",
  9. "jsdelivr": "dist/vue.js",
  10. "typings": "types/index.d.ts",
  11. "files": [
  12. "src",
  13. "dist/*.js",
  14. "types/*.d.ts"
  15. ],
  16. "sideEffects": false,
  17. "scripts": {
  18. "dev": "rollup -w -c scripts/config.js --environment TARGET:web-full-dev",
  19. "dev:cjs": "rollup -w -c scripts/config.js --environment TARGET:web-runtime-cjs-dev",
  20. "dev:esm": "rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm",
  21. "dev:ssr": "rollup -w -c scripts/config.js --environment TARGET:web-server-renderer",
  22. "dev:compiler": "rollup -w -c scripts/config.js --environment TARGET:web-compiler ",
  23. "build": "node scripts/build.js",
  24. "build:ssr": "npm run build -- web-runtime-cjs,web-server-renderer",
  25. "test": "npm run lint && npm run ts-check && npm run test:types && npm run test:unit && npm run test:e2e",
  26. "test:unit": "vitest run test/unit",
  27. "test:ssr": "npm run build:ssr && vitest run test/ssr",
  28. "test:e2e": "npm run build -- web-full-prod,web-server-renderer-basic && vitest run test/e2e",
  29. "test:transition": "karma start test/transition/karma.conf.js",
  30. "test:types": "tsc -p ./types/tsconfig.json",
  31. "lint": "eslint src scripts test",
  32. "ts-check": "tsc -p tsconfig.json --noEmit",
  33. "ts-check:test": "tsc -p test/tsconfig.json --noEmit",
  34. "bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js",
  35. "release": "bash scripts/release.sh",
  36. "release:note": "node scripts/gen-release-note.js",
  37. "commit": "git-cz"
  38. },
  39. "gitHooks": {
  40. "pre-commit": "lint-staged",
  41. "commit-msg": "node scripts/verify-commit-msg.js"
  42. },
  43. "lint-staged": {
  44. "*.js": [
  45. "eslint --fix"
  46. ]
  47. },
  48. "repository": {
  49. "type": "git",
  50. "url": "git+https://github.com/vuejs/vue.git"
  51. },
  52. "keywords": [
  53. "vue"
  54. ],
  55. "author": "Evan You",
  56. "license": "MIT",
  57. "bugs": {
  58. "url": "https://github.com/vuejs/vue/issues"
  59. },
  60. "homepage": "https://github.com/vuejs/vue#readme",
  61. "devDependencies": {
  62. "@rollup/plugin-alias": "^3.1.9",
  63. "@rollup/plugin-commonjs": "^22.0.0",
  64. "@rollup/plugin-node-resolve": "^13.2.1",
  65. "@rollup/plugin-replace": "^4.0.0",
  66. "@types/he": "^1.1.2",
  67. "@types/node": "^17.0.30",
  68. "@typescript-eslint/eslint-plugin": "^5.21.0",
  69. "@typescript-eslint/parser": "^5.21.0",
  70. "acorn": "^8.7.1",
  71. "acorn-walk": "^8.2.0",
  72. "chalk": "^4.0.0",
  73. "commitizen": "^4.2.4",
  74. "conventional-changelog": "^3.1.25",
  75. "cross-spawn": "^7.0.3",
  76. "cz-conventional-changelog": "^3.3.0",
  77. "de-indent": "^1.0.2",
  78. "esbuild": "^0.14.39",
  79. "escodegen": "^2.0.0",
  80. "eslint": "^8.14.0",
  81. "file-loader": "^3.0.1",
  82. "hash-sum": "^2.0.0",
  83. "he": "^1.2.0",
  84. "jasmine-core": "^4.1.1",
  85. "jsdom": "^19.0.0",
  86. "karma": "^6.3.20",
  87. "karma-chrome-launcher": "^3.1.1",
  88. "karma-cli": "^2.0.0",
  89. "karma-esbuild": "^2.2.4",
  90. "karma-jasmine": "^5.0.1",
  91. "lint-staged": "^12.4.1",
  92. "lodash": "^4.17.21",
  93. "lodash.template": "^4.4.0",
  94. "lodash.uniq": "^4.5.0",
  95. "lru-cache": "^7.8.1",
  96. "marked": "^3.0.8",
  97. "memory-fs": "^0.5.0",
  98. "puppeteer": "^14.1.1",
  99. "resolve": "^1.22.0",
  100. "rollup": "^2.70.2",
  101. "rollup-plugin-typescript2": "^0.31.2",
  102. "serialize-javascript": "^6.0.0",
  103. "shelljs": "^0.8.5",
  104. "source-map": "0.5.6",
  105. "terser": "^5.13.1",
  106. "todomvc-app-css": "^2.4.2",
  107. "ts-node": "^10.7.0",
  108. "tslib": "^2.4.0",
  109. "typescript": "^4.6.4",
  110. "vitest": "^0.12.6",
  111. "webpack": "^4.46.0",
  112. "yorkie": "^2.0.0"
  113. },
  114. "config": {
  115. "commitizen": {
  116. "path": "./node_modules/cz-conventional-changelog"
  117. }
  118. }
  119. }