UNPKG

ts-jose

Version:

Wrap functions of JOSE in steady interface

73 lines (72 loc) 1.99 kB
{ "name": "ts-jose", "version": "6.0.10", "description": "Wrap functions of JOSE in steady interface", "keywords": [ "JOSE", "helper", "wrapper", "TypeScript", "interface", "class based" ], "homepage": "https://github.com/evan361425/ts-jose#readme", "bugs": { "url": "https://github.com/evan361425/ts-jose/issues" }, "repository": { "type": "git", "url": "git+https://github.com/evan361425/ts-jose.git" }, "license": "MIT", "author": "Shueh Chou Lu <evan.lu@104.com.tw>", "type": "module", "main": "./dist/mjs/index.js", "types": "./dist/index.d.ts", "exports": { "types": "./dist/index.d.ts", "import": "./dist/mjs/index.js", "require": "./dist/cjs/index.cjs" }, "scripts": { "clean": "rm -rf dist/**/*.js dist/**/*.cjs dist/**/*.js.map dist/**/*.ts coverage", "prebuild": "npm run clean", "build": "npm run build:mjs && npm run build:cjs", "build:mjs": "tsc --project tsconfig.mjs.json", "build:cjs": "tsc --project tsconfig.cjs.json", "postbuild:cjs": "bash scripts/convert-to-cjs.sh", "build:dev": "tsc -w", "format": "prettier --write **/*.ts", "test": "mocha", "pretest:cov": "npm run clean", "test:cov": "c8 mocha", "prelint": "prettier --check **/*.ts", "lint": "eslint 'src/**/*.ts' 'test/**/*.ts'", "all": "npm run lint && npm run test && npm run build" }, "dependencies": { "jose": "6.0.10" }, "devDependencies": { "@types/chai": "^5", "@types/mocha": "^10", "@types/node": "^22", "@types/sinon": "^17", "@typescript-eslint/eslint-plugin": "^7", "@typescript-eslint/parser": "^7", "c8": "^10", "chai": "^5.0", "eslint": "^8", "eslint-config-prettier": "^9", "eslint-plugin-mocha": "^10", "eslint-plugin-prettier": "^5", "mocha": "^10.2", "prettier": "^3", "sinon": "^19.0", "ts-node": "^10", "typescript": "^5" }, "engines": { "node": ">=20" } }