{
  "name": "@dcspark/cip34-js",
  "version": "3.0.1",
  "description": "A Javascript library reference implementation for CIP34",
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/types/index.d.ts",
  "files": [
    "dist"
  ],
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "types": "./dist/types/index.d.ts",
      "require": "./dist/cjs/index.js",
      "import": "./dist/esm/index.js"
    }
  },
  "scripts": {
    "registry:gen-ts": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' ts-node scripts/json-to-ts.ts ./src/registry.json",
    "registry:gen-type": "quicktype ./src/registry.json --just-types --top-level Registry -o ./src/registryTypes.ts && sed -i 's/:[[:space:]]*LegacyTestnet/: Network/g' ./src/registryTypes.ts && sed -i 's/interface LegacyTestnet/interface Network/g' ./src/registryTypes.ts",
    "build": "npm run clean && cp CIPs/CIP-0034/registry.json src/ && npm run registry:gen-type && npm run registry:gen-ts && tsc && tsc-alias -p tsconfig.json && npm run flowgen",
    "postbuild": "esm2cjs --in dist/esm --out dist/cjs -l error && npm run copy-misc",
    "clean": "rm -rf ./dist/",
    "copy-misc": "cp ./src/registry.json dist/cjs/ && cp ./src/registry.json dist/esm/",
    "eslint": "eslint src tests",
    "flowgen": "find . -type f -path './dist/*' -name '*.d.ts' -exec sh -c 'flowgen --no-inexact --add-flow-header $1 -o ${1%.*.*}.js.flow' _ '{}' \\;",
    "npm-publish": "npm run verify && npm run build && npm publish --access public",
    "test": "NODE_OPTIONS=--experimental-vm-modules tsc --noEmit && jest",
    "update-submodule": "git submodule update --remote",
    "verify": "npm run eslint && npm run test"
  },
  "husky": {
    "hooks": {
      "pre-push": "npm run verify"
    }
  },
  "keywords": [
    "cip",
    "cip34",
    "chainId",
    "Cardano",
    "registry"
  ],
  "license": "Apache-2.0 OR MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/dcSpark/cip34-js.git"
  },
  "author": "dcSpark",
  "homepage": "https://github.com/dcSpark/cip34-js#readme",
  "devDependencies": {
    "@alcalzone/esm2cjs": "^1.1.2",
    "@types/eslint-plugin-prettier": "^3.1.3",
    "@types/jest": "29.5.12",
    "@typescript-eslint/eslint-plugin": "^7.17.0",
    "@typescript-eslint/parser": "^7.17.0",
    "ajv": "^8.17.1",
    "eslint": "^8.57.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-airbnb-typescript": "^18.0.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-jest": "^28.6.0",
    "eslint-plugin-prettier": "^5.2.1",
    "flowgen": "1.21.0",
    "husky": "9.1.3",
    "jest": "29.7.0",
    "prettier": "^3.3.3",
    "quicktype": "^23.0.170",
    "ts-jest": "29.2.3",
    "ts-node": "^10.9.2",
    "tsc-alias": "^1.8.10",
    "typescript": "5.5.4"
  }
}