package.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "name": "vue",
  3. "version": "2.2.6",
  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:test": "karma start build/karma.dev.config.js",
  18. "dev:ssr": "rollup -w -c build/config.js --environment TARGET:web-server-renderer",
  19. "dev:compiler": "rollup -w -c build/config.js --environment TARGET:web-compiler ",
  20. "dev:weex": "rollup -w -c build/config.js --environment TARGET:weex-framework ",
  21. "dev:weex:compiler": "rollup -w -c build/config.js --environment TARGET:weex-compiler ",
  22. "build": "node build/build.js",
  23. "build:ssr": "npm run build -- vue.runtime.common.js,vue-server-renderer",
  24. "build:weex": "npm run build -- weex-vue-framework,weex-template-compiler",
  25. "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",
  26. "test:unit": "karma start build/karma.unit.config.js",
  27. "test:cover": "karma start build/karma.cover.config.js",
  28. "test:e2e": "npm run build -- vue.min.js && node test/e2e/runner.js",
  29. "test:weex": "npm run build:weex && jasmine JASMINE_CONFIG_PATH=test/weex/jasmine.json",
  30. "test:ssr": "npm run build:ssr && jasmine JASMINE_CONFIG_PATH=test/ssr/jasmine.json",
  31. "test:sauce": "npm run sauce -- 0 && npm run sauce -- 1 && npm run sauce -- 2",
  32. "test:types": "tsc -p ./types/test/tsconfig.json",
  33. "lint": "eslint src build test",
  34. "flow": "flow check",
  35. "sauce": "karma start build/karma.sauce.config.js",
  36. "bench:ssr": "npm run build:ssr && node benchmarks/ssr/renderToString.js && node benchmarks/ssr/renderToStream.js",
  37. "release": "bash build/release.sh",
  38. "release:weex": "bash build/release-weex.sh",
  39. "install:hooks": "ln -fs ../../build/git-hooks/pre-commit .git/hooks/pre-commit"
  40. },
  41. "repository": {
  42. "type": "git",
  43. "url": "git+https://github.com/vuejs/vue.git"
  44. },
  45. "keywords": [
  46. "vue"
  47. ],
  48. "author": "Evan You",
  49. "license": "MIT",
  50. "bugs": {
  51. "url": "https://github.com/vuejs/vue/issues"
  52. },
  53. "homepage": "https://github.com/vuejs/vue#readme",
  54. "devDependencies": {
  55. "babel-core": "^6.9.0",
  56. "babel-eslint": "^7.1.0",
  57. "babel-helper-vue-jsx-merge-props": "^2.0.2",
  58. "babel-loader": "^6.2.4",
  59. "babel-plugin-istanbul": "^4.0.0",
  60. "babel-plugin-syntax-dynamic-import": "^6.18.0",
  61. "babel-plugin-syntax-jsx": "^6.18.0",
  62. "babel-plugin-transform-vue-jsx": "^3.2.0",
  63. "babel-preset-es2015": "^6.9.0",
  64. "babel-preset-flow-vue": "^1.0.0",
  65. "buble": "^0.15.2",
  66. "chromedriver": "^2.21.2",
  67. "codecov.io": "^0.1.6",
  68. "cross-spawn": "^5.0.1",
  69. "de-indent": "^1.0.2",
  70. "es6-promise": "^4.0.5",
  71. "eslint": "^3.10.1",
  72. "eslint-config-vue": "^2.0.1",
  73. "eslint-loader": "^1.3.0",
  74. "eslint-plugin-flowtype": "^2.16.0",
  75. "eslint-plugin-jasmine": "^2.1.0",
  76. "eslint-plugin-vue": "^2.0.0",
  77. "flow-bin": "^0.39.0",
  78. "he": "^1.1.0",
  79. "http-server": "^0.9.0",
  80. "jasmine": "^2.5.2",
  81. "jasmine-core": "^2.5.2",
  82. "karma": "^1.1.0",
  83. "karma-chrome-launcher": "^2.0.0",
  84. "karma-coverage": "^1.0.0",
  85. "karma-firefox-launcher": "^1.0.0",
  86. "karma-jasmine": "^1.0.2",
  87. "karma-mocha-reporter": "^2.0.4",
  88. "karma-phantomjs-launcher": "^1.0.0",
  89. "karma-safari-launcher": "^1.0.0",
  90. "karma-sauce-launcher": "^1.0.0",
  91. "karma-sourcemap-loader": "^0.3.0",
  92. "karma-webpack": "^2.0.1",
  93. "lodash": "^4.17.1",
  94. "nightwatch": "^0.9.9",
  95. "nightwatch-helpers": "^1.2.0",
  96. "phantomjs-prebuilt": "^2.1.1",
  97. "resolve": "^1.2.0",
  98. "rollup": "^0.41.4",
  99. "rollup-plugin-alias": "^1.2.0",
  100. "rollup-plugin-babel": "^2.4.0",
  101. "rollup-plugin-buble": "^0.15.0",
  102. "rollup-plugin-flow-no-whitespace": "^1.0.0",
  103. "rollup-plugin-replace": "^1.1.0",
  104. "rollup-watch": "^3.2.2",
  105. "selenium-server": "^2.53.1",
  106. "serialize-javascript": "^1.3.0",
  107. "typescript": "^2.1.6",
  108. "uglify-js": "^2.6.2",
  109. "vue-ssr-webpack-plugin": "^2.0.0",
  110. "webpack": "^2.2.0",
  111. "weex-js-runtime": "^0.17.0-alpha4",
  112. "weex-vdom-tester": "^0.1.4"
  113. }
  114. }