grunt-rollup
Advanced tools
Comparing version 0.5.0 to 0.6.0
{ | ||
"name": "grunt-rollup", | ||
"description": "Grunt plugin for rollup - next-generation ES6 module bundler", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"homepage": "https://github.com/chrisprice/grunt-rollup", | ||
@@ -26,6 +26,7 @@ "author": { | ||
"devDependencies": { | ||
"es6-promise": "^3.0.2", | ||
"grunt": "~0.4.5", | ||
"grunt-contrib-clean": "^0.5.0", | ||
"grunt-contrib-jshint": "^0.9.2", | ||
"grunt-contrib-clean": "^0.5.0", | ||
"grunt-contrib-nodeunit": "^0.3.3", | ||
"grunt": "~0.4.5" | ||
"grunt-contrib-nodeunit": "^0.3.3" | ||
}, | ||
@@ -40,5 +41,4 @@ "peerDependencies": { | ||
"dependencies": { | ||
"promise": "^7.0.4", | ||
"rollup": "^0.x" | ||
} | ||
} |
@@ -63,2 +63,24 @@ # grunt-rollup | ||
###Usage with Plugins | ||
```js | ||
var babel = require('rollup-plugin-babel'); | ||
grunt.initConfig({ | ||
rollup: { | ||
options: { | ||
plugins: [ | ||
babel({ | ||
exclude: './node_modules/**' | ||
}) | ||
] | ||
}, | ||
files: { | ||
'dest':'dest/bundle.js', | ||
'src' : 'src/entry.js', // Only one source file is permitted | ||
}, | ||
}, | ||
}); | ||
``` | ||
## Contributing | ||
@@ -69,5 +91,5 @@ In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/). | ||
```bash | ||
```bash | ||
npm version minor && git push --tags origin master && npm publish | ||
``` | ||
@@ -11,3 +11,3 @@ /* | ||
var Promise = require('promise'); | ||
var Promise = require('es6-promise').Promise; | ||
var rollup = require('rollup'); | ||
@@ -35,2 +35,3 @@ var path = require('path'); | ||
outro: null, | ||
plugins:[], | ||
sourceMap: false, | ||
@@ -59,3 +60,4 @@ sourceMapFile: null, | ||
entry: entry, | ||
external: options.external | ||
external: options.external, | ||
plugins : options.plugins | ||
}).then(function(bundle) { | ||
@@ -62,0 +64,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46073
2
17
94
94
5
1
- Removedpromise@^7.0.4
- Removedasap@2.0.6(transitive)
- Removedpromise@7.3.1(transitive)