Skip to content

Commit

Permalink
Remove tests from published package
Browse files Browse the repository at this point in the history
  • Loading branch information
lauriro committed Nov 28, 2019
1 parent 221016c commit 2cfdb25
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
@@ -1,13 +1,13 @@
language: node_js
sudo: false
node_js:
- "8"
- "node"
git:
depth: 3
before_script:
- npm install istanbul coveralls
- npm install istanbul coveralls litejs
script:
- istanbul cover ./tests/index.js
- istanbul cover ./test/index.js
after_success:
- coveralls < coverage/lcov.info

20 changes: 11 additions & 9 deletions README.md
Expand Up @@ -2,15 +2,14 @@
[2]: https://travis-ci.org/litejs/uri-template-lite
[3]: https://coveralls.io/repos/litejs/uri-template-lite/badge.png
[4]: https://coveralls.io/r/litejs/uri-template-lite
[6]: https://www.buymeacoffee.com/lauriro
[RFC 6570]: http://tools.ietf.org/html/rfc6570


URI Template &ndash; [![Build][1]][2] [![Coverage][3]][4]
URI Template &ndash; [![Build][1]][2] [![Coverage][3]][4] <a href="https://www.buymeacoffee.com/lauriro" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-yellow.png" alt="Buy Me A Tea" width="170"></a>
============

URI Template [RFC 6570][] expansion and extraction in 1.5KB
that passes [URI Template Tests](https://github.com/uri-templates/uritemplate-test).


Usage
-----
Expand Down Expand Up @@ -75,15 +74,18 @@ It should work IE6 and up but automated testing is currently broken.



External links
--------------
## External links

- [Source-code on Github](https://github.com/litejs/uri-template-lite)
- [Package on npm](https://npmjs.org/package/uri-template-lite)
- URI Template [RFC 6570][]
[GitHub repo](https://github.com/litejs/uri-template-lite) |
[npm package](https://npmjs.org/package/uri-template-lite) |
URI Template [RFC 6570][] and
[Tests](https://github.com/uri-templates/uritemplate-test) |
[Travis CI](https://travis-ci.org/litejs/uri-template-lite) |
[Coveralls coverage](https://coveralls.io/github/litejs/uri-template-lite) |
[Buy Me A Tea][6]


### Licence
## Licence

Copyright (c) 2014-2019 Lauri Rooden &lt;lauri@rooden.ee&gt;
[The MIT License](http://lauri.rooden.ee/mit-license.txt)
Expand Down
4 changes: 1 addition & 3 deletions index.js
Expand Up @@ -2,9 +2,7 @@


/**
* @version 0.1.11
* @date 2015-02-09
* @stability 2 - Unstable
* @version 19.11.0
* @author Lauri Rooden <lauri@rooden.ee>
* @license MIT License
*/
Expand Down
14 changes: 8 additions & 6 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "uri-template-lite",
"version": "19.4.0",
"version": "19.11.0",
"license": "MIT",
"author": "Lauri Rooden <lauri@rooden.ee>",
"description": "URI Template [RFC 6570] expansion and extraction",
Expand All @@ -14,14 +14,16 @@
],
"main": "index.js",
"readmeFilename": "README.md",
"scripts": {
"test": "lj test"
},
"files": [
"index.js"
],
"repository": "git://github.com/litejs/uri-template-lite.git",
"bugs": {
"url": "https://github.com/litejs/uri-template-lite/issues"
},
"devDependencies": {
"testman": "*"
"litejs": {
"build": [
"-r index.js"
]
}
}

0 comments on commit 2cfdb25

Please sign in to comment.