Skip to content

Commit

Permalink
Housekeeping
Browse files Browse the repository at this point in the history
- Update from deprecated Istanbul to NYC to fix code coverage
- Add coveralls and travis configuration files, license, readme and changelog files to npm ignore file
- Add new badges to readme file
- Change license from ISC to MIT
- Add Fabricator and Chai as development dependencies
- Add "use strict" declaration to main entry point
- Add basic test suite that checks for presence of expected properties in main entry point
  • Loading branch information
nitro404 committed Mar 20, 2020
1 parent c1d54a4 commit b994703
Show file tree
Hide file tree
Showing 8 changed files with 9,132 additions and 82 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
node_modules
bower_components
coverage
.nyc_output
.sass-cache
yarn.lock
npm-debug.log
Expand Down
6 changes: 6 additions & 0 deletions .npmignore
Expand Up @@ -2,7 +2,13 @@ node_modules
bower_components
test
coverage
.nyc_output
.sass-cache
.coveralls.yml
.travis.yml
package-lock.json
yarn.lock
gulpfile.js
LICENSE
README.md
CHANGELOG.md
22 changes: 22 additions & 0 deletions .travis.yml
@@ -0,0 +1,22 @@
sudo: false

branches:
only:
- master

language: node_js

node_js:
- "12"
- "10"
- "8"

before_install:
- npm cache clean --force
- npm install -g mocha nyc coveralls

after_success:
- npm run coveralls

script:
- npm test
22 changes: 19 additions & 3 deletions README.md
Expand Up @@ -3,8 +3,12 @@
[![NPM version][npm-version-image]][npm-url]
[![Build Status][build-status-image]][build-status-url]
[![Coverage Status][coverage-image]][coverage-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![Known Vulnerabilities][vulnerabilities-image]][vulnerabilities-url]
[![Dependencies][dependencies-image]][dependencies-url]
[![Downloads][npm-downloads-image]][npm-url]
[![Install Size][install-size-image]][install-size-url]
[![Contributors][contributors-image]][contributors-url]
[![Pull Requests Welcome][pull-requests-image]][pull-requests-url]

A system for connecting to remote console for ARMA servers over UDP.

Expand Down Expand Up @@ -85,5 +89,17 @@ npm install arma-rcon
[coverage-url]: https://coveralls.io/github/nitro404/arma-rcon?branch=master
[coverage-image]: https://coveralls.io/repos/github/nitro404/arma-rcon/badge.svg?branch=master

[snyk-url]: https://snyk.io/test/github/nitro404/arma-rcon?targetFile=package.json
[snyk-image]: https://snyk.io/test/github/nitro404/arma-rcon/badge.svg?targetFile=package.json
[vulnerabilities-url]: https://snyk.io/test/github/nitro404/arma-rcon?targetFile=package.json
[vulnerabilities-image]: https://snyk.io/test/github/nitro404/arma-rcon/badge.svg?targetFile=package.json

[dependencies-url]: https://david-dm.org/nitro404/arma-rcon
[dependencies-image]: https://img.shields.io/david/nitro404/arma-rcon.svg

[install-size-url]: https://packagephobia.now.sh/result?p=arma-rcon
[install-size-image]: https://badgen.net/packagephobia/install/arma-rcon

[contributors-url]: https://github.com/nitro404/arma-rcon/graphs/contributors
[contributors-image]: https://img.shields.io/github/contributors/nitro404/arma-rcon.svg

[pull-requests-url]: https://github.com/nitro404/arma-rcon/pulls
[pull-requests-image]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg
2 changes: 2 additions & 0 deletions index.js
@@ -1,3 +1,5 @@
"use strict";

module.exports = {
BattlEyePacket: require("./src/battleye/packet"),
BattlEyeClient: require("./src/battleye/client"),
Expand Down

0 comments on commit b994703

Please sign in to comment.