include_general
se basea grunt_inclide_js pero para incluir tanto archivos .js, .css, e inserciones php dentro del código
Last updated 2 years ago by maximolm .
Original npm · Tarball · package.json
$ cnpm install include_general 
SYNC missed versions from official npm registry.

include_general

se basea grunt_inclide_js pero para incluir tanto archivos .js, .css, e inserciones php dentro del código genera una tarea grunt para insertar archivos en contexto de aplicaciones web.

Install

Install with npm

$ npm i include_general --save-dev

Usage



module.exports = function(grunt) {
  // Project configuration.
  grunt.initConfig({
  include_general: {
      debug:{
        options:{
          origen:'src/fuente/index.html',
          destino:'src/index.php',
        },
        incersiones:{
          inicio:{
            archivos:  ['src/fuente/php/asdf.php']
          },
          encabezado:{
            livereload: true,
            archivos:  ['../pie/css/*.css','src/fuente/css/*']
          },
          cuerpo:{
            archivos:  ['src/fuente/js/*.js']
          }
        },
    }
  });
  grunt.loadNpmTasks('include_general');

  grunt.registerTask('default', ['include_general']);
}

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

maximolm

License

Copyright © 2018 maximolm Licensed under the MIT license.


This file was generated by readme-generator on June 27, 2018.

Current Tags

  • 1.0.19                                ...           latest (2 years ago)

15 Versions

  • 1.0.19                                ...           2 years ago
  • 1.0.18                                ...           2 years ago
  • 1.0.17                                ...           2 years ago
  • 1.0.12                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 2
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |