mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
chore: Rename this project to serialport utilities
This commit is contained in:
parent
6f0bc36e93
commit
7a81d76e16
19 changed files with 70 additions and 53 deletions
|
|
@ -1,11 +1,11 @@
|
|||
# Serialport Parsers
|
||||
# Serialport Utilities
|
||||
|
||||
[](https://lernajs.io/)
|
||||
[](https://greenkeeper.io/)
|
||||
[](https://travis-ci.org/node-serialport/parsers)
|
||||
[](https://codecov.io/gh/node-serialport/parsers)
|
||||
[](https://greenkeeper.io/)
|
||||
[](https://travis-ci.org/node-serialport/utilities)
|
||||
[](https://codecov.io/gh/node-serialport/utilities)
|
||||
|
||||
Working with streams of binary data can be hard, this monorepo is a collection of projects that make it easier. We currently have the following projects.
|
||||
Working with serialports can be hard, this monorepo is a collection of projects that make it easier. We currently have the following projects.
|
||||
|
||||
- Parser Byte Length
|
||||
- Parser cctalk
|
||||
|
|
@ -16,10 +16,16 @@ Working with streams of binary data can be hard, this monorepo is a collection o
|
|||
- Parser slip-encoder
|
||||
|
||||
## API Docs
|
||||
You can find the api docs in `/docs` or view them online here: https://node-serialport.github.io/parsers/
|
||||
You can find the api docs in `/docs` or view them online here: https://node-serialport.github.io/utilities/
|
||||
|
||||
## License
|
||||
SerialPort Parsers are all [MIT licensed](LICENSE) and all it's dependencies are MIT or BSD licensed.
|
||||
SerialPort Utilities are all [MIT licensed](LICENSE) and all it's dependencies are MIT or BSD licensed.
|
||||
|
||||
# Developing
|
||||
1. Clone this repo `git clone git@github.com:node-serialport/utilities.git`
|
||||
1. Run `npx lerna bootstrap` to setup local package dependencies (run this any time you depend on a package local to this repo)
|
||||
1. Run `npm test` to ensure everything is working properly
|
||||
1. Run `npm run generate` to generate a new project
|
||||
|
||||
# Contributing
|
||||
|
||||
|
|
@ -35,18 +41,18 @@ There are a lot of ways to get involved and help out:
|
|||
<a name="reporting-issues"></a>
|
||||
## Reporting An Issue
|
||||
|
||||
SerialPort Parsers does it's [issue tracking](https://github.com/node-serialport/parsers/issues) through github. To report an issue first search the repo to make sure that it has not been reported before. If no one has reported the bug before, create a new issue and be sure to follow the template.
|
||||
SerialPort Utilities does it's [issue tracking](https://github.com/node-serialport/utilities/issues) through github. To report an issue first search the repo to make sure that it has not been reported before. If no one has reported the bug before, create a new issue and be sure to follow the template.
|
||||
|
||||
<a name="requesting-features"></a>
|
||||
## Requesting Features
|
||||
To request a new feature be added create a [github issue](https://github.com/node-serialport/parsers/issues/new) and include:
|
||||
To request a new feature be added create a [github issue](https://github.com/node-serialport/utilities/issues/new) and include:
|
||||
|
||||
**What feature you'd like to see:**
|
||||
**Why this is important to you:** (this is here because it's interesting knowing what cool things people are working on and also could help community members make suggestions for work-arounds until the feature is built)
|
||||
|
||||
<a name="pullrequests"></a>
|
||||
## Submitting Pull Requests
|
||||
To contribute code to SerialPort Parsers, fork the project onto your github account and do your work in a branch. Before you submit the PR, make sure to rebase master into your branch so that you have the most recent changes and nothing breaks or conflicts. Lint and test your code using `npm run lint` and `npm run test`.
|
||||
To contribute code to SerialPort Utilities, fork the project onto your github account and do your work in a branch. Before you submit the PR, make sure to rebase master into your branch so that you have the most recent changes and nothing breaks or conflicts. Lint and test your code using `npm run lint` and `npm run test`.
|
||||
|
||||
You can use the generator `npm run generate` as a starting point for new streams.
|
||||
|
||||
|
|
@ -66,7 +72,7 @@ Tests are written using [mocha](https://mochajs.org/), [chai](http://chaijs.com/
|
|||
<a name="writing-docs"></a>
|
||||
## Writing Documentation
|
||||
|
||||
We are always looking to improve our docs. If you find that any are lacking information or have wrong information, fix and submit a PR. If you're looking for areas to start writing docs for, see the [docs](https://github.com/node-serialport/parsers/labels/docs) label in issues.
|
||||
We are always looking to improve our docs. If you find that any are lacking information or have wrong information, fix and submit a PR. If you're looking for areas to start writing docs for, see the [docs](https://github.com/node-serialport/utilities/labels/docs) label in issues.
|
||||
|
||||
We use [jsdoc](http://usejsdoc.org/) to generate our docs. Make your changes to `README.md` or the documentation blocks in the JavaScript files and run `npm run docs` to generate new documentation in `/docs/`.
|
||||
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ parser.on('data', console.log) // will have 8 bytes per data event</code></pre>
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ parser.on('data', console.log)</code></pre>
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ parser.on('data', console.log)</code></pre>
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ parser.on('data', console.log)</code></pre>
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ parser.on('data', console.log) // all data after READY is received</code></pre>
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ parser.on('data', console.log)</code></pre>
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ encoder.pipe(port);</code></pre>
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@
|
|||
|
||||
|
||||
<section class="readme">
|
||||
<article><h1>Serialport Parsers</h1><p><a href="https://lernajs.io/"><img src="https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg" alt="lerna"></a><br><a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/node-serialport/parsers.svg" alt="Greenkeeper badge"></a><br><a href="https://travis-ci.org/node-serialport/parsers"><img src="https://travis-ci.org/node-serialport/parsers.svg?branch=master" alt="Build Status"></a><br><a href="https://codecov.io/gh/node-serialport/parsers"><img src="https://codecov.io/gh/node-serialport/parsers/branch/master/graph/badge.svg" alt="codecov"></a></p>
|
||||
<p>Working with streams of binary data can be hard, this monorepo is a collection of projects that make it easier. We currently have the following projects.</p>
|
||||
<article><h1>Serialport Utilities</h1><p><a href="https://lernajs.io/"><img src="https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg" alt="lerna"></a><br><a href="https://greenkeeper.io/"><img src="https://badges.greenkeeper.io/node-serialport/utilities.svg" alt="Greenkeeper badge"></a><br><a href="https://travis-ci.org/node-serialport/utilities"><img src="https://travis-ci.org/node-serialport/utilities.svg?branch=master" alt="Build Status"></a><br><a href="https://codecov.io/gh/node-serialport/utilities"><img src="https://codecov.io/gh/node-serialport/utilities/branch/master/graph/badge.svg" alt="codecov"></a></p>
|
||||
<p>Working with serialports can be hard, this monorepo is a collection of projects that make it easier. We currently have the following projects.</p>
|
||||
<ul>
|
||||
<li>Parser Byte Length</li>
|
||||
<li>Parser cctalk</li>
|
||||
|
|
@ -57,8 +57,8 @@
|
|||
<li>Parser regex</li>
|
||||
<li>Parser slip-encoder</li>
|
||||
</ul>
|
||||
<h2>API Docs</h2><p>You can find the api docs in <code>/docs</code> or view them online here: https://node-serialport.github.io/parsers/</p>
|
||||
<h2>License</h2><p>SerialPort Parsers are all <a href="LICENSE">MIT licensed</a> and all it's dependencies are MIT or BSD licensed.</p>
|
||||
<h2>API Docs</h2><p>You can find the api docs in <code>/docs</code> or view them online here: https://node-serialport.github.io/utilities/</p>
|
||||
<h2>License</h2><p>SerialPort Utilities are all <a href="LICENSE">MIT licensed</a> and all it's dependencies are MIT or BSD licensed.</p>
|
||||
<h1>Contributing</h1><p>Do you want to help out but don't know where to start?</p>
|
||||
<p>There are a lot of ways to get involved and help out:</p>
|
||||
<ul>
|
||||
|
|
@ -69,12 +69,12 @@
|
|||
<li><a href="#writing-docs">Writing Documentation</a></li>
|
||||
</ul>
|
||||
<p><a name="reporting-issues"></a></p>
|
||||
<h2>Reporting An Issue</h2><p>SerialPort Parsers does it's <a href="https://github.com/node-serialport/parsers/issues">issue tracking</a> through github. To report an issue first search the repo to make sure that it has not been reported before. If no one has reported the bug before, create a new issue and be sure to follow the template.</p>
|
||||
<h2>Reporting An Issue</h2><p>SerialPort Utilities does it's <a href="https://github.com/node-serialport/utilities/issues">issue tracking</a> through github. To report an issue first search the repo to make sure that it has not been reported before. If no one has reported the bug before, create a new issue and be sure to follow the template.</p>
|
||||
<p><a name="requesting-features"></a></p>
|
||||
<h2>Requesting Features</h2><p>To request a new feature be added create a <a href="https://github.com/node-serialport/parsers/issues/new">github issue</a> and include:</p>
|
||||
<h2>Requesting Features</h2><p>To request a new feature be added create a <a href="https://github.com/node-serialport/utilities/issues/new">github issue</a> and include:</p>
|
||||
<p><strong>What feature you'd like to see:</strong><br><strong>Why this is important to you:</strong> (this is here because it's interesting knowing what cool things people are working on and also could help community members make suggestions for work-arounds until the feature is built)</p>
|
||||
<p><a name="pullrequests"></a></p>
|
||||
<h2>Submitting Pull Requests</h2><p>To contribute code to SerialPort Parsers, fork the project onto your github account and do your work in a branch. Before you submit the PR, make sure to rebase master into your branch so that you have the most recent changes and nothing breaks or conflicts. Lint and test your code using <code>npm run lint</code> and <code>npm run test</code>.</p>
|
||||
<h2>Submitting Pull Requests</h2><p>To contribute code to SerialPort Utilities, fork the project onto your github account and do your work in a branch. Before you submit the PR, make sure to rebase master into your branch so that you have the most recent changes and nothing breaks or conflicts. Lint and test your code using <code>npm run lint</code> and <code>npm run test</code>.</p>
|
||||
<p>You can use the generator <code>npm run generate</code> as a starting point for new streams.</p>
|
||||
<p>All contributions must adhere to the eslint rules by maintaining the existing coding style.</p>
|
||||
<p>If you are contributing code, it must include unit tests that fail if the working code isn't present and succeed when it is.</p>
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
<p><a name="writing-tests"></a></p>
|
||||
<h2>Writing Tests</h2><p>Tests are written using <a href="https://mochajs.org/">mocha</a>, <a href="http://chaijs.com/">chai</a> and <a href="http://sinonjs.org/">sinon</a>. If you are having issues making a test pass you can open a WIP or Work In Progress pr ans ask for help. Tests can be the hardest part to write when contributing code, so don't be discouraged.</p>
|
||||
<p><a name="writing-docs"></a></p>
|
||||
<h2>Writing Documentation</h2><p>We are always looking to improve our docs. If you find that any are lacking information or have wrong information, fix and submit a PR. If you're looking for areas to start writing docs for, see the <a href="https://github.com/node-serialport/parsers/labels/docs">docs</a> label in issues.</p>
|
||||
<h2>Writing Documentation</h2><p>We are always looking to improve our docs. If you find that any are lacking information or have wrong information, fix and submit a PR. If you're looking for areas to start writing docs for, see the <a href="https://github.com/node-serialport/utilities/labels/docs">docs</a> label in issues.</p>
|
||||
<p>We use <a href="http://usejsdoc.org/">jsdoc</a> to generate our docs. Make your changes to <code>README.md</code> or the documentation blocks in the JavaScript files and run <code>npm run docs</code> to generate new documentation in <code>/docs/</code>.</p>
|
||||
<p>Docs should have tested and working sample code. Many people using SerialPort are learning how to work with hardware for the first time, so write for a beginner audience.</p></article>
|
||||
</section>
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ module.exports = ByteLengthParser
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ module.exports = CCTalkParser
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ module.exports = DelimiterParser
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ module.exports = ReadLineParser
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ module.exports = ReadyParser
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ module.exports = RegexParser
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ module.exports = SlipEncoderParser
|
|||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat May 05 2018 22:40:45 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Jun 23 2018 21:24:37 GMT-0400 (EDT) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
||||
</footer>
|
||||
|
||||
<script>prettyPrint();</script>
|
||||
|
|
|
|||
41
packages/serialport-util/package-lock.json
generated
41
packages/serialport-util/package-lock.json
generated
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "serialport-parsers",
|
||||
"name": "@serialport/utilities",
|
||||
"requires": true,
|
||||
"lockfileVersion": 1,
|
||||
"dependencies": {
|
||||
|
|
@ -3402,9 +3402,9 @@
|
|||
}
|
||||
},
|
||||
"lolex": {
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/lolex/-/lolex-2.3.2.tgz",
|
||||
"integrity": "sha512-A5pN2tkFj7H0dGIAM6MFvHKMJcPnjZsOMvR7ujCjfgW5TbV6H9vb1PgxLtHvjqNZTHsUolz+6/WEO0N1xNx2ng==",
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/lolex/-/lolex-2.7.0.tgz",
|
||||
"integrity": "sha512-uJkH2e0BVfU5KOJUevbTOtpDduooSarH5PopO+LfM/vZf8Z9sJzODqKev804JYM2i++ktJfUmC1le4LwFQ1VMg==",
|
||||
"dev": true
|
||||
},
|
||||
"longest": {
|
||||
|
|
@ -3742,9 +3742,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"nise": {
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/nise/-/nise-1.3.0.tgz",
|
||||
"integrity": "sha512-U+Krdzhsw4losPP/Rij5UGTLQgS9gaWmXdRIbZQIQWVsUGDBo+N0m9mrY9CCEnmwssgswwydxLJUZtFfouC0gA==",
|
||||
"version": "1.4.2",
|
||||
"resolved": "https://registry.npmjs.org/nise/-/nise-1.4.2.tgz",
|
||||
"integrity": "sha512-BxH/DxoQYYdhKgVAfqVy4pzXRZELHOIewzoesxpjYvpU+7YOalQhGNPf7wAx8pLrTNPrHRDlLOkAl8UI0ZpXjw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@sinonjs/formatio": "^2.0.0",
|
||||
|
|
@ -6569,18 +6569,29 @@
|
|||
"dev": true
|
||||
},
|
||||
"sinon": {
|
||||
"version": "4.4.2",
|
||||
"resolved": "https://registry.npmjs.org/sinon/-/sinon-4.4.2.tgz",
|
||||
"integrity": "sha512-cpOHpnRyY3Dk9dTHBYMfVBB0HUCSKIpxW07X6OGW2NiYPovs4AkcL8Q8MzecbAROjbfRA9esJCmlZgikxDz7DA==",
|
||||
"version": "5.1.1",
|
||||
"resolved": "https://registry.npmjs.org/sinon/-/sinon-5.1.1.tgz",
|
||||
"integrity": "sha512-h/3uHscbt5pQNxkf7Y/Lb9/OM44YNCicHakcq73ncbrIS8lXg+ZGOZbtuU+/km4YnyiCYfQQEwANaReJz7KDfw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@sinonjs/formatio": "^2.0.0",
|
||||
"diff": "^3.1.0",
|
||||
"diff": "^3.5.0",
|
||||
"lodash.get": "^4.4.2",
|
||||
"lolex": "^2.2.0",
|
||||
"nise": "^1.2.0",
|
||||
"supports-color": "^5.1.0",
|
||||
"type-detect": "^4.0.5"
|
||||
"lolex": "^2.4.2",
|
||||
"nise": "^1.3.3",
|
||||
"supports-color": "^5.4.0",
|
||||
"type-detect": "^4.0.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"supports-color": {
|
||||
"version": "5.4.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
|
||||
"integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^3.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"slash": {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@serialport/parsers",
|
||||
"name": "@serialport/utilities",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"docs": "jsdoc -c ./.jsdoc.json ",
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/node-serialport/parsers.git"
|
||||
"url": "git://github.com/node-serialport/utilities.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "^4.1.2",
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
module.exports = function (plop) {
|
||||
plop.setGenerator('package', {
|
||||
description: 'Make a new Stream package',
|
||||
description: 'Make a new project',
|
||||
|
||||
// inquirer prompts
|
||||
prompts: [{
|
||||
type: 'input',
|
||||
name: 'name',
|
||||
message: 'Stream name: '
|
||||
message: 'Project name: '
|
||||
}],
|
||||
|
||||
// actions to perform
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue