Skip to content

Commit c1bf9cd

Browse files
authored
Merge pull request #18 from Mindsers/develop
Deploy to NPM
2 parents 9d7ec50 + be71a15 commit c1bf9cd

File tree

4 files changed

+39
-8
lines changed

4 files changed

+39
-8
lines changed

.npmignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
node_modules
2+
src
3+
rollup.config.js
4+
test
5+
.babelrc
6+
scripts
7+
styles
8+
.DS_Store
9+
.eslintrc.json
10+
.istanbul.yml
11+
.travis.yml
12+
.npmignore

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
language: node_js
22
node_js:
3-
- "6"
4-
3+
- '6'
54
install:
65
- npm install
7-
86
script:
97
- npm run test:lint
108
- npm test
9+
- npm run build
10+
deploy:
11+
provider: npm
12+
13+
api_key:
14+
secure: 1wWRD9A9U2WiU9NRDnK+0y2Cek/jKk98DP/ClUh9w4cvmAECX3VnjDOdViLkJSKygU6JnO3WnO9cRinOvnbloKSj9/Pkg9PiivWjdhfpkGh4gNEImQaIVo05R4WJsflOnIPk3wDOO4BYVxp2qtfLu4QRoBzeXbU6rO2mFPUq576hXw9PRopHUMbjPkk9AsyuyU0P8SgfbnuHC0+NcyKTplUvr5/vq/dX8MUWCt/DVXApQUKHicnBLkN+QrO2i84ONFNgo5k+b3T6byapwMMeJbrJhtTkenTSJNn+aKOMwWSnRLuSnxLu2DjnEPZAB1SNwJCE052baeh7dvvqaIXQ40cvDKNo289Yj4tNIwOUtUlzrFK8IcXAfZAKhHgHBhKX06xZPySxeeTMk4+CiNZlCU0mxK1ELyhr8TjBKgP7MS0ovzmkJA83QhnedQOzxrMK2evWWBhq9rTA4GC8GruR33H/q3aSLEP4qRkFUQnS7KHSyEb3ggYpo8azNX2Fv90Yp+0TkFCqxfuh+5NcFV7TcZVKuJATgEbLOxp18Bi+1QRfWvAPxiiMD6u9+jA6ti4VX2ZlxKqRSKGD/XgQfrya1bugvk+ueRzYw3Mrkw04MtP3AD2QX3o60C0V3CuhL4vG7kUhZF3UUd6x1aoT3Zk0kQODcifMUdkWcU8cpKeGL8M=
15+
on:
16+
branch: master
17+
tags: true
18+

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![standardjs style][badge_js_code_style_image]][badge_js_code_style_link]
55
[![coverage status][badge_coverage_report_image]][badge_coverage_report_link]
66
[![MIT license][badge_license_image]][badge_license_link]
7-
[![Join the chat at https://gitter.im/nativetable/Lobby][badge_gitter_image]][badge_gitter_link]
7+
[![Join the chat at https://gitter.im/mindsers/nativetable][badge_gitter_image]][badge_gitter_link]
88

99
Nativetable is a simple native es6 module to create and work with dynamics HTML tables.
1010

@@ -14,6 +14,17 @@ Check the [demo](https://mindsers.github.io/nativetable/) page.
1414

1515
## Installation
1616

17+
### Package manager installation
18+
19+
Nativetable is available as a client side npm dependency. To install Nativetable with npm :
20+
21+
```bash
22+
npm install nativetable --save
23+
```
24+
25+
Nativetable library is ready to be import on your project : `./node_modules/nativetable/dist/nativetable.min.js`
26+
27+
### Manual installation
1728
You can build your own Nativetable with this project.
1829

1930
Clone the project :
@@ -28,7 +39,7 @@ npm install
2839
npm run build
2940
```
3041

31-
Nativetable library is ready to be import on your project : `src/scripts/build/nativetable.min.js`
42+
Nativetable library is ready to be import on your project : `./dist/nativetable.min.js`
3243

3344
## Usage
3445

@@ -113,5 +124,5 @@ This project is under the MIT License. (see LICENSE file in the root directory)
113124
[badge_license_link]: https://github.com/Mindsers/nativetable/blob/master/LICENSE
114125
[badge_coverage_report_image]: https://img.shields.io/coveralls/Mindsers/nativetable/master.svg
115126
[badge_coverage_report_link]: https://coveralls.io/github/Mindsers/nativetable
116-
[badge_gitter_image]: https://badges.gitter.im/nativetable/Lobby.svg
117-
[badge_gitter_link]: https://gitter.im/nativetable/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
127+
[badge_gitter_image]: https://badges.gitter.im/mindsers/nativetable.svg
128+
[badge_gitter_link]: https://gitter.im/mindsers/nativetable?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativetable",
3-
"version": "1.0.0",
3+
"version": "1.2.0",
44
"description": "Create and use dynamics HTML tables with native JS",
55
"repository": "https://github.com/Mindsers/nativetable",
66
"main": "dist/nativetable.min.js",

0 commit comments

Comments
 (0)