https://github.com/oreshinya/parcel-plugin-build-hooks
Parcel plugin for running command on build hooks.
https://github.com/oreshinya/parcel-plugin-build-hooks
bundler command parcel
Last synced: about 1 year ago
JSON representation
Parcel plugin for running command on build hooks.
- Host: GitHub
- URL: https://github.com/oreshinya/parcel-plugin-build-hooks
- Owner: oreshinya
- License: mit
- Created: 2018-07-31T01:53:47.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-31T02:11:42.000Z (almost 8 years ago)
- Last Synced: 2025-03-18T11:11:32.619Z (about 1 year ago)
- Topics: bundler, command, parcel
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parcel-plugin-build-hooks
[](https://github.com/oreshinya/parcel-plugin-build-hooks/releases)
Parcel plugin for running command on build hooks.
## Installation
```
$ npm i --save parcel-plugin-build-hooks
```
## Usage
Configure commands in your `package.json`:
```json
{
"name": "your-app",
"main": "index.js",
"dependencies": {
"parcel-plugin-build-hooks": "^1.0.0"
},
"parcel-plugin-build-hooks": {
"buildStart": "// Do something",
"bundled": "// Do something",
"buildEnd": "// Do something",
"buildError": "// Do something"
}
}
```
## LICENSE
MIT