shogun-core
Version:
SHOGUN CORE - Core library for Shogun Ecosystem
123 lines (122 loc) • 4.46 kB
JSON
{
"name": "shogun-core",
"version": "6.8.2",
"type": "module",
"description": "SHOGUN CORE - Core library for Shogun Ecosystem",
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"types": "./dist/types/src/index.d.ts",
"exports": {
".": {
"types": "./dist/types/src/index.d.ts",
"import": "./dist/src/index.js",
"require": "./dist-cjs/index.js",
"browser": "./dist/browser/shogun-core.js",
"default": "./dist/src/index.js",
"node": "./dist/src/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "yarn format && yarn run build:esm && yarn run build:cjs && yarn run build:browser",
"build:esm": "tsc && node scripts/add-js-extensions.mjs",
"build:cjs": "tsc --project tsconfig.cjs.json && node scripts/make-cjs.mjs",
"build:browser": "webpack --config webpack.config.cjs",
"dev": "tsc --watch",
"format": "prettier --write \"src/**/*.ts\"",
"docs": "typedoc --options typedoc.json",
"prebuild": "rimraf dist dist-cjs",
"setup:zkproof": "node scripts/setup-zkproof.js",
"auth:test": "yarn tsx src/examples/auth-test.ts",
"hint:test": "yarn tsx src/examples/password-hint-test.ts",
"hint:simple": "yarn tsx src/examples/simple-hint-test.ts",
"hint:direct": "yarn tsx src/examples/direct-hint-test.ts",
"hint:fast": "yarn tsx src/examples/hint-test-fast.ts",
"zkproof:example": "yarn tsx src/examples/zkproof-example.ts",
"zkproof:credentials": "yarn tsx src/examples/zkproof-credentials-example.ts",
"crypto:working": "yarn tsx src/examples/crypto-working-test.ts",
"signal:test": "yarn tsx src/examples/signal-protocol-test.ts",
"double-ratchet:test": "yarn tsx src/examples/double-ratchet-test.ts",
"random:test": "yarn tsx src/examples/random-generation-test.ts",
"mls-sframe:test": "yarn tsx src/examples/mls-sframe-test.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false",
"test:integration": "jest --config src/__tests__/integration/jest.integration.config.js",
"test:integration:watch": "jest --config src/__tests__/integration/jest.integration.config.js --watch",
"crypto-identities:example": "yarn tsx src/examples/crypto-identity-example.ts",
"crypto-identities:simple": "yarn tsx src/examples/simple-crypto-identity-example.ts"
},
"keywords": [
"gun",
"ethereum",
"wallet",
"crypto",
"gunDB"
],
"author": "Scobru",
"license": "MIT",
"dependencies": {
"@hpke/chacha20poly1305": "^1.7.1",
"@hpke/hybridkem-x-wing": "^0.6.1",
"@hpke/ml-kem": "^0.2.1",
"@noble/ciphers": "2.0.1",
"@noble/curves": "^1.9.1",
"@noble/hashes": "^1.5.0",
"@noble/post-quantum": "^0.5.2",
"@scure/bip39": "^1.5.0",
"@semaphore-protocol/group": "^3.15.0",
"@semaphore-protocol/identity": "^3.15.0",
"@semaphore-protocol/proof": "^3.15.0",
"assert": "^2.1.0",
"buffer": "^6.0.3",
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"elliptic": "^6.6.1",
"ethers": "^6.13.5",
"global": "^4.4.0",
"gun": "^0.2020.1241",
"lodash.merge": "^4.6.2",
"nostr-tools": "^2.15.0",
"openpgp": "^6.2.2",
"prettier-config-standard": "^7.0.0",
"rxjs": "^7.8.2",
"stream-browserify": "^3.0.0",
"ts-mls": "^1.3.2",
"uuid": "^11.1.0",
"vm-browserify": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/preset-env": "^7.24.3",
"@types/jest": "^29.5.14",
"@types/node": "^20.11.24",
"@types/ws": "^8.18.1",
"babel-loader": "^9.1.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"prettier": "^3.5.3",
"process": "^0.11.10",
"rimraf": "^5.0.5",
"rollup-plugin-polyfill-node": "^0.8.0",
"stream-browserify": "^3.0.0",
"ts-jest": "^29.3.2",
"ts-loader": "^9.5.1",
"tsx": "^4.20.6",
"typedoc": "^0.27.9",
"typescript": "^5.3.3",
"util": "^0.12.5",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">=18"
}
}