UNPKG

ic0

Version:

An easy-to-use JavaScript API for the Internet Computer.

70 lines (69 loc) 1.81 kB
{ "name": "ic0", "version": "0.3.2", "description": "An easy-to-use JavaScript API for the Internet Computer.", "author": "DFINITY Foundation", "license": "Apache-2.0", "main": "lib/index.js", "types": "lib/index.d.ts", "repository": { "type": "git", "url": "https://github.com/dfinity/node-ic0.git" }, "scripts": { "build": "rimraf ./lib && tsc -p .", "prepare": "husky install", "test": "jest && node examples/ledger.js && cd examples/vite && npm i && npm run build", "precommit": "lint-staged", "prepublishOnly": "run-s build test" }, "dependencies": { "@dfinity/agent": "^2.1.3", "@dfinity/candid": "^2.1.3", "@dfinity/identity": "^2.1.3", "@dfinity/principal": "^2.1.3", "cross-fetch": "^3.1.5" }, "devDependencies": { "@types/jest": "^29.2.5", "cross-env": "^7.0.3", "eslint-config-prettier": "^8.5.0", "husky": "^8.0.1", "jest": "^29.3.1", "lint-staged": "^13.0.3", "npm-run-all": "^4.1.5", "prettier": "^2.7.1", "rimraf": "^3.0.2", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "typescript": "^4.8.2" }, "lint-staged": { "{lib,contrib,utils}/**/*.{js,ts,jsx,tsx}": [ "prettier --write" ] }, "directories": { "lib": "lib", "example": "examples" }, "files": [ "src/**/*", "lib/**/*" ], "keywords": [ "ic", "icp", "internet-computer", "rust", "motoko", "dfinity", "smart-contract", "canister", "browser", "blockchain", "cryptocurrency", "nft", "token" ] }