Socket
Socket
Sign inDemoInstall

grunt-rollup

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-rollup - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

.idea/.name

10

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc