mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 22:43:06 +08:00
* rename ordhook-cli to cli * rename ordhook-cli * update configs * update config to future support runehook integration * new code * add ci * files * standard * add files * rename binary to bitcoin-indexer and commands to ordinals from ordhook * config component * integration * runes build * fix runes * indexer toml * add runes tests to ci * rename dockerfile * fix: doctest --------- Co-authored-by: ASuciuX <asuciu@hiro.so>
67 lines
2.6 KiB
JSON
67 lines
2.6 KiB
JSON
{
|
|
"name": "runes-api",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "rimraf ./dist && tsc --project tsconfig.build.json",
|
|
"start": "node dist/src/index.js",
|
|
"start-ts": "ts-node ./src/index.ts",
|
|
"test": "jest --runInBand",
|
|
"generate:openapi": "rimraf ./tmp && node -r ts-node/register ./util/openapi-generator.ts",
|
|
"generate:docs": "redoc-cli build --output ./tmp/index.html ./tmp/openapi.yaml",
|
|
"generate:git-info": "rimraf .git-info && node_modules/.bin/api-toolkit-git-info",
|
|
"generate:vercel": "npm run generate:git-info && npm run generate:openapi && npm run generate:docs",
|
|
"lint:eslint": "eslint . --ext .ts,.tsx -f unix",
|
|
"lint:prettier": "prettier --check src/**/*.ts tests/**/*.ts",
|
|
"lint:unused-exports": "ts-unused-exports tsconfig.json --showLineNumber --excludePathsFromReport=util/*",
|
|
"testenv:run": "docker compose -f ../../dockerfiles/docker-compose.dev.postgres.yml up",
|
|
"testenv:stop": "docker compose -f ../../dockerfiles/docker-compose.dev.postgres.yml down -v -t 0",
|
|
"testenv:logs": "docker compose -f ../../dockerfiles/docker-compose.dev.postgres.yml logs -t -f"
|
|
},
|
|
"author": "Hiro Systems PBC <engineering@hiro.so> (https://hiro.so)",
|
|
"license": "Apache 2.0",
|
|
"prettier": "@stacks/prettier-config",
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.4.3",
|
|
"@commitlint/config-conventional": "^17.4.3",
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/commit-analyzer": "^10.0.4",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@stacks/eslint-config": "^1.2.0",
|
|
"@types/jest": "^29.2.4",
|
|
"@types/supertest": "^2.0.12",
|
|
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
|
"@typescript-eslint/parser": "^5.51.0",
|
|
"babel-jest": "^29.3.1",
|
|
"conventional-changelog-conventionalcommits": "^6.1.0",
|
|
"eslint": "^8.29.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
"husky": "^8.0.3",
|
|
"jest": "^29.3.1",
|
|
"prettier": "^2.8.1",
|
|
"redoc-cli": "^0.13.20",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^29.0.3",
|
|
"ts-node": "^10.8.2",
|
|
"ts-unused-exports": "^10.0.1",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cors": "^8.0.0",
|
|
"@fastify/formbody": "^7.0.1",
|
|
"@fastify/multipart": "^7.1.0",
|
|
"@fastify/swagger": "^8.3.1",
|
|
"@fastify/type-provider-typebox": "3.2.0",
|
|
"@hirosystems/api-toolkit": "^1.6.0",
|
|
"@types/node": "^18.13.0",
|
|
"bignumber.js": "^9.1.2",
|
|
"env-schema": "^5.2.1",
|
|
"fastify": "4.15.0",
|
|
"fastify-metrics": "10.2.0",
|
|
"pino": "^8.10.0",
|
|
"postgres": "^3.3.4"
|
|
}
|
|
}
|