Skip to content

Commit ce5077e

Browse files
committed
Babel build
1 parent 6c4dbce commit ce5077e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export VueMeteor from './src/vue-plugin';
1+
module.exports = require('./lib/vue-plugin');

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"name": "vue-meteor-tracker",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Use Meteor Tracker reactivity inside Vue components",
55
"main": "index.js",
66
"scripts": {
7+
"compile": "babel --presets es2015 -d lib/ src/",
8+
"prepublish": "npm run compile",
79
"test": "echo \"Error: no test specified\" && exit 1"
810
},
911
"repository": {
@@ -25,5 +27,9 @@
2527
"homepage": "https://github.com/Akryum/vue-meteor-integration#readme",
2628
"dependencies": {
2729
"lodash.omit": "^4.5.0"
30+
},
31+
"devDependencies": {
32+
"babel-cli": "^6.14.0",
33+
"babel-preset-es2015": "^6.14.0"
2834
}
2935
}

0 commit comments

Comments
 (0)