UNPKG

@dfinity/candid

Version:

JavaScript and TypeScript library to work with candid interfaces

76 lines (75 loc) 2.03 kB
{ "name": "@dfinity/candid", "version": "2.4.0", "author": "DFINITY Stiftung <sdk@dfinity.org>", "license": "Apache-2.0", "description": "JavaScript and TypeScript library to work with candid interfaces", "homepage": "https://internetcomputer.org", "repository": { "type": "git", "url": "https://github.com/dfinity/agent-js.git", "directory": "packages/candid" }, "bugs": { "url": "https://github.com/dfinity/agent-js/issues" }, "keywords": [ "internet computer", "ic", "dfinity", "canister", "webauthn", "identity", "principal", "dfx", "candid", "motoko", "javascript", "typescript", "blockchain", "crypto", "distributed", "api" ], "main": "./lib/cjs/index.js", "module": "./lib/esm/index.js", "unpkg": "./lib/esm/index", "scripts": { "build": "tsc -b && tsc -p tsconfig-cjs.json", "bundle": "esbuild --bundle src/index.ts --outfile=dist/index.js", "size-limit": "size-limit", "ci": "npm run prettier && npm run lint && npm run test", "lint": "eslint 'src' --ext '.js,.jsx,.ts,.tsx'", "lint:fix": "npm run lint -- --fix", "make:docs/reference": "typedoc src/index.ts --out ../../docs/candid --excludeInternal", "prettier": "prettier --check \"src/**/*.ts\"", "prettier:write": "npm run prettier -- --write", "test": "jest", "test:coverage": "jest --collectCoverage" }, "peerDependencies": { "@dfinity/principal": "^2.4.0" }, "devDependencies": { "@types/jest": "^29.5.5", "@typescript-eslint/eslint-plugin": "^5.30.5", "@typescript-eslint/parser": "^5.30.5", "esbuild": "^0.25.1", "eslint": "^8.19.0", "jest": "^29.7.0", "jest-diff": "^27.3.1", "prettier": "^2.0.5", "size-limit": "^8.2.6", "text-encoding": "^0.7.0", "ts-node": "^10.8.2", "typedoc": "^0.22.11", "whatwg-fetch": "^3.0.0" }, "size-limit": [ { "path": "./dist/index.js", "limit": "100 kB", "webpack": false } ] }