Skip to content

Commit

Permalink
Updates to allow pushing builds to npm. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
KD0NKS committed Nov 2, 2019
1 parent 2cd593a commit 4851e40
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ indent_size=4
end_of_line=crlf
charset=utf-8
trim_trailing_whitespace=true
insert_final_newline=false
insert_final_newline=false

[*.json]
indent_size = 2
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ imporove performance.
- status reports (partially)
- user defined data formats

## Examples
To see how to use this module, please refer to the tests or https://github.com/KD0NKS/aprs-is-demo.

## Optimizations Needed
- Quit leaking arguments (modifying them), explicitly return the $rethash value. Any errors thrown, should also be done explicitly.

Expand All @@ -51,6 +48,13 @@ To see how to use this module, please refer to the tests or https://github.com/K
- _wx_parse
- comments/software - trimming may not be accurate

## USAGE
### Demo
[https://github.com/KD0NKS/aprs-is-demo](https://github.com/KD0NKS/aprs-is-demo)

### npm
npm install js-aprs-fap --save

## SEE ALSO
* [perl-aprs-fap](https://github.com/hessu/perl-aprs-fap)
* [C library port of Ham::APRS::FAP](http://pakettiradio.net/libfap/)
Expand All @@ -61,4 +65,4 @@ To see how to use this module, please refer to the tests or https://github.com/K
* Copyright (C) 2007-2012 Heikki Hannikainen

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
it under the same terms as Perl itself.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"description": "NodeJs library for parsing APRS packets.",
"repository": {
"type": "git",
"url": "https://github.com/KD0NKS/js-aprs-fap.git"
"url": "git+https://github.com/KD0NKS/js-aprs-fap.git"
},
"keywords": [
"APRS",
Expand All @@ -19,8 +19,11 @@
"bugs": {
"url": "https://github.com/KD0NKS/js-aprs-fap/issues"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/**/*"
],
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
Expand All @@ -30,11 +33,11 @@
]
},
"scripts": {
"build": "tsc",
"tsc": "./node_modules/.bin/tsc",
"setup": "npm install",
"build": "tsc",
"test": "nyc mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"tsc": "./node_modules/.bin/tsc"
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
Expand Down
8 changes: 7 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
, "src/**/*"
, "test/**/*"
],
"exclude": [ "bin", "coverage", "node_modules", "dist", ".nyc_output" ]
"exclude": [
".nyc_output",
"bin",
"dist",
"coverage",
"node_modules"
]
}

0 comments on commit 4851e40

Please sign in to comment.