tests
Showing
- __tests__/index.test.ts 28 additions, 0 deletions__tests__/index.test.ts
- __tests__/qrcode.png 0 additions, 0 deletions__tests__/qrcode.png
- __tests__/test.pdf 0 additions, 0 deletions__tests__/test.pdf
- package.json 5 additions, 2 deletionspackage.json
- src/pdfParser.ts 66 additions, 43 deletionssrc/pdfParser.ts
- src/utils.ts 13 additions, 0 deletionssrc/utils.ts
- yarn.lock 814 additions, 15 deletionsyarn.lock
__tests__/qrcode.png
0 → 100644
27.3 KiB
__tests__/test.pdf
0 → 100644
File added
... | ... | @@ -11,6 +11,7 @@ |
"@babel/core": "^7.11.4", | ||
"@babel/preset-env": "^7.11.0", | ||
"@babel/preset-typescript": "^7.10.4", | ||
"@types/node-forge": "^1.0.1", | ||
"@typescript-eslint/eslint-plugin": "^3.10.1", | ||
"@typescript-eslint/parser": "^3.10.1", | ||
"babel-eslint": "^10.1.0", | ||
... | ... | @@ -18,12 +19,12 @@ |
"eslint": "^7.7.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"file-saver": "^2.0.5", | ||
"husky": "^4.2.5", | ||
"jest": "^26.4.2", | ||
"lint-staged": "^10.2.13", | ||
"prettier": "^2.1.1", | ||
"typescript": "^4.0.2", | ||
"@types/node-forge": "^1.0.1" | ||
"typescript": "^4.0.2" | ||
}, | ||
"scripts": { | ||
"start": "tsc --watch", | ||
... | ... | @@ -39,6 +40,8 @@ |
}, | ||
"dependencies": { | ||
"@vereign/node-forge": "git+ssh://git@code.vereign.com:code/js-toolbox/vereign-node-forge.git", | ||
"node-addon-api": "^5.0.0", | ||
"nopodofo": "^1.0.1", | ||
"pdf-lib": "^1.17.1", | ||
"pdfdataextract": "^3.2.0" | ||
} | ||
... | ... |
src/utils.ts
0 → 100644
This diff is collapsed.