https://github.com/codewell/new-package
CLI for package boilerplating
https://github.com/codewell/new-package
Last synced: 7 months ago
JSON representation
CLI for package boilerplating
- Host: GitHub
- URL: https://github.com/codewell/new-package
- Owner: codewell
- License: mit
- Created: 2019-11-05T12:33:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T08:45:06.000Z (about 6 years ago)
- Last Synced: 2025-02-22T07:31:50.270Z (over 1 year ago)
- Language: Shell
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# new-package
Command Line Interface for npm package boilerplating
## Installation
1. Get compy of the code. E.g. clone or download.
2. Run
```bash
./install
```
_You can put a copy of your npm auth token in the `.npmrc` file in the `templates` folder. It will be ignored by git._
### Additional config
- `package.json` - Some fields in `package.json`, e.g. `license` and `name` needs to be updated to have the correct value for your package.
- `.npmrc` - Your nodejs auth key needs to be added to [`.npmrc`](https://docs.npmjs.com/files/npmrc).
- PATH - You might need to export your `PATH` in your `.bash_profile`
## Basic usage
```
npkg
```
Creates an npm package boilerplate in the current directory with the same name as the repository.