@commercelayer/js-auth
Version:
A JavaScript library designed to simplify authentication when interacting with the Commerce Layer API.
60 lines • 1.51 kB
JSON
{
"name": "@commercelayer/js-auth",
"version": "7.1.1",
"description": "A JavaScript library designed to simplify authentication when interacting with the Commerce Layer API.",
"repository": {
"url": "https://github.com/commercelayer/commercelayer-js-auth.git"
},
"author": {
"name": "Commerce Layer",
"email": "support@commercelayer.io"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.js",
"files": [
"dist"
],
"keywords": [
"jamstack",
"headless",
"ecommerce",
"api",
"auth"
],
"bugs": {
"url": "https://github.com/commercelayer/commercelayer-js-auth/issues"
},
"homepage": "https://github.com/commercelayer/commercelayer-js-auth#readme",
"publishConfig": {
"access": "public"
},
"license": "MIT",
"devDependencies": {
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^20",
"jsonwebtoken": "^9.0.3",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.0.15",
"vitest-fetch-mock": "^0.4.5"
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"lint": "pnpm biome check src",
"lint:fix": "pnpm biome check src --write",
"test": "pnpm run lint:fix && vitest run",
"test:production": "pnpm run lint:fix && vitest run --mode production",
"test:watch": "vitest",
"build": "tsup",
"jsr:publish": "npx jsr publish"
}
}