markmalek / Fixed-Header-Table

jQuery plugin for tables with fixed headers
www.fixedheadertable.com
MIT License
930 stars 541 forks source link

Add grunt and bower #91

Open xfsnowind opened 11 years ago

xfsnowind commented 11 years ago

Hi, I am thinking of add grunt and bower to the project. They will just make it easier to run and be referenced for the project. And they will not change the content of project.

The structure of the project will be:

css
  --960.css
  --demo.css
  --myTheme.css
  --reset.css
  --defaultTheme.css
demo
  --js
    --test.js
    --demo.js
  --image
    --bg.png
  --test.html
  --demo.html
bower.json
package.json
gruntfile.js
README.md
LICENSE.md

bower is used to load the lastest plugin "jquery mousewheel". Grunt for run the tasks automatically ( like maven for java).

The tasks in grunt I will apply are:

grunt-contrib-copy     //copy file 
grunt-contrib-uglify    //minify the file
grunt-contrib-watch   //watch the change of the project, then re-run specified tasks
grunt-contrib-jslint     //jslint
grunt-bower-task
grunt-contrib-clean    //clean the project
grunt-contrib-connect   //runt a node server to deploy the project

Since the applied for the jslint will change quite a lot for the project and maybe not that easy to check it out. So I will implement other parts firstly.

LAKnoKAL commented 9 years ago

+