Skip to content

Commit

Permalink
Feat/travis (#13)
Browse files Browse the repository at this point in the history
* [FIX] Travis config

* [FEAT] bumo version
  • Loading branch information
ederssouza authored Sep 25, 2022
1 parent d62f7c0 commit 01122cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
language: node_js

node_js:
- "7"
- "14"

cache:
diretories:
"node_modules"

before_script:
- npm run build
- npm run coverage-test

after_success:
- npm run coveralls
- "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# VanillaJS ScrollSpy

[![Build Status](https://travis-ci.org/ederssouza/vanillajs-scrollspy.svg?branch=master)](https://travis-ci.org/ederssouza/vanillajs-scrollspy) ![GitHub](https://img.shields.io/github/license/ederssouza/vanillajs-scrollspy) ![npm](https://img.shields.io/npm/v/vanillajs-scrollspy) ![npm](https://img.shields.io/npm/dw/vanillajs-scrollspy) ![npm](https://img.shields.io/npm/dm/vanillajs-scrollspy)
![GitHub](https://img.shields.io/github/license/ederssouza/vanillajs-scrollspy) ![npm](https://img.shields.io/npm/v/vanillajs-scrollspy) ![npm](https://img.shields.io/npm/dw/vanillajs-scrollspy) ![npm](https://img.shields.io/npm/dm/vanillajs-scrollspy)

ScrollSpy in pure JavaScript.

Expand Down Expand Up @@ -29,7 +29,7 @@ scrollspy.init()
### UMD in Browser

```html
<script src="https://cdn.jsdelivr.net/npm/vanillajs-scrollspy@3.0.1/dist/vanillajs-scrollspy.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanillajs-scrollspy@3.0.3/dist/vanillajs-scrollspy.min.js"></script>
<!-- or -->
<script src="./dist/vanillajs-scrollspy.min.js"></script>
```
Expand Down Expand Up @@ -111,7 +111,7 @@ Available in [`public/index.html`](public/index.html).
<h2 class="title">Contact</h2>
</section>

<script src="https://cdn.jsdelivr.net/npm/vanillajs-scrollspy@3.0.1/dist/vanillajs-scrollspy.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanillajs-scrollspy@3.0.3/dist/vanillajs-scrollspy.min.js"></script>
<script>
const menu = document.querySelector('#navbar')
const scrollspy = VanillaScrollspy({ menu })
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanillajs-scrollspy",
"version": "3.0.2",
"version": "3.0.3",
"description": "ScrollSpy in pure JavaScript",
"main": "dist/vanillajs-scrollspy.cjs.js",
"module": "dist/vanillajs-scrollspy.es.js",
Expand All @@ -12,8 +12,7 @@
"test": "jest",
"test:watch": "jest --watchAll",
"coverage-test": "jest --coverage",
"coverage-test:watch": "jest --coverage --watchAll",
"coveralls": "jest --coverage | coveralls"
"coverage-test:watch": "jest --coverage --watchAll"
},
"files": ["dist"],
"repository": {
Expand Down

0 comments on commit 01122cd

Please sign in to comment.