-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow baseDirectory to be set in package.json so all files will be created in that folder, and can be nested by simply adding the child folder's name in the command, for example: baseDirectory: src and you enter 'hendrix' the file will be created in 'src', and if you enter 'hendrix utils' file will be created in 'src/utils'
- Loading branch information
seanwlawrence
committed
Sep 28, 2018
1 parent
131a05a
commit 0a3c7dc
Showing
5 changed files
with
95 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"name": "hendrix", | ||
"version": "0.0.0", | ||
"description": "A CLI scaffolding tool for creating new scripts, pages and configuration files.", | ||
"main": "bin/index.js", | ||
"bin": { | ||
"hendrix": "./bin/index.js" | ||
}, | ||
"scripts": { | ||
"test": "make test", | ||
"test-watch": "make test-watch", | ||
"lint": "make lint", | ||
"develop": "make develop", | ||
"build": "make build", | ||
"start": "make start", | ||
"commit": "make commit", | ||
"ci": "make ci", | ||
"create-docs": "make create-docs" | ||
}, | ||
"keywords": [ | ||
"generator", | ||
"scaffold", | ||
"boilerplate" | ||
], | ||
"author": "Sean W. Lawrence", | ||
"license": "MIT", | ||
"dependencies": { | ||
"chalk": "^2.4.1", | ||
"inquirer": "^6.2.0", | ||
"markdown-it": "^8.4.2", | ||
"markdown-it-anchor": "^5.0.2", | ||
"markdown-it-attrs": "^2.3.1", | ||
"markdown-it-center-text": "^1.0.4", | ||
"markdown-it-container": "^2.0.0", | ||
"markdown-it-front-matter": "^0.1.2", | ||
"markdown-it-header-sections": "^1.0.0", | ||
"markdown-it-replace-link": "^1.0.1", | ||
"markdown-it-responsive": "^0.1.0", | ||
"markdown-it-smartarrows": "^1.0.1", | ||
"markdown-it-toc-done-right": "^2.0.3", | ||
"mdfigcaption": "^0.1.1", | ||
"mustache": "^2.3.2", | ||
"rxjs": "^6.3.3" | ||
}, | ||
"devDependencies": { | ||
"@types/inquirer": "0.0.43", | ||
"@types/jest": "^23.3.2", | ||
"@types/markdown-it": "0.0.5", | ||
"@types/mustache": "^0.8.31", | ||
"@types/node": "^10.11.0", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"jest": "^23.5.0", | ||
"nodemon": "^1.18.4", | ||
"ts-jest": "^23.10.2", | ||
"ts-node": "^7.0.1", | ||
"tslint": "^5.11.0", | ||
"typescript": "^3.0.3", | ||
"typescript-formatter": "^7.2.2" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog" | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,8 +61,5 @@ | |
"commitizen": { | ||
"path": "node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"hendrix": { | ||
"outputPath": "./public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters