Skip to content

Commit

Permalink
produce UMD
Browse files Browse the repository at this point in the history
  • Loading branch information
lyweiwei committed Jul 15, 2016
1 parent 5a229fb commit 8e7595b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
{}
{
"presets": ["es2015"],
"plugins": ["transform-es2015-modules-umd"]
}
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var jsdoc = require('gulp-jsdoc3');
require('babel-core/register');

gulp.task('static', function () {
return gulp.src('**/*.js')
return gulp.src(['lib/**/*.js', 'test/**/*.js'])
.pipe(excludeGitignore())
.pipe(eslint())
.pipe(eslint.format())
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,27 @@
""
],
"devDependencies": {
"babel-core": "^5.5.0",
"babel-core": "^6.10.4",
"babel-eslint": "^4.1.8",
"babel-plugin-transform-es2015-modules-umd": "^6.8.0",
"babel-preset-es2015": "^6.9.0",
"chai": "^3.5.0",
"del": "^2.0.2",
"eslint": "^2.1.0",
"eslint-config-xo-space": "^0.13.0",
"eslint-plugin-babel": "^3.1.0",
"gulp": "^3.9.0",
"gulp-babel": "^5.1.0",
"gulp-babel": "^6.1.2",
"gulp-coveralls": "^0.1.0",
"gulp-eslint": "^2.0.0",
"gulp-exclude-gitignore": "^1.0.0",
"gulp-istanbul": "^0.10.3",
"gulp-istanbul": "^1.0.0",
"gulp-jsdoc3": "^0.3.0",
"gulp-line-ending-corrector": "^1.0.1",
"gulp-mocha": "^2.0.0",
"gulp-nsp": "^2.1.0",
"gulp-plumber": "^1.0.0",
"isparta": "^3.0.3"
"isparta": "^4.0.0"
},
"eslintConfig": {
"extends": "xo-space",
Expand Down

0 comments on commit 8e7595b

Please sign in to comment.