UNPKG

@alessiofrittoli/crypto-encoder

Version:
116 lines (115 loc) 3.83 kB
{ "name": "@alessiofrittoli/crypto-encoder", "version": "3.1.1", "description": "Lightweight TypeScript encoder/decoder library", "author": { "name": "Alessio Frittoli", "email": "info@alessiofrittoli.it", "url": "https://alessiofrittoli.it" }, "license": "MIT", "funding": [ { "type": "github", "url": "https://github.com/sponsors/alessiofrittoli" } ], "keywords": [ "nodejs", "base32", "base64", "base64url", "encoding", "decoding" ], "homepage": "https://github.com/alessiofrittoli/crypto-encoder#readme", "bugs": { "url": "https://github.com/alessiofrittoli/crypto-encoder/issues", "email": "info@alessiofrittoli.it" }, "repository": { "type": "git", "url": "git+https://github.com/alessiofrittoli/crypto-encoder.git" }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./Encoder": { "types": "./dist/Encoder.d.ts", "import": "./dist/Encoder.mjs", "require": "./dist/Encoder.js" }, "./Base32": { "types": "./dist/Base32.d.ts", "import": "./dist/Base32.mjs", "require": "./dist/Base32.js" }, "./Base64": { "types": "./dist/Base64.d.ts", "import": "./dist/Base64.mjs", "require": "./dist/Base64.js" } }, "sideEffects": false, "scripts": { "//1a": "*********************************************************************", "//1b": "******************** DEV - BUILD - LINT - RELEASE *******************", "//1c": "*********************************************************************", "dev": "NODE_ENV=development tsup --watch", "build:prod": "NODE_ENV=production tsup", "build": "pnpm lint && pnpm test:ci && pnpm build:prod", "lint": "eslint", "release": "node scripts/publish.js --verbose --npm", "//2a": "*********************************************************************", "//2b": "***************************** UNIT TESTS ****************************", "//2c": "*********************************************************************", "test": "jest --verbose", "test:watch": "jest --watchAll --verbose", "test:ci": "jest --ci --verbose", "//3a": "*********************************************************************", "//3b": "************************ UNIT TESTS COVERAGE ************************", "//3c": "*********************************************************************", "test:coverage": "pnpm test:watch --coverage", "test:coverage:ci": "pnpm test:ci --coverage", "test:serve-coverage": "http-server ./coverage/lcov-report --gzip true -p 0 -o --silent", "test:coverage:serve": "concurrently --prefix none --kill-others \"pnpm test:coverage\" \"pnpm test:serve-coverage\"", "//4a": "*********************************************************************", "//4b": "************************ TARGETED UNIT TESTS ************************", "//4c": "*********************************************************************", "test:base32": "pnpm test:watch base32.test.ts", "test:base64": "pnpm test:watch base64.test.ts", "test:encoder": "pnpm test:watch encoder.test.ts" }, "devDependencies": { "@alessiofrittoli/node-scripts": "^2.6.0", "@eslint/js": "^9.29.0", "@jest/globals": "^30.0.3", "@types/jest": "^30.0.0", "@types/node": "^24.0.4", "concurrently": "^9.2.0", "dotenv": "^16.6.0", "eslint": "^9.29.0", "globals": "^16.2.0", "http-server": "^14.1.1", "jest": "^30.0.3", "jest-environment-jsdom": "^30.0.2", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "tsup": "^8.5.0", "typescript": "^5.8.3", "typescript-eslint": "^8.35.0" }, "dependencies": { "@alessiofrittoli/crypto-buffer": "3.7.0", "@alessiofrittoli/type-utils": "^1.8.0" } }