UNPKG

@avalabs/avalanchejs

Version:
109 lines (108 loc) 3.41 kB
{ "name": "@avalabs/avalanchejs", "version": "5.0.0", "description": "Avalanche Platform JS Library", "main": "dist/index.cjs", "types": "dist/index.d.ts", "typings": "dist/index.d.ts", "type": "module", "exports": { "import": "./dist/es/index.js", "require": "./dist/index.cjs", "default": "./dist/es/index.js" }, "files": [ "dist", "src" ], "sideEffects": false, "module": "dist/es/index.js", "scripts": { "start": "rollup -c --watch", "build": "rollup -c", "build:prod": "rollup -c --environment BUILD:production", "test": "vitest run", "test:path": "vitest --watch --testNamePattern", "test:cov": "vitest run --coverage", "test:watch": "vitest watch", "lint": "eslint --fix --ignore-path .gitignore \"./**/*.ts*\"", "lint:check": "eslint --ignore-path .gitignore \"./**/*.ts*\"", "typecheck": "tsc --skipLibCheck --noEmit", "example": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/c-chain/export.ts", "example:generateKeys": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/generate-keys.ts", "example:createSubnetTx": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/p-chain/createSubnet.ts", "example:createChainTx": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/p-chain/createChain.ts", "example:convertSubnetTx": "NODE_OPTIONS='--loader ts-node/esm' ts-node examples/p-chain/convertSubnet.ts", "prepare": "husky install" }, "dependencies": { "@noble/curves": "1.3.0", "@noble/hashes": "1.3.3", "@noble/secp256k1": "2.0.0", "@scure/base": "1.1.5", "micro-eth-signer": "0.7.2" }, "devDependencies": { "@commitlint/cli": "19.5.0", "@commitlint/config-conventional": "19.5.0", "@rollup/plugin-node-resolve": "15.2.3", "@rollup/plugin-terser": "0.4.3", "@rollup/plugin-typescript": "11.1.6", "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "13.0.0", "@semantic-release/git": "10.0.1", "@semantic-release/github": "11.0.0", "@semantic-release/npm": "12.0.1", "@types/node": "20.11.10", "@typescript-eslint/eslint-plugin": "6.18.1", "@typescript-eslint/parser": "6.18.1", "commitizen": "4.3.1", "cz-conventional-changelog": "3.3.0", "dotenv": "16.4.2", "eslint": "8.49.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-prettier": "4.2.1", "ethers": "6.11.0", "husky": "8.0.3", "lint-staged": "15.2.2", "node-fetch": "3.3.2", "prettier": "2.8.7", "rollup": "4.9.6", "rollup-plugin-filesize": "10.0.0", "semantic-release": "24.2.0", "ts-node": "10.9.2", "typescript": "5.3.3", "vitest": "^2.1.4" }, "packageManager": "yarn@1.22.19", "engines": { "node": ">=20" }, "volta": { "node": "22.11.0", "yarn": "1.22.19" }, "repository": { "type": "git", "url": "git+https://github.com/ava-labs/avalanchejs.git" }, "keywords": [ "Avalanche", "blockchain", "defi" ], "author": "", "bugs": { "url": "https://github.com/ava-labs/avalanchejs/issues" }, "homepage": "https://github.com/ava-labs/avalanchejs#readme", "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "lint-staged": { "**/*": "prettier --write --ignore-unknown", "*.{ts,tsx}": "eslint --fix --max-warnings 0" } }