docgen: add package.json and bin entrypoint

This commit is contained in:
Patrik Oldsberg
2020-07-14 21:11:46 +02:00
parent 6e8691e998
commit 1fc5f9f468
2 changed files with 83 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
{
"name": "docgen",
"description": "Tool for generating API Documentation for itself",
"version": "0.1.1-alpha.13",
"private": true,
"homepage": "https://backstage.io",
"repository": {
"type": "git",
"url": "https://github.com/spotify/backstage",
"directory": "packages/docgen"
},
"keywords": [
"backstage"
],
"license": "Apache-2.0",
"main": "src/index.ts",
"scripts": {
"build": "backstage-cli build --outputs cjs",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"test:e2e": "node e2e-test/cli-e2e-test.js",
"clean": "backstage-cli clean",
"start": "nodemon --"
},
"bin": {
"backstage-docgen": "bin/backstage-docgen"
},
"dependencies": {
"chalk": "^4.0.0",
"commander": "^4.1.1",
"fs-extra": "^9.0.0",
"typescript": "^3.9.3",
"ts-node": "^8.6.2"
},
"devDependencies": {
"@types/fs-extra": "^9.0.1",
"@types/node": "^13.7.2",
"nodemon": "^2.0.2"
},
"files": [
"bin",
"dist"
],
"nodemonConfig": {
"watch": "./src",
"exec": "bin/backstage-docgen",
"ext": "ts"
}
}