OpChan/packages/core/package.json
2025-10-29 18:00:37 +05:30

60 lines
1.7 KiB
JSON

{
"name": "@opchan/core",
"version": "1.0.2",
"description": "Core browser library for opchan",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
}
},
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "npm run clean && npm run build:cjs && cp dist/cjs/index.js dist/index.js && cp dist/cjs/index.js.map dist/index.js.map && npm run build:esm && npm run build:types",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"build:esm": "tsc --module esnext --outDir dist/esm && cp dist/esm/index.js dist/index.esm.js && cp dist/esm/index.js.map dist/index.esm.js.map && cp -r dist/esm/types dist/ && cp -r dist/esm/lib dist/ && cp -r dist/esm/client dist/",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist && cp dist/cjs/index.d.ts dist/index.d.ts && cp dist/cjs/index.d.ts.map dist/index.d.ts.map",
"dev": "tsc --watch",
"test": "vitest",
"lint": "eslint src --ext .ts",
"clean": "rm -rf dist"
},
"keywords": [
"browser",
"library",
"typescript"
],
"author": "",
"license": "MIT",
"dependencies": {
"@noble/ed25519": "^2.2.3",
"@noble/hashes": "^1.8.0",
"@waku/sdk": "0.0.36-ff9c430.0",
"clsx": "^2.1.1",
"tailwind-merge": "^2.5.2",
"uuid": "^11.1.0",
"wagmi": "^2.17.0"
},
"devDependencies": {
"@types/node": "^22.5.5",
"@types/uuid": "^10.0.0",
"typescript": "^5.5.3",
"vitest": "^3.2.4"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}