Skip to content

Commit cd07a86

Browse files
committed
Add new tags
1 parent 374af16 commit cd07a86

File tree

1 file changed

+32
-4
lines changed

1 file changed

+32
-4
lines changed

README.md

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
[![Angular Logo](./logo-angular.jpg)](https://angular.io/) [![Electron Logo](./logo-electron.jpg)](https://electron.atom.io/)
22

3-
[![Build Status](https://travis-ci.org/maximegris/angular-electron.svg?branch=master)](https://travis-ci.org/maximegris/angular-electron)
4-
[![Dependency Status](https://dependencyci.com/github/maximegris/angular-electron/badge)](https://dependencyci.com/github/maximegris/angular-electron)
5-
[![License](https://img.shields.io/badge/license-Apache2-blue.svg?style=flat)](https://github.com/maximegris/angular-electron/blob/master/LICENSE.md)
3+
4+
[![Travis Build Status][build-badge]][build]
5+
[![Dependencies Status][dependencyci-badge]][dependencyci]
6+
[![Make a pull request][prs-badge]][prs]
7+
[![Apache 2 License][license-badge]][license]
8+
[![Donate][donate-badge]][donate]
9+
10+
[![Watch on GitHub][github-watch-badge]][github-watch]
11+
[![Star on GitHub][github-star-badge]][github-star]
12+
[![Tweet][twitter-badge]][twitter]
613

714
# Introduction
815

@@ -72,16 +79,19 @@ Your built files are in the /dist folder.
7279
## Use NodeJS Native libraries
7380

7481
Actually Angular-Cli doesn't seem to be able to import nodeJS native libs or electron libs at compile time (Webpack error).
75-
If you need to use NodeJS native libraries like 'fs' or 'os', you **MUST** add it manually in the file `webpack.config.js` in root folder :
82+
If you need to use NodeJS native libraries, you **MUST** add it manually in the file `webpack.config.js` in root folder :
7683

7784
```javascript
7885
"externals": {
7986
"child_process": 'require(\'child_process\')',
8087
"electron": 'require(\'electron\')',
8188
"fs": 'require(\'fs\')'
89+
...
8290
},
8391
```
8492

93+
Notice that all NodeJS v7 native libs are already added in this sample.
94+
8595
## Browser mode
8696

8797
Maybe you want to execute the application in the browser ? You can do it with `npm run start:web`.
@@ -96,3 +106,21 @@ Before executing e2e scripts, you may need to update drivers libraries : `npm ru
96106
You can now execute tests with the command lines below :
97107
- **in a terminal window** -> First, start a web server on port 4200 : `npm run start:web`
98108
- **in another terminal window** -> Then, execute Protractor : `npm run e2e`
109+
110+
111+
[build-badge]: https://travis-ci.org/maximegris/angular-electron.svg?branch=master
112+
[build]: https://travis-ci.org/maximegris/angular-electron.svg?branch=master
113+
[dependencyci-badge]: https://dependencyci.com/github/maximegris/angular-electron/badge
114+
[dependencyci]: https://dependencyci.com/github/maximegris/angular-electron
115+
[license-badge]: https://img.shields.io/badge/license-Apache2-blue.svg?style=flat
116+
[license]: https://github.com/maximegris/angular-electron/blob/master/LICENSE.md
117+
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
118+
[prs]: http://makeapullrequest.com
119+
[donate-badge]: https://img.shields.io/badge/$-support-green.svg?style=flat-square
120+
[donate]: https://www.paypal.me/maximegris/10
121+
[github-watch-badge]: https://img.shields.io/github/watchers/maximegris/angular-electron.svg?style=social
122+
[github-watch]: https://github.com/maximegris/angular-electron/watchers
123+
[github-star-badge]: https://img.shields.io/github/stars/maximegris/angular-electron.svg?style=social
124+
[github-star]: https://github.com/maximegris/angular-electron/stargazers
125+
[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20angular-electron!%20https://github.com/maximegris/angular-electron%20%F0%9F%91%8D
126+
[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/maximegris/angular-electron.svg?style=social

0 commit comments

Comments
 (0)