https://github.com/leonardoval/creatartis-grunt.js
Grunt build setup for creatartis' projects.
https://github.com/leonardoval/creatartis-grunt.js
grunt gruntfile javascript
Last synced: about 1 month ago
JSON representation
Grunt build setup for creatartis' projects.
- Host: GitHub
- URL: https://github.com/leonardoval/creatartis-grunt.js
- Owner: LeonardoVal
- License: mit
- Created: 2017-07-23T23:14:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T14:36:06.000Z (over 2 years ago)
- Last Synced: 2025-03-17T21:49:59.013Z (about 2 months ago)
- Topics: grunt, gruntfile, javascript
- Language: JavaScript
- Size: 510 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# creatartis-grunt.js
[Grunt](https://gruntjs.com/) build setup for creatartis' projects. Includes source code
[concatenation](https://github.com/gruntjs/grunt-contrib-concat),
[linting](https://github.com/gruntjs/grunt-contrib-jshint),
[minimization](https://github.com/gruntjs/grunt-contrib-uglify),
[running test cases in browsers](https://github.com/karma-runner/grunt-karma) and
[documentation generation](https://github.com/Prevole/grunt-docker).The `Gruntfile` can be abbreviated to something like this:
```javascript
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
});
require('creatartis-grunt').config(grunt, {
src: [
'src/__prologue__.js',
/* ... source files ... */
'src/__epilogue__.js'
],
deps: [
{ name: 'dependency',
path: 'node_modules/dependency/build/dependency.js'
},
/* ... more dependencies ... */
]
});
grunt.registerTask('default', ['build']);
};
```Copyright 2017 - [Leonardo Val](https://github.com/LeonardoVal)