UNPKG

@ondemos/core

Version:

A cryptographic commitment scheme with implied order of ownership wasm module for nodejs and the browser.

119 lines (118 loc) 3.5 kB
{ "name": "@ondemos/core", "description": "A cryptographic commitment scheme with implied order of ownership wasm module for nodejs and the browser.", "version": "0.2.7", "repository": { "type": "git", "url": "https://github.com/ondemos/core.git" }, "author": { "name": "Ondemos Foundation", "email": "security@ondemos.org", "url": "https://ondemos.org" }, "contributors": [ { "name": "Dimitris Karoukis", "email": "dim@ondemos.org", "url": "https://ondemos.org" } ], "license": "AGPL-3.0", "bugs": { "url": "https://github.com/ondemos/core/issues" }, "keywords": [ "cryptographic commitment scheme", "commitment", "ledger", "libsodium", "curve25519", "public key cryptography", "cryptography", "emscripten", "typescript" ], "homepage": "https://github.com/ondemos/core#readme", "main": "lib/index.js", "module": "lib/index.mjs", "types": "lib/index.d.ts", "exports": { ".": { "require": "./lib/index.js", "import": "./lib/index.mjs", "module": "./lib/index.mjs", "types": "./lib/index.d.ts", "default": "./lib/index.min.js" }, "./package.json": "package.json" }, "files": [ "lib/**/*" ], "scripts": { "start": "cross-env NODE_ENV=development rollup --config rollup.config.ts --configPlugin typescript", "copy:wasm": "rm -rf wasm && cp -r ../core/build/wasm wasm", "build:debug": "cross-env NODE_ENV=development rollup --config rollup.config.ts --configPlugin typescript", "build": "cross-env NODE_ENV=production rollup --config rollup.config.ts --configPlugin typescript", "postbuild": "node scripts/postBuild.cjs", "test": "jest --config jest.config.json", "format": "prettier --write src __tests__ *.ts eslint.config.mjs", "lint": "npx eslint .", "prepublishOnly": "npm-run-all -s lint test build", "preversion": "npm-run-all -s lint format", "docs": "typedoc --out docs --excludeInternal src/index.ts" }, "devDependencies": { "@eslint/js": "^9.4.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-commonjs": "^25.0.2", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-replace": "^5.0.0", "@rollup/plugin-typescript": "^11.0.0", "@rollup/plugin-url": "^8.0.0", "@types/emscripten": "^1.39.6", "@types/eslint__js": "^8.42.3", "@types/jest": "^29.0.0", "cross-env": "^7.0.3", "eslint": "^9.4.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-jest": "^28.0.0-next.7", "eslint-plugin-jsdoc": "^48.2.7", "eslint-plugin-prefer-arrow": "^1.2.3", "eslint-plugin-prettier": "^5.1.3", "globals": "^15.3.0", "jest": "^29.0.1", "jest-badges": "^0.1.3", "jest-environment-jsdom": "^29.0.0", "npm-run-all": "^4.1.5", "prettier": "^3.0.0", "rollup": "^4.6.1", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-copy": "^3.4.0", "terser": "^5.15.1", "ts-jest": "^29.0.0-next.1", "tslib": "^2.3.1", "tweetnacl": "^1.0.3", "typedoc": "^0.25.0", "typescript": "^5.2.2", "typescript-eslint": "^8.0.0-alpha.25" }, "engines": { "node": ">=20", "npm": ">=8" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }