0.1.1 • Published 6 years ago

@shortlist-studio/package-boilerplate v0.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

package-boilerplate (need a better name, ideas?)

Standardised javascript package generator, contains useful DX defaults and a Rollup configuration to bundle an ES module.

Usage

yarn global add @shortlist-studio/package-boilerplate

Head to an empty directory that you want to work in and run package-boilerplate.

Bootstrapping project...

? Package name: (@shortlist-studio/?) cool-project
? Package description: This is a cool project
? Package repository: (shortlist-digital/?) cool-project


? Are you sure you want to bootstrap a project in this directory? (Y/n)

This will output the following files:

/your-directory
├── example
|  ├── hot-server
|  |  ├── index.js
|  |  └── webpack.config.js
|  ├── index.js
|  └── style.css
├── src
|  └── index.js
├── .babelrc
├── .editorconfig
├── .eslintignore
├── .eslintrc.json
├── .gitignore
├── .lintstagedrc
├── .prettierrc
├── package.json
├── readme.md
└── rollup.config.js

yarn install && yarn start to boot your project.