- Add GETTING_STARTED.md with quick start guide and development modes - Add INSTALL.sh automated installation script - Add INSTALLATION_CHECKLIST.md, INSTALLATION_SUCCESS.md, and INSTALLATION_SUMMARY.md - Add QUICK_REFERENCE.md for common commands - Add SETUP_GUIDE.md with detailed setup instructions - Update README.md with improved project overview - Add did-wallet app dependencies and node_modules
109 lines
3.1 KiB
JSON
109 lines
3.1 KiB
JSON
{
|
|
"name": "@web5/crypto",
|
|
"version": "1.0.0",
|
|
"description": "Web5 cryptographic library",
|
|
"type": "module",
|
|
"main": "./dist/cjs/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"types": "./dist/types/index.d.ts",
|
|
"homepage": "https://github.com/TBD54566975/web5-js/tree/main/packages/crypto#readme",
|
|
"bugs": "https://github.com/TBD54566975/web5-js/issues",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/TBD54566975/web5-js.git",
|
|
"directory": "packages/crypto"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"contributors": [
|
|
{
|
|
"name": "Daniel Buchner",
|
|
"url": "https://github.com/csuwildcat"
|
|
},
|
|
{
|
|
"name": "Frank Hinek",
|
|
"url": "https://github.com/frankhinek"
|
|
},
|
|
{
|
|
"name": "Moe Jangda",
|
|
"url": "https://github.com/mistermoe"
|
|
}
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js"
|
|
},
|
|
"./utils": {
|
|
"types": "./dist/types/utils.d.ts",
|
|
"import": "./dist/esm/utils.js",
|
|
"require": "./dist/cjs/utils.js"
|
|
}
|
|
},
|
|
"browser": {
|
|
"node:crypto": false
|
|
},
|
|
"react-native": "./dist/esm/index.js",
|
|
"keywords": [
|
|
"cryptography",
|
|
"ed25519",
|
|
"secp256k1",
|
|
"web5"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@noble/ciphers": "0.4.1",
|
|
"@noble/curves": "1.3.0",
|
|
"@noble/hashes": "1.3.3",
|
|
"@web5/common": "1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.40.1",
|
|
"@types/chai": "4.3.6",
|
|
"@types/chai-as-promised": "7.1.5",
|
|
"@types/eslint": "8.44.2",
|
|
"@types/mocha": "10.0.1",
|
|
"@types/node": "20.11.19",
|
|
"@types/sinon": "17.0.2",
|
|
"@typescript-eslint/eslint-plugin": "6.4.0",
|
|
"@typescript-eslint/parser": "6.4.0",
|
|
"@web/test-runner": "0.18.0",
|
|
"@web/test-runner-playwright": "0.11.0",
|
|
"c8": "9.0.0",
|
|
"chai": "4.3.10",
|
|
"chai-as-promised": "7.1.1",
|
|
"esbuild": "0.19.8",
|
|
"eslint": "8.47.0",
|
|
"eslint-plugin-mocha": "10.1.0",
|
|
"mocha": "10.2.0",
|
|
"mocha-junit-reporter": "2.2.1",
|
|
"playwright": "1.40.1",
|
|
"rimraf": "4.4.0",
|
|
"sinon": "16.1.3",
|
|
"source-map-loader": "4.0.2",
|
|
"typescript": "5.1.6"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf dist tests/compiled",
|
|
"build:esm": "rimraf dist/esm dist/types && pnpm tsc -p tsconfig.json",
|
|
"build:cjs": "rimraf dist/cjs && pnpm tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > ./dist/cjs/package.json",
|
|
"build:browser": "rimraf dist/browser.mjs dist/browser.js && node build/bundles.js",
|
|
"build:tests:node": "rimraf tests/compiled && pnpm tsc -p tests/tsconfig.json",
|
|
"build:tests:browser": "rimraf tests/compiled && node build/esbuild-tests.cjs",
|
|
"build": "pnpm clean && pnpm build:esm && pnpm build:cjs && pnpm build:browser",
|
|
"lint": "eslint . --ext .ts --max-warnings 0",
|
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
"test:node": "pnpm build:tests:node && pnpm c8 mocha",
|
|
"test:browser": "pnpm build:tests:browser && web-test-runner"
|
|
}
|
|
} |