Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Commit

Permalink
optimize dist file
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Nov 11, 2016
1 parent d922448 commit 51cec18
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"presets": ["es2015", "stage-2"],
"plugins": ["transform-runtime"],
"presets": ["es2015"],
"comments": false
}
12 changes: 9 additions & 3 deletions dist/vue-websocket.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/vue-websocket.js.map

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"version": "0.1.0",
"description": "Websocket handler for Vue.js",
"homepage": "https://github.com/icebob/vue-websocket",
"main": "dist/vue-websocket.js",
"main": "src/index.js",
"scripts": {
"_prebuild": "npm run test",
"build": "webpack --progress -p --hide-modules --config webpack.build.config.js",
"build": "webpack --progress --config webpack.build.config.js",
"lint": "eslint --ext=.js,.vue src test/unit/specs",
"coverall": "cat ./test/unit/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"coverage": "npm run test && npm run coverall",
Expand Down Expand Up @@ -66,6 +66,7 @@
"phantomjs-prebuilt": "2.1.12",
"sinon": "1.17.6",
"sinon-chai": "2.8.0",
"vue": "1.0.27",
"vue-hot-reload-api": "1.3.2",
"vue-loader": "8.5.4",
"webpack": "1.13.2",
Expand All @@ -74,8 +75,6 @@
"webpack-merge": "0.14.1"
},
"dependencies": {
"babel-runtime": "6.11.6",
"socket.io-client": "1.5.1",
"vue": "1.0.27"
"socket.io-client": "1.5.1"
}
}

0 comments on commit 51cec18

Please sign in to comment.