Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nikkiselev/pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkiselev committed Apr 17, 2020
2 parents ea5683b + 8ac48e2 commit 48cbe32
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@


# PKG

TypeScript starter template for creating a Node.js package.

It uses TypeScript compiler to build modules and compiles the entire package into a single file.


## Getting Started

1. [Use this template](https://github.com/nikkiselev/pkg/generate)
2. Change `author`, `repository` and `homepage` in `package.json`.
3. Install dev dependencies with `npm i`

## Usage

Run the compiler in watch mode:
````
npm run dev
````

Build the project:
````
npm run build
````

Run tests:
````
npm run test
````

Prepare before publishing:
````
npm run prepare
````

## Customizing

Adjust settings in `tsconfig.json`, `.prettierrc`, `.eslintrc.json` for your preferences.

0 comments on commit 48cbe32

Please sign in to comment.