{ "name": "bip174", "version": "3.0.1", "description": "", "main": "src/cjs/lib/psbt.cjs", "module": "src/esm/lib/psbt.js", "types": "src/esm/lib/psbt.d.ts", "exports": { ".": { "types": "./src/esm/lib/psbt.d.ts", "import": "./src/esm/lib/psbt.js", "require": "./src/cjs/lib/psbt.cjs" } }, "type": "module", "files": [ "src/cjs/lib", "src/esm/lib" ], "engines": { "node": ">=18.0.0" }, "scripts": { "build": "npm run clean && tsc -p ./tsconfig.json && tsc -p ./tsconfig.cjs.json && npm run formatjs", "checkHybrid": "chmod +x test.cjs && node test.cjs", "clean": "rimraf src types", "coverage": "c8 --check-coverage --include='src/esm/lib/**/*.js' --reporter=lcov --reporter=text --branches 90 --functions 90 --lines 90 npm run unit", "flb": "npm run format && npm run lint && npm run build", "format": "npm run prettier -- --write", "formatjs": "npm run prettierjs -- --write > /dev/null 2>&1", "format:ci": "npm run prettier -- --check && npm run prettierjs -- --check", "gitdiff:ci": "npm run build && git diff --exit-code", "lint": "tslint -p tsconfig.json -c tslint.json", "postbuild": "find src/cjs -type f -name \"*.js\" -exec bash -c 'mv \"$0\" \"${0%.js}.cjs\"' {} \\; && chmod +x fixup.cjs && node fixup.cjs", "prettier": "prettier 'ts_src/**/*.ts' --ignore-path ./.prettierignore", "prettierjs": "prettier 'src/**/*.js' --ignore-path ./.prettierignore", "test": "npm run format:ci && npm run lint && npm run build && npm run coverage", "unit": "tape src/esm/tests/*.js src/esm/tests/fromBIP/*.js" }, "repository": { "type": "git", "url": "git+https://github.com/bitcoinjs/bip174.git" }, "dependencies": { "uint8array-tools": "^0.0.10", "varuint-bitcoin": "^2.0.1" }, "devDependencies": { "@types/node": "12.0.8", "@types/tape": "4.2.33", "bitcoinjs-lib": "^6.1.6", "c8": "^10.1.2", "prettier": "^1.18.2", "rimraf": "^2.6.3", "tape": "^5.3.0", "tslint": "5.17.0", "typescript": "3.5.2" }, "author": "Jonathan Underwood", "license": "MIT", "bugs": { "url": "https://github.com/bitcoinjs/bip174/issues" }, "homepage": "https://github.com/bitcoinjs/bip174#readme" }