https://github.com/interactivethings/packup
WIP: A no-config development tool for modern web apps
https://github.com/interactivethings/packup
Last synced: 2 months ago
JSON representation
WIP: A no-config development tool for modern web apps
- Host: GitHub
- URL: https://github.com/interactivethings/packup
- Owner: interactivethings
- License: bsd-3-clause
- Created: 2015-08-20T12:17:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-28T12:37:48.000Z (over 9 years ago)
- Last Synced: 2025-02-13T06:40:06.805Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 37.1 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Packup
Work in progress.
## Options
- `--port`: Specify a server port (Default: any free port starting from 8080)
- `--config`: Use a configuration file### Configuration file
Through the `--config` option, a configuration file can be supplied. Currently only the `entry` key is supported to specify multiple entry files. For example:
```js
module.exports = {
entry: {
app: './index',
foo: './foo'
}
}
```## Goals
### Easy usage
No configuration needed.
- Provide a hot-reloading enabled development server without the boilerplate
- Provide a default set of webpack loaders
- Provide a default set of NPM packages (less is more)
- Always route all routes to the app, to enable HTML5 pushState routing### Advanced usage
Enable some or complete configuration.
- Allow extension of default webpack config
- Allow use of a completely separate webpack config
- Allow easy replacement through webpack itself## Global install (good for quick no-config experiments)
npm install packup -g
packup main.js## Local install (good for serious projects)
npm install packup --save-dev
node_modules/.bin/packup main.js## See also
- [react-heatpack](https://github.com/insin/react-heatpack) is the main inspiration but different enough in goals and implementation.