Show More
@@ -28,6 +28,7 b'' | |||
|
28 | 28 | "scripts": { |
|
29 | 29 | "bower": "bower install", |
|
30 | 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 | 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 | 6 | npm install |
|
7 |
npm |
|
|
8 | npm install -g grunt-cli | |
|
9 | bower install | |
|
7 | npm run bower | |
|
10 | 8 | |
|
11 | 9 | This will fetch all the required components to build front with grunt. |
|
12 | 10 | |
|
13 | 11 | |
|
14 | 12 | To build production version (builds both js and css) just run:: |
|
15 | 13 | |
|
16 | grunt | |
|
14 | npm run build | |
|
17 | 15 | |
|
18 | 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 | 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