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

Commit 51cec18

Browse files
committed
optimize dist file
1 parent d922448 commit 51cec18

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

.babelrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"presets": ["es2015", "stage-2"],
3-
"plugins": ["transform-runtime"],
2+
"presets": ["es2015"],
43
"comments": false
54
}

dist/vue-websocket.js

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-websocket.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "0.1.0",
44
"description": "Websocket handler for Vue.js",
55
"homepage": "https://github.com/icebob/vue-websocket",
6-
"main": "dist/vue-websocket.js",
6+
"main": "src/index.js",
77
"scripts": {
88
"_prebuild": "npm run test",
9-
"build": "webpack --progress -p --hide-modules --config webpack.build.config.js",
9+
"build": "webpack --progress --config webpack.build.config.js",
1010
"lint": "eslint --ext=.js,.vue src test/unit/specs",
1111
"coverall": "cat ./test/unit/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
1212
"coverage": "npm run test && npm run coverall",
@@ -66,6 +66,7 @@
6666
"phantomjs-prebuilt": "2.1.12",
6767
"sinon": "1.17.6",
6868
"sinon-chai": "2.8.0",
69+
"vue": "1.0.27",
6970
"vue-hot-reload-api": "1.3.2",
7071
"vue-loader": "8.5.4",
7172
"webpack": "1.13.2",
@@ -74,8 +75,6 @@
7475
"webpack-merge": "0.14.1"
7576
},
7677
"dependencies": {
77-
"babel-runtime": "6.11.6",
78-
"socket.io-client": "1.5.1",
79-
"vue": "1.0.27"
78+
"socket.io-client": "1.5.1"
8079
}
8180
}

0 commit comments

Comments
 (0)