Subversion Repositories wimsdev

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9886 obado 1
We use "bower" to automatically download JS packages/plugins,
2
And then we use "Grunt" to perform special tasks (concat, minify, ...)
9822 obado 3
 
9886 obado 4
****************
5
* Installation *
6
****************
9822 obado 7
 
9886 obado 8
# Install Dependencies :
9
#  You need to install node, npm and git.
9822 obado 10
#  see here : http://bower.io#install-bower
11
 
9886 obado 12
# Install Bower :
9822 obado 13
  npm install -g bower
14
 
9886 obado 15
# Install Grunt :
16
 
17
 
18
***************************************
19
* Download/update Packages with Bower *
20
***************************************
21
 
22
### list all installed plugins :
23
  bower list
24
 
25
#### update Javascripts plugins via Bower :
9822 obado 26
  bower update --save
27
 
9886 obado 28
#### update Javascripts plugins for production (without devDepedencies) :
29
  bower update -p
30
 
31
#### add a new Javascript plugin via Bower :
9822 obado 32
  bower install <package> --save
33
 
34
## Complete documentation at Bower here :
35
##  http://bower.io/docs/creating-packages/
9886 obado 36
 
37
 
38
***************************
39
*  Make Tasks with GRUNT  *
40
***************************
41
 
42
#### Grunt HowTo (FR) :
43
http://www.grafikart.fr/tutoriels/grunt/grunt-introduction-470