Skip to content

Commit 973d38c

Browse files
committed
feat(gen): implement jit-grunt
1 parent 49b2535 commit 973d38c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Gruntfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ var fs = require('fs');
1010
var path = require('path');
1111

1212
module.exports = function (grunt) {
13-
require('load-grunt-tasks')(grunt);
13+
// Load grunt tasks automatically, when needed
14+
require('jit-grunt')(grunt, {
15+
buildcontrol: 'grunt-build-control',
16+
changelog: 'grunt-conventional-changelog'
17+
});
1418

1519
grunt.initConfig({
1620
config: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"grunt-env": "^0.4.1",
4242
"grunt-mocha-test": "^0.11.0",
4343
"grunt-release": "~0.6.0",
44-
"load-grunt-tasks": "~0.2.0",
44+
"jit-grunt": "^0.9.1",
4545
"marked": "~0.2.8",
4646
"mocha": "~1.21.0",
4747
"q": "^1.0.1",

0 commit comments

Comments
 (0)