@3id/common
Version:
## Installation
63 lines (62 loc) • 1.34 kB
JSON
{
"name": "@3id/common",
"version": "0.4.1",
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"homepage": "https://github.com/ceramicstudio/js-3id#readme",
"keywords": [
"3id",
"common"
],
"repository": {
"type": "git",
"url": "https://github.com/ceramicstudio/3id-connect",
"directory": "packages/common"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js"
},
"files": [
"dist"
],
"engines": {
"node": ">=14.14"
},
"sideEffects": false,
"scripts": {
"build:clean": "del dist",
"build:js": "swc src -d ./dist --config-file ../../.swcrc",
"build:types": "tsc --emitDeclarationOnly --skipLibCheck",
"build": "yarn build:clean && yarn build:types && yarn build:js",
"lint": "eslint src --fix",
"prepare": "yarn build",
"prepublishOnly": "package-check"
},
"dependencies": {
"errors-utils": "^0.2.0",
"uint8arrays": "^3.0.0"
},
"devDependencies": {
"did-jwt": "^6.0.0",
"rpc-utils": "^0.6.1"
},
"jest": {
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.(t|j)s$": [
"@swc/jest",
{
"root": "../.."
}
]
}
}
}