UNPKG

642 BMarkdownView Raw
1# Paperboy
2
3Content Delivery Layer
4
5## Installation
6
7```bash
8$ npm add @neoskop/paperboy
9```
10
11## Usage Example
12
13```javascript
14import { Paperboy } from '@neoskop/paperboy';
15
16new Paperboy({
17 command: 'yarn build'
18});
19```
20
21##Development
22
23Build and start the project for development:
24
25### Requirement
26
27- Node >= 8.9.1
28
29### Install
30
31```bash
32$ npm i
33```
34
35### Start
36
37Builds and starts the project with nodemon and watcher.
38
39```bash
40$ npm start
41```
42
43### Build
44
45Builds the project (dist directory).
46
47```bash
48$ npm run build
49```
50
51### Release
52
53Make sure to build and commit before releasing.
54
55```bash
56$ npm version patch|minory|major
57$ npm publish
58```