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.

150 lines
5.4 KiB

4 months ago
  1. {
  2. "name": "vue",
  3. "version": "2.6.14",
  4. "description": "Reactive, component-oriented view layer for modern web interfaces.",
  5. "main": "dist/vue.runtime.common.js",
  6. "module": "dist/vue.runtime.esm.js",
  7. "unpkg": "dist/vue.js",
  8. "jsdelivr": "dist/vue.js",
  9. "typings": "types/index.d.ts",
  10. "files": [
  11. "src",
  12. "dist/*.js",
  13. "types/*.d.ts"
  14. ],
  15. "sideEffects": false,
  16. "scripts": {
  17. "dev": "rollup -w -c scripts/config.js --environment TARGET:web-full-dev",
  18. "dev:cjs": "rollup -w -c scripts/config.js --environment TARGET:web-runtime-cjs-dev",
  19. "dev:esm": "rollup -w -c scripts/config.js --environment TARGET:web-runtime-esm",
  20. "dev:test": "karma start test/unit/karma.dev.config.js",
  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. "dev:weex": "rollup -w -c scripts/config.js --environment TARGET:weex-framework",
  24. "dev:weex:factory": "rollup -w -c scripts/config.js --environment TARGET:weex-factory",
  25. "dev:weex:compiler": "rollup -w -c scripts/config.js --environment TARGET:weex-compiler ",
  26. "build": "node scripts/build.js",
  27. "build:ssr": "npm run build -- web-runtime-cjs,web-server-renderer",
  28. "build:weex": "npm run build -- weex",
  29. "test": "npm run lint && flow check && npm run test:types && npm run test:cover && npm run test:e2e -- --env phantomjs && npm run test:ssr && npm run test:weex",
  30. "test:unit": "karma start test/unit/karma.unit.config.js",
  31. "test:cover": "karma start test/unit/karma.cover.config.js",
  32. "test:e2e": "npm run build -- web-full-prod,web-server-basic-renderer && node test/e2e/runner.js",
  33. "test:weex": "npm run build:weex && jasmine JASMINE_CONFIG_PATH=test/weex/jasmine.js",
  34. "test:ssr": "npm run build:ssr && jasmine JASMINE_CONFIG_PATH=test/ssr/jasmine.js",
  35. "test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2",
  36. "test:types": "tsc -p ./types/test/tsconfig.json",
  37. "lint": "eslint src scripts test",
  38. "flow": "flow check",
  39. "sauce": "karma start test/unit/karma.sauce.config.js",
  40. "bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js",
  41. "release": "bash scripts/release.sh",
  42. "release:weex": "bash scripts/release-weex.sh",
  43. "release:note": "node scripts/gen-release-note.js",
  44. "commit": "git-cz"
  45. },
  46. "gitHooks": {
  47. "pre-commit": "lint-staged",
  48. "commit-msg": "node scripts/verify-commit-msg.js"
  49. },
  50. "lint-staged": {
  51. "*.js": [
  52. "eslint --fix",
  53. "git add"
  54. ]
  55. },
  56. "repository": {
  57. "type": "git",
  58. "url": "git+https://github.com/vuejs/vue.git"
  59. },
  60. "keywords": [
  61. "vue"
  62. ],
  63. "author": "Evan You",
  64. "license": "MIT",
  65. "bugs": {
  66. "url": "https://github.com/vuejs/vue/issues"
  67. },
  68. "homepage": "https://github.com/vuejs/vue#readme",
  69. "devDependencies": {
  70. "@babel/core": "^7.0.0",
  71. "@babel/plugin-proposal-class-properties": "^7.1.0",
  72. "@babel/plugin-syntax-dynamic-import": "^7.0.0",
  73. "@babel/plugin-syntax-jsx": "^7.0.0",
  74. "@babel/plugin-transform-flow-strip-types": "^7.0.0",
  75. "@babel/preset-env": "^7.0.0",
  76. "@babel/register": "^7.0.0",
  77. "@types/node": "^12.12.0",
  78. "@types/webpack": "^4.4.22",
  79. "acorn": "^5.2.1",
  80. "babel-eslint": "^10.0.1",
  81. "babel-helper-vue-jsx-merge-props": "^2.0.3",
  82. "babel-loader": "^8.0.4",
  83. "babel-plugin-istanbul": "^5.1.0",
  84. "babel-plugin-transform-vue-jsx": "^4.0.1",
  85. "babel-preset-flow-vue": "^1.0.0",
  86. "buble": "^0.19.3",
  87. "chalk": "^2.3.0",
  88. "chromedriver": "^2.45.0",
  89. "codecov": "^3.0.0",
  90. "commitizen": "^2.9.6",
  91. "conventional-changelog": "^1.1.3",
  92. "cross-spawn": "^6.0.5",
  93. "cz-conventional-changelog": "^2.0.0",
  94. "de-indent": "^1.0.2",
  95. "es6-promise": "^4.1.0",
  96. "escodegen": "^1.8.1",
  97. "eslint": "^5.7.0",
  98. "eslint-plugin-flowtype": "^2.34.0",
  99. "eslint-plugin-jasmine": "^2.8.4",
  100. "file-loader": "^3.0.1",
  101. "flow-bin": "^0.61.0",
  102. "hash-sum": "^1.0.2",
  103. "he": "^1.1.1",
  104. "http-server": "^0.12.3",
  105. "jasmine": "^2.99.0",
  106. "jasmine-core": "^2.99.0",
  107. "karma": "^3.1.1",
  108. "karma-chrome-launcher": "^2.1.1",
  109. "karma-coverage": "^1.1.1",
  110. "karma-firefox-launcher": "^1.0.1",
  111. "karma-jasmine": "^1.1.0",
  112. "karma-mocha-reporter": "^2.2.3",
  113. "karma-phantomjs-launcher": "^1.0.4",
  114. "karma-safari-launcher": "^1.0.0",
  115. "karma-sauce-launcher": "^2.0.2",
  116. "karma-sourcemap-loader": "^0.3.7",
  117. "karma-webpack": "^4.0.0-rc.2",
  118. "lint-staged": "^8.0.0",
  119. "lodash": "^4.17.4",
  120. "lodash.template": "^4.4.0",
  121. "lodash.uniq": "^4.5.0",
  122. "lru-cache": "^5.1.1",
  123. "nightwatch": "^0.9.16",
  124. "nightwatch-helpers": "^1.2.0",
  125. "phantomjs-prebuilt": "^2.1.14",
  126. "puppeteer": "^1.11.0",
  127. "resolve": "^1.3.3",
  128. "rollup": "^1.0.0",
  129. "rollup-plugin-alias": "^1.3.1",
  130. "rollup-plugin-buble": "^0.19.6",
  131. "rollup-plugin-commonjs": "^9.2.0",
  132. "rollup-plugin-flow-no-whitespace": "^1.0.0",
  133. "rollup-plugin-node-resolve": "^4.0.0",
  134. "rollup-plugin-replace": "^2.0.0",
  135. "selenium-server": "^2.53.1",
  136. "serialize-javascript": "^3.1.0",
  137. "shelljs": "^0.8.1",
  138. "terser": "^3.10.2",
  139. "typescript": "^3.6.4",
  140. "webpack": "~4.28.4",
  141. "weex-js-runtime": "^0.23.6",
  142. "weex-styler": "^0.3.0",
  143. "yorkie": "^2.0.0"
  144. },
  145. "config": {
  146. "commitizen": {
  147. "path": "./node_modules/cz-conventional-changelog"
  148. }
  149. }
  150. }