mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 09:01:39 -05:00
fixed some typos in readme file and prettified it
This commit is contained in:
parent
94cbe4dc7c
commit
24f2b94949
1 changed files with 10 additions and 7 deletions
17
vendor/qrcode/README.md
vendored
17
vendor/qrcode/README.md
vendored
|
@ -1,14 +1,17 @@
|
|||
## About
|
||||
This library is a precompiled version of npm `node-qrcode` package. Github repo for the source code can be found at [node-qrcode](https://github.com/soldair/node-qrcode)
|
||||
The precompiled library is of version `1.5.3`
|
||||
|
||||
This library is a precompiled version of npm `node-qrcode` package. Github repo for the source code can be found at [node-qrcode](https://github.com/soldair/node-qrcode). The precompiled library is of version `1.5.3`.
|
||||
|
||||
### How to update
|
||||
* Download the source code tar of the new version from github [Release Page](https://github.com/soldair/node-qrcode/tags).
|
||||
* Extra the tar and run below commands
|
||||
|
||||
- Download the source code tar of the new version from github [Release Page](https://github.com/soldair/node-qrcode/tags).
|
||||
- Extract the tar and run below commands:
|
||||
|
||||
```bash
|
||||
> npm install
|
||||
> npm run build
|
||||
```
|
||||
* This will create a build directory containig the file `qrcode.js`. Copy this file to the vendor directory of project.
|
||||
* Make sure to add the `module.export` at the end of file to make it work with typescript imports
|
||||
* Check the repo and update `license` file if required.
|
||||
|
||||
- This will create a build directory containig the file `qrcode.js`. Copy this file to the vendor directory of the project.
|
||||
- Make sure to add the `module.exports` at the end of the file to make it work with typescript imports (check existing file for example).
|
||||
- Check the repo and update `license` file if required.
|
||||
|
|
Loading…
Add table
Reference in a new issue