generated from coulomb/repo-seed
The bufferToBase64 function from @binect/js expects Node.js Buffer objects but was receiving browser ArrayBuffer, causing "[object ArrayBuffer]" to be sent instead of valid base64. Use browser-native btoa() instead. Also updates tests to work with @binect/js integration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "binect-chrome",
|
|
"version": "1.0.0",
|
|
"description": "Chrome extension to send PDFs from cloud applications directly to Binect for physical mail delivery",
|
|
"dependencies": {
|
|
"@binect/js": "file:../binect-js"
|
|
},
|
|
"scripts": {
|
|
"build": "webpack --mode production",
|
|
"dev": "webpack --mode development --watch",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"lint": "eslint src/**/*.{js,ts}",
|
|
"lint:fix": "eslint src/**/*.{js,ts} --fix",
|
|
"type-check": "tsc --noEmit"
|
|
},
|
|
"keywords": [
|
|
"chrome-extension",
|
|
"pdf",
|
|
"binect",
|
|
"postal-mail"
|
|
],
|
|
"author": "Binect",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/chrome": "^0.0.260",
|
|
"@types/jest": "^29.5.11",
|
|
"@types/node": "^25.0.6",
|
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
"@typescript-eslint/parser": "^6.19.0",
|
|
"copy-webpack-plugin": "^12.0.2",
|
|
"css-loader": "^6.9.1",
|
|
"eslint": "^8.56.0",
|
|
"html-webpack-plugin": "^5.6.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"style-loader": "^3.3.4",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-loader": "^9.5.1",
|
|
"typescript": "^5.3.3",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4"
|
|
}
|
|
}
|