grunt-package-modules
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "grunt-package-modules", | ||
"description": "Packages node_modules dependencies at build time for addition to a distribution package.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/joshperry/grunt-package-modules", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -10,3 +10,3 @@ # grunt-package-modules | ||
This task takes care creating a fresh `node_modules` for including in a distribution tarball by effectively copying the `package.json` into a temp directory, and then executing `npm install --production --ignore-scripts --prefix tempdir/` to install all production deps into `tmpdir/node_modules`. | ||
This task takes care of creating a fresh `node_modules` for including in a distribution tarball by effectively copying the `package.json` into a temp directory, and then executing `npm install --production --ignore-scripts --prefix tempdir/` to install all production deps into `tmpdir/node_modules`. | ||
@@ -53,3 +53,3 @@ This directory can then be the source of another plugin, like copy or compress, to package the fresh `node_modules` into its delicious-looking retail packaging. | ||
Here is an example that uses the copy and compress plugins to send the packaged modules to a dist tarball | ||
Here is an example that uses the copy and compress plugins to send the packaged modules to a dist tarball: | ||
@@ -61,3 +61,3 @@ ```js | ||
src: 'package.json', | ||
dest: '.tmp/module_packaging' | ||
dest: 'dist' | ||
}, | ||
@@ -72,12 +72,5 @@ }, | ||
src: [ | ||
'package.json', | ||
'lib/**/*' | ||
] | ||
}, { | ||
// Copy bundled modules to dist dir | ||
expand: true, | ||
cwd: '.tmp/module_packaging', | ||
dest: 'dist', | ||
src: [ 'node_modules/**/*' ] | ||
}] | ||
}] | ||
}, | ||
@@ -84,0 +77,0 @@ }, |
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
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
10549
101