https://github.com/sjy/dazhaohu
minimum production ready npm package boilerplate
https://github.com/sjy/dazhaohu
boilerplate commonjs-modules esm npm umd-modules
Last synced: 21 days ago
JSON representation
minimum production ready npm package boilerplate
- Host: GitHub
- URL: https://github.com/sjy/dazhaohu
- Owner: sjy
- License: mit
- Created: 2018-09-12T12:16:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-18T07:12:25.000Z (over 7 years ago)
- Last Synced: 2025-09-22T06:36:36.291Z (7 months ago)
- Topics: boilerplate, commonjs-modules, esm, npm, umd-modules
- Language: JavaScript
- Homepage:
- Size: 158 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 打招呼 Greeting
## Install
```bash
npm install dazhaohu # or yarn add dazhouhu
```
## Build
```bash
npm run build # or yarn build
```
## CLI
```bash
npx dzh --help
dzh -n 5
```
## NOTICE
If you want to execute `fixture/tryesm.mjs`, make sure your systems' nodejs version has been updated to v10 or later and execute with [--experimental-modules](https://nodejs.org/api/esm.html) option.
``` bash
node --experimental-modules fixtrue/tryesm.mjs
```
## TODO
Remove ugly `postinstall` hack which caused by[babel-version-issue-with-jest](https://github.com/facebook/jest/issues/6913)