1.0.19 • Published 7 years ago

include_general v1.0.19

Weekly downloads
45
License
-
Repository
-
Last release
7 years ago

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.

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago