Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahmoudzakaria90/bundler-plate
A CLI generates a starter config file for webpack/gulp with the most commonly used and recommended configurations.
https://github.com/mahmoudzakaria90/bundler-plate
build-system bundler gulp javascript npm task-runner webpack
Last synced: about 1 month ago
JSON representation
A CLI generates a starter config file for webpack/gulp with the most commonly used and recommended configurations.
- Host: GitHub
- URL: https://github.com/mahmoudzakaria90/bundler-plate
- Owner: mahmoudZakaria90
- License: mit
- Created: 2019-12-20T21:28:34.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-15T05:53:18.000Z (almost 3 years ago)
- Last Synced: 2024-11-15T21:35:11.988Z (about 2 months ago)
- Topics: build-system, bundler, gulp, javascript, npm, task-runner, webpack
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/bundler-plate
- Size: 1.01 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# bundler-plate
A CLI generates a starter config file for webpack/gulp with the most commonly used and recommended configurations.!["Bundler-plate demo"](https://media.giphy.com/media/Y3NFQaFigFwjOcDQIR/giphy.gif)
# Installation
`npm i -D bundler-plate`
Or
`yarn add -D bundler-plate`# Usage
* Run `bp` or `npx bp`.
* Give inputs/answers to the generated questions.For `Webpack` Add these 2 npm scripts to your `package.json`:
```
"scripts": {
...
"build": "cross-env NODE_ENV=prod webpack",
"serve": "cross-env NODE_ENV=dev webpack-dev-server"
}
```For `gulp` Add these 3 npm scripts to your `package.json`:
```
"scripts": {
...
"build": "gulp",
"serve": "gulp serve",
"watch": "gulp watch"
}
```