Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/changjoo-park/js-library-starter
JavaScript library boilerplate using webpack
https://github.com/changjoo-park/js-library-starter
boilerplate javascript javascript-library scaffold
Last synced: 16 days ago
JSON representation
JavaScript library boilerplate using webpack
- Host: GitHub
- URL: https://github.com/changjoo-park/js-library-starter
- Owner: ChangJoo-Park
- Created: 2018-04-25T02:32:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T01:54:01.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T09:10:42.408Z (about 1 month ago)
- Topics: boilerplate, javascript, javascript-library, scaffold
- Language: JavaScript
- Homepage:
- Size: 2.42 MB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JavaScript Library Starter
## Installation
```
git clone https://github.com/ChangJoo-Park/js-library-starter.git
cd js-library-starter
npm install
```## REPL
js-library-start support REPL(Read Eval Print Loop). You can test library with interactive command-line interface.
![Imgur](https://i.imgur.com/hCLezRc.gif)
```
npm run repl> lib.sum(1,2)
# Ctrl + D for Quit
```edit `.replrc.js` for specific options.
thanks, [local-repl](https://www.npmjs.com/package/local-repl)
## Testing
```
# for one time testing
npm run test# for watching file changes
npm run test:watch
```If using Visual Studio Code, you can interactive testing with debugger.
[Jest](https://marketplace.visualstudio.com/items?itemName=Orta.vscode-jest) for vscode plugin here.![image](https://i.imgur.com/72z5Tq7.gif)
## Development
```
npm run dev
```## Build
```
npm run build
```## Publish
First, change all properties iside package.json for your libs.
and..
follow this [publish npm package guide](https://docs.npmjs.com/getting-started/publishing-npm-packages).
## How to dive in?
- Report an issue
- Give me a Pull Request## Who is Maintainer
- ChangJoo Park([email protected])