mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-06 19:14:41 +02:00
starting dev environment reboot
This commit is contained in:
parent
044ab4b6b4
commit
7a838f89f7
2 changed files with 47 additions and 0 deletions
38
grunt.js
Normal file
38
grunt.js
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
/*global module:false*/
|
||||||
|
module.exports = function(grunt) {
|
||||||
|
|
||||||
|
grunt.initConfig({
|
||||||
|
lint: {
|
||||||
|
files: ['grunt.js', 'src/*.js']
|
||||||
|
},
|
||||||
|
jshint: {
|
||||||
|
options: {
|
||||||
|
curly: true,
|
||||||
|
eqeqeq: true,
|
||||||
|
immed: true,
|
||||||
|
latedef: true,
|
||||||
|
newcap: true,
|
||||||
|
noarg: true,
|
||||||
|
sub: true,
|
||||||
|
undef: true,
|
||||||
|
boss: true,
|
||||||
|
eqnull: true,
|
||||||
|
browser: true
|
||||||
|
},
|
||||||
|
globals: {
|
||||||
|
_: true,
|
||||||
|
Backbone: true,
|
||||||
|
'$': true,
|
||||||
|
require: true,
|
||||||
|
define: true,
|
||||||
|
requirejs: true,
|
||||||
|
describe: true,
|
||||||
|
expect: true,
|
||||||
|
it: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Default task.
|
||||||
|
grunt.registerTask('default', 'lint');
|
||||||
|
};
|
9
package.json
Normal file
9
package.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"name": "LearnGitBranching",
|
||||||
|
"version": "0.5.0",
|
||||||
|
"devDependencies": {
|
||||||
|
"grunt": "latest",
|
||||||
|
"browserify": "latest"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue