You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
We use Karma and jshint to ensure the quality of the code. The easiest way to run these checks is to use grunt:
88
+
89
+
```sh
90
+
npm install -g grunt-cli
91
+
npm install && bower install
92
+
grunt
93
+
```
94
+
95
+
The karma task will try to open Firefox and Chrome as browser in which to run the tests. Make sure this is available or change the configuration in `test\karma.conf.js`
96
+
97
+
98
+
### Grunt Serve
99
+
100
+
We have one task to serve them all !
101
+
102
+
```sh
103
+
grunt serve
104
+
```
105
+
106
+
It's equal to run separately:
107
+
108
+
*`grunt connect:server` : giving you a development server at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).
109
+
110
+
*`grunt karma:server` : giving you a Karma server to run tests (at [http://localhost:9876/](http://localhost:9876/) by default). You can force a test on this server with `grunt karma:unit:run`.
111
+
112
+
*`grunt watch` : will automatically test your code and build your demo. You can demo generation with `grunt build:gh-pages`.
0 commit comments