package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. "install:hooks": "ln -fs ../../build/git-hooks/pre-commit .git/hooks/pre-commit"
  41. },
  42. "repository": {
  43. "type": "git",
  44. "url": "git+https://github.com/vuejs/vue.git"
  45. },
  46. "keywords": [
  47. "vue"
  48. ],
  49. "author": "Evan You",
  50. "license": "MIT",
  51. "bugs": {
  52. "url": "https://github.com/vuejs/vue/issues"
  53. },
  54. "homepage": "https://github.com/vuejs/vue#readme",
  55. "devDependencies": {
  56. "babel-core": "^6.9.0",
  57. "babel-eslint": "^7.1.0",
  58. "babel-helper-vue-jsx-merge-props": "^2.0.2",
  59. "babel-loader": "^6.2.4",
  60. "babel-plugin-istanbul": "^4.0.0",
  61. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  62. "babel-plugin-syntax-jsx": "^6.18.0",
  63. "babel-plugin-transform-vue-jsx": "^3.2.0",
  64. "babel-preset-es2015": "^6.9.0",
  65. "babel-preset-flow-vue": "^1.0.0",
  66. "buble": "^0.15.2",
  67. "chalk": "^1.1.3",
  68. "chromedriver": "^2.21.2",
  69. "codecov.io": "^0.1.6",
  70. "cross-spawn": "^5.0.1",
  71. "de-indent": "^1.0.2",
  72. "es6-promise": "^4.0.5",
  73. "eslint": "^3.10.1",
  74. "eslint-loader": "^1.3.0",
  75. "eslint-plugin-flowtype": "^2.16.0",
  76. "eslint-plugin-jasmine": "^2.1.0",
  77. "eslint-plugin-vue-libs": "^1.2.0",
  78. "file-loader": "^0.10.1",
  79. "flow-bin": "^0.45.0",
  80. "hash-sum": "^1.0.2",
  81. "he": "^1.1.0",
  82. "http-server": "^0.9.0",
  83. "jasmine": "^2.5.2",
  84. "jasmine-core": "^2.5.2",
  85. "karma": "^1.1.0",
  86. "karma-chrome-launcher": "^2.0.0",
  87. "karma-coverage": "^1.0.0",
  88. "karma-firefox-launcher": "^1.0.0",
  89. "karma-jasmine": "^1.0.2",
  90. "karma-mocha-reporter": "^2.0.4",
  91. "karma-phantomjs-launcher": "^1.0.0",
  92. "karma-safari-launcher": "^1.0.0",
  93. "karma-sauce-launcher": "^1.0.0",
  94. "karma-sourcemap-loader": "^0.3.0",
  95. "karma-webpack": "^2.0.1",
  96. "lodash": "^4.17.1",
  97. "lodash.template": "^4.4.0",
  98. "lodash.uniq": "^4.5.0",
  99. "lru-cache": "^4.0.2",
  100. "nightwatch": "^0.9.9",
  101. "nightwatch-helpers": "^1.2.0",
  102. "phantomjs-prebuilt": "^2.1.1",
  103. "resolve": "^1.2.0",
  104. "rollup": "^0.41.4",
  105. "rollup-plugin-alias": "^1.2.0",
  106. "rollup-plugin-babel": "^2.4.0",
  107. "rollup-plugin-buble": "^0.15.0",
  108. "rollup-plugin-flow-no-whitespace": "^1.0.0",
  109. "rollup-plugin-replace": "^1.1.0",
  110. "rollup-watch": "^3.2.2",
  111. "selenium-server": "^2.53.1",
  112. "serialize-javascript": "^1.3.0",
  113. "typescript": "^2.1.6",
  114. "uglify-js": "^2.6.2",
  115. "webpack": "^2.2.0",
  116. "weex-js-runtime": "^0.17.0-alpha4",
  117. "weex-vdom-tester": "^0.1.4"
  118. }
  119. }