Compare commits
2 Commits
070512eae2
...
96dec97cd4
Author | SHA1 | Date |
---|---|---|
jason.zhu | 96dec97cd4 | |
jason.zhu | dc1211b968 |
|
@ -0,0 +1,23 @@
|
|||
module.exports = function(grunt){
|
||||
|
||||
// Configuration
|
||||
grunt.initConfig({
|
||||
// pass in options to plugin, references to file, etc.
|
||||
|
||||
});
|
||||
|
||||
// Load plugins
|
||||
// grunt.loadNpmTasks('')
|
||||
|
||||
// Register tasks
|
||||
grunt.registerTask('run', function(){
|
||||
// task is a function with name is 'run'
|
||||
console.log('I am running');
|
||||
});
|
||||
|
||||
grunt.registerTask('sleep', function(){
|
||||
console.log('I am sleep');
|
||||
});
|
||||
|
||||
grunt.registerTask('all', ['sleep', 'run'])
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "grunt-playlist",
|
||||
"version": "1.0.0",
|
||||
"description": "This pratice repo is built following Youtube Tutorial series [Grunt JS Tutorial](https://www.youtube.com/watch?v=KAD-l__vek4&list=PL4cUxeGkcC9j85fkVyCzCMJDfteLtrl_y)",
|
||||
"main": "app.js",
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"grunt": "^1.3.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "ssh://git@lj918plus.dsmynas.com:2223/Jason/grunt-playlist.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
Loading…
Reference in New Issue