ionic-gulp-scripts-copy
Gulp task for Ionic projects to copy default 3rd party scripts to a build directory
Last updated 4 years ago by jthoms1 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ionic-gulp-scripts-copy 
SYNC missed versions from official npm registry.

Scripts Copy Task

Copy default 3rd party scripts to build directory.

API

copyScripts([options])

Returns a stream of Vinyl files that can be piped.

Available options:

  • src (String|Array) Glob or array of globs (What's a glob?) matching 3rd party script files. Default:
[
  'node_modules/es6-shim/es6-shim.min.js',
  'node_modules/zone.js/dist/zone.js',
  'node_modules/reflect-metadata/Reflect.js'
]
  • dest (String) Output path for the HTML files. Default: 'www/build/js'.

Example

var copyScripts = require('ionic-gulp-scripts-copy');

gulp.task('scripts', copyScripts);

gulp.task('scripts', function(){
  return copyScripts({ dest: 'www/my-custom-build-dir' });
});

Current Tags

  • 2.0.1                                ...           latest (4 years ago)

4 Versions

  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 4
This Month 0
Last Day 0
Last Week 1
Last Month 9
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |