mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-13 08:40:42 +08:00
107 lines
4.2 KiB
JSON
107 lines
4.2 KiB
JSON
{
|
|
"name": "@blockstack/stacks-blockchain-sidecar",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev:watch": "cross-env NODE_ENV=development STACKS_SIDECAR_DB=memory nodemon -e ts -x 'ts-node src/index.ts'",
|
|
"test": "cross-env NODE_ENV=development jest --config ./jest.config.js --coverage",
|
|
"test:integration": "npm run devenv:deploy -- -d && cross-env NODE_ENV=development jest --config ./jest.config.js --coverage; npm run devenv:stop",
|
|
"build": "rimraf ./lib && npm run generate:types && npm run generate:schemas && tsc",
|
|
"start": "node -r tsconfig-paths/register ./lib/src/index.js ",
|
|
"lint": "npm run lint:eslint && npm run lint:prettier",
|
|
"lint:eslint": "eslint . --ext .js,.jsx,.ts,.tsx -f codeframe",
|
|
"lint:prettier": "prettier --check src/**/*.{ts,json}",
|
|
"lint:yaml": "yamllint docs/**/*.{yml,yaml}",
|
|
"lint:json": "jsonlint-cli docs/**/*.json",
|
|
"lint:openapi": "lint-openapi ./docs/openapi.yaml",
|
|
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx -f codeframe --fix",
|
|
"postinstall": "npm run generate:schemas",
|
|
"migrate": "ts-node node_modules/.bin/node-pg-migrate -j ts",
|
|
"generate:types": "ts-node ./scripts/generate-types.ts",
|
|
"generate:schemas": "gulp --silent && npm run generate:types",
|
|
"generate:docs": "redoc-cli bundle --output .tmp/index.html docs/openapi.yaml",
|
|
"validate:schemas": "gulp flattenSchemas --silent && ./scripts/validate-schemas.ts",
|
|
"deploy:docs": "npm run generate:types && npm run generate:docs && gulp deployDocs",
|
|
"devenv:deploy": "docker-compose -f docker-compose.dev.postgres.yml -f docker-compose.dev.stacks-blockchain.yml up --build",
|
|
"devenv:stop": "docker-compose -f docker-compose.dev.postgres.yml -f docker-compose.dev.stacks-blockchain.yml down -v"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/blockstack/stacks-blockchain-sidecar.git"
|
|
},
|
|
"author": "Blockstack PBC <engineering@blockstack.com> (https://blockstack.org)",
|
|
"license": "GPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/blockstack/stacks-blockchain-sidecar/issues"
|
|
},
|
|
"homepage": "https://github.com/blockstack/stacks-blockchain-sidecar#readme",
|
|
"prettier": "@blockstack/prettier-config",
|
|
"engines": {
|
|
"node": ">=13.11"
|
|
},
|
|
"dependencies": {
|
|
"@awaitjs/express": "^0.5.1",
|
|
"@blockstack/stacks-transactions": "^0.2.0-alpha.5",
|
|
"big-integer": "^1.6.48",
|
|
"bluebird": "^3.7.2",
|
|
"bn.js": "^4.11.8",
|
|
"c32check": "^1.0.1",
|
|
"compression": "^1.7.4",
|
|
"cors": "^2.8.5",
|
|
"cross-env": "^7.0.2",
|
|
"dotenv": "^8.2.0",
|
|
"escape-goat": "^3.0.0",
|
|
"express": "^4.17.1",
|
|
"node-fetch": "^2.6.0",
|
|
"node-pg-migrate": "^4.2.3",
|
|
"pg": "^7.18.2",
|
|
"smart-buffer": "^4.1.0",
|
|
"strict-event-emitter-types": "^2.0.0",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"devDependencies": {
|
|
"@apidevtools/json-schema-ref-parser": "^8.0.0",
|
|
"@blockstack/eslint-config": "^1.0.3",
|
|
"@blockstack/prettier-config": "0.0.6",
|
|
"@types/ajv": "^1.0.0",
|
|
"@types/bluebird": "^3.5.30",
|
|
"@types/bn.js": "^4.11.6",
|
|
"@types/compression": "^1.7.0",
|
|
"@types/cors": "^2.8.6",
|
|
"@types/express": "^4.17.3",
|
|
"@types/glob": "^7.1.1",
|
|
"@types/jest": "^25.1.4",
|
|
"@types/json-schema": "^7.0.4",
|
|
"@types/json-schema-merge-allof": "^0.6.0",
|
|
"@types/node": "^13.7.4",
|
|
"@types/node-fetch": "^2.5.6",
|
|
"@types/pg": "^7.14.3",
|
|
"@typescript-eslint/eslint-plugin": "^2.25.0",
|
|
"@typescript-eslint/parser": "^2.25.0",
|
|
"del": "^5.1.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.10.1",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"eslint-plugin-tsdoc": "^0.2.3",
|
|
"glob": "^7.1.6",
|
|
"gulp": "^4.0.2",
|
|
"gulp-gh-pages": "^0.5.4",
|
|
"gulp-jsonschema-deref": "0.0.3",
|
|
"gulp-prettier": "^3.0.0",
|
|
"ibm-openapi-validator": "^0.26.0",
|
|
"jest": "^25.2.1",
|
|
"json-schema-merge-allof": "^0.7.0",
|
|
"json-schema-to-typescript": "^8.2.0",
|
|
"jsonlint-cli": "^1.0.1",
|
|
"node-watch": "^0.6.3",
|
|
"nodemon": "^2.0.3",
|
|
"prettier": "2.0.2",
|
|
"redoc-cli": "^0.9.7",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^25.2.1",
|
|
"ts-node": "^8.8.1",
|
|
"tsconfig-paths": "^3.9.0",
|
|
"yaml-lint": "^1.2.4"
|
|
}
|
|
}
|