2
0

package.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. {
  2. "name": "vue",
  3. "version": "2.3.3",
  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. "typings": "types/index.d.ts",
  9. "files": [
  10. "src",
  11. "dist/*.js",
  12. "types/*.d.ts"
  13. ],
  14. "scripts": {
  15. "dev": "rollup -w -c build/config.js --environment TARGET:web-full-dev",
  16. "dev:cjs": "rollup -w -c build/config.js --environment TARGET:web-runtime-cjs",
  17. "dev:esm": "rollup -w -c build/config.js --environment TARGET:web-runtime-esm",
  18. "dev:test": "karma start build/karma.dev.config.js",
  19. "dev:ssr": "rollup -w -c build/config.js --environment TARGET:web-server-renderer",
  20. "dev:compiler": "rollup -w -c build/config.js --environment TARGET:web-compiler ",
  21. "dev:weex": "rollup -w -c build/config.js --environment TARGET:weex-framework ",
  22. "dev:weex:compiler": "rollup -w -c build/config.js --environment TARGET:weex-compiler ",
  23. "build": "node build/build.js",
  24. "build:ssr": "npm run build -- vue.runtime.common.js,vue-server-renderer",
  25. "build:weex": "npm run build -- weex-vue-framework,weex-template-compiler",
  26. "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",
  27. "test:unit": "karma start build/karma.unit.config.js",
  28. "test:cover": "karma start build/karma.cover.config.js",
  29. "test:e2e": "npm run build -- vue.min.js && node test/e2e/runner.js",
  30. "test:weex": "npm run build:weex && jasmine JASMINE_CONFIG_PATH=test/weex/jasmine.json",
  31. "test:ssr": "npm run build:ssr && jasmine JASMINE_CONFIG_PATH=test/ssr/jasmine.json",
  32. "test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2",
  33. "test:types": "tsc -p ./types/test/tsconfig.json",
  34. "lint": "eslint src build test",
  35. "flow": "flow check",
  36. "sauce": "karma start build/karma.sauce.config.js",
  37. "bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js",
  38. "release": "bash build/release.sh",
  39. "release:weex": "bash build/release-weex.sh",
  40. "release:note": "node build/gen-release-note.js",
  41. "postinstall": "bash build/install-hooks.sh",
  42. "commit": "git-cz"
  43. },
  44. "repository": {
  45. "type": "git",
  46. "url": "git+https://github.com/vuejs/vue.git"
  47. },
  48. "keywords": [
  49. "vue"
  50. ],
  51. "author": "Evan You",
  52. "license": "MIT",
  53. "bugs": {
  54. "url": "https://github.com/vuejs/vue/issues"
  55. },
  56. "homepage": "https://github.com/vuejs/vue#readme",
  57. "devDependencies": {
  58. "babel-core": "^6.25.0",
  59. "babel-eslint": "^7.2.3",
  60. "babel-helper-vue-jsx-merge-props": "^2.0.2",
  61. "babel-loader": "^7.0.0",
  62. "babel-plugin-istanbul": "^4.1.4",
  63. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  64. "babel-plugin-syntax-jsx": "^6.18.0",
  65. "babel-plugin-transform-vue-jsx": "^3.4.3",
  66. "babel-preset-es2015": "^6.24.1",
  67. "babel-preset-flow-vue": "^1.0.0",
  68. "buble": "^0.15.2",
  69. "chalk": "^1.1.3",
  70. "chromedriver": "^2.30.1",
  71. "codecov.io": "^0.1.6",
  72. "commitizen": "^2.9.6",
  73. "conventional-changelog": "^1.1.3",
  74. "cross-spawn": "^5.1.0",
  75. "cz-conventional-changelog": "^2.0.0",
  76. "de-indent": "^1.0.2",
  77. "es6-promise": "^4.1.0",
  78. "eslint": "^3.0.0",
  79. "eslint-loader": "^1.7.1",
  80. "eslint-plugin-flowtype": "^2.34.0",
  81. "eslint-plugin-jasmine": "^2.2.0",
  82. "eslint-plugin-vue-libs": "^1.2.0",
  83. "file-loader": "^0.11.2",
  84. "flow-bin": "^0.48.0",
  85. "hash-sum": "^1.0.2",
  86. "he": "^1.1.1",
  87. "http-server": "^0.10.0",
  88. "jasmine": "^2.6.0",
  89. "jasmine-core": "^2.6.3",
  90. "karma": "^1.7.0",
  91. "karma-chrome-launcher": "^2.1.1",
  92. "karma-coverage": "^1.1.1",
  93. "karma-firefox-launcher": "^1.0.1",
  94. "karma-jasmine": "^1.1.0",
  95. "karma-mocha-reporter": "^2.2.3",
  96. "karma-phantomjs-launcher": "^1.0.4",
  97. "karma-safari-launcher": "^1.0.0",
  98. "karma-sauce-launcher": "^1.1.0",
  99. "karma-sourcemap-loader": "^0.3.7",
  100. "karma-webpack": "^2.0.3",
  101. "lodash": "^4.17.4",
  102. "lodash.template": "^4.4.0",
  103. "lodash.uniq": "^4.5.0",
  104. "lru-cache": "^4.1.1",
  105. "nightwatch": "^0.9.16",
  106. "nightwatch-helpers": "^1.2.0",
  107. "phantomjs-prebuilt": "^2.1.14",
  108. "resolve": "^1.3.3",
  109. "rollup": "^0.43.0",
  110. "rollup-plugin-alias": "^1.3.1",
  111. "rollup-plugin-babel": "^2.7.1",
  112. "rollup-plugin-buble": "^0.15.0",
  113. "rollup-plugin-commonjs": "^8.0.2",
  114. "rollup-plugin-flow-no-whitespace": "^1.0.0",
  115. "rollup-plugin-node-resolve": "^3.0.0",
  116. "rollup-plugin-replace": "^1.1.1",
  117. "rollup-watch": "^4.0.0",
  118. "selenium-server": "^2.53.1",
  119. "serialize-javascript": "^1.3.0",
  120. "typescript": "^2.3.4",
  121. "uglify-js": "^3.0.15",
  122. "webpack": "^2.6.1",
  123. "weex-js-runtime": "^0.20.5",
  124. "weex-vdom-tester": "^0.2.0"
  125. },
  126. "config": {
  127. "commitizen": {
  128. "path": "./node_modules/cz-conventional-changelog"
  129. }
  130. }
  131. }