Show More
@@ -28,6 +28,7 b'' | |||||
28 | "scripts": { |
|
28 | "scripts": { | |
29 | "bower": "bower install", |
|
29 | "bower": "bower install", | |
30 | "build": "grunt", |
|
30 | "build": "grunt", | |
31 | "watch": "grunt watch" |
|
31 | "watch": "grunt watch", | |
|
32 | "watch:dev": "grunt watch:dev" | |||
32 | } |
|
33 | } | |
33 | } |
|
34 | } |
@@ -4,20 +4,18 b' Javascript frontend for AppEnlight' | |||||
4 | To fetch all the requirememts you need to have nodejs and npm installed on your dev machine, then from this dir execute:: |
|
4 | To fetch all the requirememts you need to have nodejs and npm installed on your dev machine, then from this dir execute:: | |
5 |
|
5 | |||
6 | npm install |
|
6 | npm install | |
7 |
npm |
|
7 | npm run bower | |
8 | npm install -g grunt-cli |
|
|||
9 | bower install |
|
|||
10 |
|
8 | |||
11 | This will fetch all the required components to build front with grunt. |
|
9 | This will fetch all the required components to build front with grunt. | |
12 |
|
10 | |||
13 |
|
11 | |||
14 | To build production version (builds both js and css) just run:: |
|
12 | To build production version (builds both js and css) just run:: | |
15 |
|
13 | |||
16 | grunt |
|
14 | npm run build | |
17 |
|
15 | |||
18 | To work on dev code version (builds js with comments and css) run: |
|
16 | To work on dev code version (builds js with comments and css) run: | |
19 |
|
17 | |||
20 | grunt watch |
|
18 | npm rum grunt watch | |
21 |
|
19 | |||
22 | You generally shouldn't need to run those separately but still: |
|
20 | You generally shouldn't need to run those separately but still: | |
23 |
|
21 |
General Comments 0
You need to be logged in to leave comments.
Login now