1 | #We.js core module for v0.3.x+
|
2 |
|
3 | [![Join the chat at https://gitter.im/wejs/we](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/wejs/we?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
4 |
|
5 | [![Build Status](https://travis-ci.org/wejs/we-core.svg?branch=master)](https://travis-ci.org/wejs/we-core)
|
6 | [![Code Climate](https://codeclimate.com/github/wejs/we-core/badges/gpa.svg)](https://codeclimate.com/github/wejs/we-core)
|
7 | [![Dependency Status](https://david-dm.org/wejs/we-core.png)](https://david-dm.org/wejs/we-core)
|
8 |
|
9 | ### Main repository: https://github.com/wejs/we
|
10 |
|
11 | Site: [http://wejs.org](wejs.org)
|
12 |
|
13 | ***In active developement***
|
14 |
|
15 | ## Install for develop we.js core:
|
16 |
|
17 | > after install npm and node.js
|
18 |
|
19 | ```js
|
20 | // clone this project
|
21 | git clone https://github.com/wejs/we-core.git
|
22 | // enter in cloned folder
|
23 | cd we-core
|
24 | // install all dependencies
|
25 | npm install
|
26 | // test
|
27 | npm test
|
28 | ```
|
29 |
|
30 | ### How to test
|
31 |
|
32 | after clone and install npm packages:
|
33 |
|
34 | ```sh
|
35 | npm test
|
36 | ```
|
37 |
|
38 | ##### For run only 'userFeature' test use:
|
39 |
|
40 | ```sh
|
41 | NODE_ENV=test LOG_LV=info ./node_modules/.bin/mocha test/bootstrap.js test/**/*.test.js -b -g 'userFeature'
|
42 | ```
|
43 |
|
44 | ##### For run the code coverage
|
45 |
|
46 | ```sh
|
47 | npm run coverage
|
48 | ```
|
49 |
|
50 | ##### For run the javascript linter
|
51 |
|
52 | ```sh
|
53 | npm run lint
|
54 | ```
|
55 |
|
56 | ## License
|
57 |
|
58 | [the MIT license](LICENSE).
|