UNPKG

typescript-member-signatures

Version:

Command line tool to extract given interface member signatures as JSON strings, recursively in the extends chain with the purpose of documentation

57 lines (56 loc) 2.35 kB
{ "name": "typescript-member-signatures", "version": "0.0.10", "description": "Command line tool to extract given interface member signatures as JSON strings, recursively in the extends chain with the purpose of documentation", "main": "dist/src/index.js", "bin": "bin/typescript-member-signatures.js", "types": "dist/src/index.d.ts", "scripts": { "test": "ava", "clean": "rm -rf dist docs", "build": "npm run clean && npx tsc", "prepare": "npm run build", "format": "npx ts-refactor format \"src/**/*.ts*\" \"test/**/*.ts*\" ./formatCodeSettings.json --tsConfigPath ./tsconfig.json --dontAsk", "organizeImports": "npx ts-refactor organizeImports \"src/**/*.ts*\" \"test/**/*.ts*\" ./formatCodeSettings.json --tsConfigPath ./tsconfig.json --dontAsk ", "lint": "npm run organizeImports && npm run format", "docs-readme-toc": "npx markdown-toc README.md -i", "docs": "npm run docs-readme-toc", "generate": "exit 0 ; npx tsc && node bin/extractMemberSignatures.js --project ../cannabis/tsconfig.json --target \"**/functionTypes/Functions\" --output dist/cannabisFunctions.json && node bin/extractMemberSignatures.js --project ../cannabis/tsconfig.json --target \"**/attributes/AttributeValues\" --output dist/cannabisAttributes.json && echo 'generated dist/cannabisFunctions.json and dist/cannabisAttributes.json' ", "all": "npm run clean && npm run lint && npm run build && npm run test && npm run docs", "all-publish": "npm run all && git commit -a -m \"version patch\" && npm version patch && npm publish" }, "keywords": [ "typescript", "documentation", "jsdoc", "data extraction", "cli", "cannabis" ], "author": "Sebastián Gurin", "license": "MIT", "devDependencies": { "@types/glob": "^7.1.1", "@types/node": "^12.7.11", "ts-node": "^8.4.1", "ts-refactor": "0.0.10", "markdown-toc": "^1.2.0", "ava": "^2.4.0", "typescript": "^3.6.3" }, "dependencies": { "cannabis": "^0.1.2", "glob": "^7.1.4", "misc-utils-of-mine-generic": "^0.2.35", "ts-morph": "^4.2.0", "ts-simple-ast-extra": "^0.3.12", "yargs-parser": "^14.0.0" }, "repository": { "type": "git", "url": "https://github.com/cancerberoSgx/cannabis.git" }, "bugs": { "url": "https://github.com/cancerberoSgx/cannabis" } }