@bbachain/cli-config
Version:
Typescript bindings for bbachain's CLI config (originally in Rust)
90 lines (89 loc) • 3.06 kB
JSON
{
"name": "@bbachain/cli-config",
"version": "0.1.0",
"description": "Typescript bindings for bbachain's CLI config (originally in Rust)",
"author": "socean finance <socean@socean.fi>",
"repository": "https://github.com/bbachain/cli-config",
"homepage": "https://socean.fi",
"license": "MIT",
"keywords": [
"bbachain",
"blockchain",
"typescript",
"CLI"
],
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"bin": {
"cli": "./dist/esbuild/cli.js"
},
"files": [
"dist",
"src"
],
"scripts": {
"eslint": "eslint --cache --cache-location=node_modules/.cache/.eslintcache",
"lint": "yarn run eslint src/ --ext .js,.ts",
"prepare": "husky install",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-mocha --timeout 300000 --paths tests/test-*.ts tests/**/test-*.ts",
"clean": "rm -rf dist build package",
"ts-node": "ts-node",
"docs": "typedoc --entryPoints src/index.ts",
"build:cjs": "tsc -p tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json && tsc-alias -p tsconfig.esm.json",
"build": "yarn clean && yarn build:cjs && yarn build:esm",
"build-all": "yarn build && yarn esbuild-node",
"esbuild-node": "esbuild src/cli.ts --bundle --platform=node --minify --sourcemap=external --outfile=dist/esbuild/cli.js",
"esbuild-node:dev": "esbuild src/cli.ts --bundle --platform=node --sourcemap=external --outfile=dist/esbuild/cli.js",
"esbuild-node:watch": "esbuild src/cli.ts --bundle --platform=node --watch --sourcemap=external --outfile=dist/esbuild/cli.js",
"prepack": "yarn build",
"postbuild": "echo '{\"type\":\"commonjs\"}' | npx json > dist/cjs/package.json && echo '{\"type\":\"module\"} ' | npx json > dist/esm/package.json"
},
"devDependencies": {
"@bbachain/web3.js": "^1.1.3",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.18",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"chai": "^4.3.6",
"esbuild": "^0.14.11",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.4.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"mocha": "^9.2.0",
"prettier": "^2.5.1",
"ts-mocha": "^9.0.2",
"ts-node": "^10.5.0",
"tsc-alias": "^1.6.4",
"tsconfig-paths": "^3.12.0",
"typedoc": "^0.22.11",
"typescript": "^4.5.5"
},
"dependencies": {
"yaml": "^2.1.1"
},
"resolutions": {
"minimist": "^1.2.6"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@bbachain/web3.js": "^1"
}
}