On Github distilledhype / enterjs-talk
Organisation
auf Twitter, Github, npm
Wer kann sich darunter was vorstellen?
https://alexsexton.com/blog/2013/03/deploying-javascript-applications/
With all due respect, may I ask if you actually enjoy your job? I am dev, [...]
BUT if you are a coder doing something else and then come back to all of this as well, then wow, I don't know how you haven't gone mad already.
I'd be sick to the stomach if I had to do all of this, in addition to my usual work."
npm install -g grunt-cli
{
"name": "my-project-name",
"version": "0.1.0"
}
module.exports = function(grunt) {
grunt.initConfig({
// Task Konfigurationen.
});
// Ein Plugin laden.
grunt.loadNpmTasks('grunt-contrib-uglify');
// Den Default Task registrieren.
grunt.registerTask('default', ['uglify']);
};
npm install grunt --save-dev npm install grunt-contrib-concat --save-dev npm install grunt-contrib-uglify --save-dev
grunt.initConfig({
// ...
});
grunt.initConfig({
concat: {
// ...
}
});
grunt.initConfig({
concat: {
options: {
separator: ';'
}
// ...
}
});
grunt.initConfig({
concat: {
options: {
separator: ';'
},
dist: {
// ...
}
}
});
grunt.initConfig({
concat: {
options: {
separator: ';'
},
dist: {
// Evtl. eine konfirgurationsspezifische options-Property
src: ['src/intro.js', 'src/project.js', 'src/outro.js'],
// ...
}
}
});
grunt.initConfig({
concat: {
options: {
separator: ';'
},
dist: {
// Evtl. eine konfirgurationsspezifische options-Property
src: ['src/intro.js', 'src/project.js', 'src/outro.js'],
dest: 'dist/built.js'
}
}
});
> grunt
grunt-karma
grunt-protractor-runner
grunt-istanbul
grunt-phantomjs
grunt-dalek
grunt-contrib-nodeunit
grunt-mocha
grunt-tape
githooks: {
all: {
'pre-commit': 'jshint test:unit',
'post-merge': 'bower:install'
}
}
grunt-ssh
grunt-ftp
grunt-sftp
grunt-gh-pages
grunt-ssh-deploy
grunt-shell
(grunt-casper)