Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

npm-pkg

Create your npm package with ESNext, Flowtype and prettier.

Installation

git clone https://github.com/withspectrum/npk-pkg.git
yarn install

The you can start writing your package using the latest ESNext features and flowtype in the src folder. When you git commit prettier will format your code.

Commands

yarn run test     # Test your package with Jest
yarn run flow     # Check your types with Flow
yarn run build    # Transpile the code with Babel
yarn run prettier # Format the codebase with prettier

Publishing

We recommend using np for publishing:

# Install the np module
npm i -g np
# Publish a new version of your package!
np patch

License

Licensed under the MIT License, Copyright ©️ 2017 Maximilian Stoiber. See LICENSE.md for more information.

About

Create your npm package with ESNext, Flowtype and prettier.

Topics

Resources

License

Releases

No releases published

Packages

No packages published