UNPKG

wttp-core

Version:

Core contracts, interfaces, and TypeScript types for the Web3 Transfer Protocol (WTTP).

103 lines (102 loc) 3.47 kB
{ "name": "wttp-core", "version": "0.5.3", "description": "Core contracts, interfaces, and TypeScript types for the Web3 Transfer Protocol (WTTP).", "main": "./dist/cjs/src/index.js", "module": "./dist/esm/src/index.js", "types": "./dist/types/src/index.d.ts", "exports": { ".": { "import": "./dist/esm/src/index.js", "require": "./dist/cjs/src/index.js", "types": "./dist/types/src/index.d.ts" }, "./types": { "import": "./dist/esm/typechain-types/index.js", "require": "./dist/cjs/typechain-types/index.js", "types": "./dist/types/typechain-types/index.d.ts" }, "./artifacts": { "import": "./dist/esm/artifacts/index.js", "require": "./dist/cjs/artifacts/index.js", "types": "./dist/types/artifacts/index.d.ts" }, "./constants": { "import": "./dist/esm/src/constants.js", "require": "./dist/cjs/src/constants.js", "types": "./dist/types/src/constants.d.ts" }, "./contracts/*": "./contracts/*" }, "files": [ "dist/", "contracts/", "README.md", "LICENSE", "LLM_CONTEXT.md", "TIMESTAMP.md" ], "directories": { "test": "test" }, "scripts": { "build": "npm run clean && npm run compile && npm run typechain && npm run build:types && npm run build:cjs && npm run build:esm", "build:types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir dist/types", "build:cjs": "tsc --project tsconfig.build.json --module commonjs --outDir dist/cjs", "build:esm": "tsc --project tsconfig.build.json --module nodenext --moduleResolution nodenext --outDir dist/esm", "clean": "shx rm -rf dist artifacts cache typechain-types", "compile": "npx hardhat build --force", "typechain": "npx hardhat typechain", "test": "npx hardhat test", "test:compatibility": "cd test-compatibility && node run-all-tests.js", "test:compatibility:help": "cd test-compatibility && node run-all-tests.js --help", "prepublishOnly": "npm run test && npm run build && npm run test:compatibility", "publish:all": "ts-node scripts/publish-packages.ts", "publish:dry": "ts-node scripts/publish-packages.ts --dry-run", "publish:beta": "ts-node scripts/publish-packages.ts --tag=beta" }, "repository": { "type": "git", "url": "git+https://github.com/TechnicallyWeb3/wttp-core.git" }, "keywords": [ "tw3", "technicallyWeb3", "llm-context", "wttp", "esp", "web3", "blockchain", "ethereum", "webhosting", "smart-contracts", "solidity", "typescript" ], "author": "TechnicallyWeb3", "license": "AGPL-3.0", "bugs": { "url": "https://github.com/TechnicallyWeb3/wttp-core/issues" }, "homepage": "https://github.com/TechnicallyWeb3/wttp-core#readme", "devDependencies": { "@nomicfoundation/hardhat-toolbox": "^5.0.0", "@nomicfoundation/hardhat-verify": "^2.0.14", "@types/parse-uri": "^1.0.2", "@wttp/gateway": "^0.1.0", "@wttp/site": "^0.2.0", "dotenv": "^16.5.0", "ethers": "^6.14.4", "hardhat": "^2.24.1", "hardhat-build": "^0.1.5", "shx": "^0.4.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "dependencies": { "@tw3/esp": "^1.0.1", "@types/mime-types": "^3.0.1", "mime-types": "^3.0.1", "parse-uri": "^1.0.11" } }