mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 22:43:34 +08:00
47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "@blockstack/stacks-blockchain-sidecar-types",
|
|
"version": "0.0.17",
|
|
"access": "public",
|
|
"description": "TypeScript descriptions of Stacks 2.0 sidecar API entities",
|
|
"main": "index.d.ts",
|
|
"scripts": {
|
|
"build": "npm run generate:schemas",
|
|
"lint:yaml": "yamllint ./openapi.yaml",
|
|
"lint:json": "jsonlint-cli ./api/**/*.json ./entities/**/*.json",
|
|
"lint:openapi": "lint-openapi ./openapi.yaml",
|
|
"generate:types": "ts-node ./scripts/generate-types.ts",
|
|
"generate:schemas": "gulp && npm run generate:types",
|
|
"generate:docs": "redoc-cli bundle --output .tmp/index.html ./openapi.yaml",
|
|
"validate:schemas": "rimraf .tmp && gulp flattenSchemas --silent && ts-node ./scripts/validate-schemas.ts",
|
|
"deploy:docs": "npm run generate:types && npm run generate:docs && gulp deployDocs"
|
|
},
|
|
"author": "@blockstack",
|
|
"license": "ISC",
|
|
"files": [
|
|
"openapi.yaml",
|
|
"index.d.ts",
|
|
"api/**/*",
|
|
"entities/**/*"
|
|
],
|
|
"devDependencies": {
|
|
"@apidevtools/json-schema-ref-parser": "^9.0.1",
|
|
"@types/json-schema-merge-allof": "^0.6.0",
|
|
"ajv": "^6.12.2",
|
|
"chalk": "^4.0.0",
|
|
"del": "^5.1.0",
|
|
"glob": "^7.1.6",
|
|
"gulp": "^4.0.2",
|
|
"gulp-gh-pages": "^0.5.4",
|
|
"gulp-jsonschema-deref": "0.0.3",
|
|
"ibm-openapi-validator": "^0.27.1",
|
|
"json-schema": "^0.2.5",
|
|
"json-schema-merge-allof": "^0.7.0",
|
|
"json-schema-to-typescript": "^9.1.0",
|
|
"jsonlint-cli": "^1.0.1",
|
|
"redoc-cli": "^0.9.8",
|
|
"ts-node": "^8.10.1",
|
|
"typescript": "^3.9.2",
|
|
"yaml-lint": "^1.2.4"
|
|
}
|
|
}
|