Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiagodanin/gen-package
Intuitive and user-friendly generator of package.json
https://github.com/tiagodanin/gen-package
cli generate generator package package-json
Last synced: 17 days ago
JSON representation
Intuitive and user-friendly generator of package.json
- Host: GitHub
- URL: https://github.com/tiagodanin/gen-package
- Owner: TiagoDanin
- License: mit
- Created: 2018-11-24T14:57:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-28T19:39:32.000Z (6 months ago)
- Last Synced: 2024-05-29T10:34:01.939Z (6 months ago)
- Topics: cli, generate, generator, package, package-json
- Language: JavaScript
- Homepage: https://tiagodanin.github.io/Gen-Package/
- Size: 356 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gen Package
[![Node](https://img.shields.io/node/v/gen-package.svg?style=flat-square)](https://npmjs.org/package/gen-package) [![Version](https://img.shields.io/npm/v/gen-package.svg?style=flat-square)](https://npmjs.org/package/gen-package) [![Downloads](https://img.shields.io/npm/dt/gen-package.svg?style=flat-square)](https://npmjs.org/package/gen-package) [![Travis](https://img.shields.io/travis/TiagoDanin/Gen-Package.svg?branch=master&style=flat-square)](https://travis-ci.org/TiagoDanin/Gen-Package)
Intuitive and user-friendly generator of package.json
## Installation
Module available through the [npm registry](https://www.npmjs.com/). It can be installed using the [`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally) or [`yarn`](https://yarnpkg.com/en/) command line tools.
```sh
# NPM
npm install gen-package --global
# Or Using Yarn
yarn global add gen-package
```## Usage
```sh
# Create package.json
gen-package# Create package.json with indent (space)
gen-package --space# Create package with indent (custom)
gen-package --indent='\t\t'# Create package.json in offline mode
gen-package --offline# Create package.json with GitHub mode, replace 'TiagoDanin/Gen-Package' your repository
gen-package --github=TiagoDanin/Gen-Package
```## Tests
To run the test suite, first install the dependencies, then run `test`:
```sh
# NPM
npm test
# Or Using Yarn
yarn test
```## Dependencies
- [choosealicense-list](https://ghub.io/choosealicense-list): List of licenses from choosealicense.com
- [enquirer](https://ghub.io/enquirer): Stylish, intuitive and user-friendly prompt system. Fast and lightweight enough for small projects, powerful and extensible enough for the most advanced use cases.
- [github-url-to-object](https://ghub.io/github-url-to-object): Extract user, repo, and other interesting properties from GitHub URLs
- [got](https://ghub.io/got): Simplified HTTP requests
- [is-online](https://ghub.io/is-online): Check if the internet connection is up
- [lodash](https://ghub.io/lodash): Lodash modular utilities.
- [minimist](https://ghub.io/minimist): parse argument options## Dev Dependencies
- [xo](https://ghub.io/xo): JavaScript happiness style linter ❤️
## Contributors
Pull requests and stars are always welcome. For bugs and feature requests, please [create an issue](https://github.com/TiagoDanin/Gen-Package/issues). [List of all contributors](https://github.com/TiagoDanin/Gen-Package/graphs/contributors).
## License
[MIT](LICENSE) © [TiagoDanin](https://TiagoDanin.github.io)