browserify-dependencies
Branch | Status |
---|
master | ![codecov](https://codecov.io/gh/userfrosting/browserify-dependencies/branch/master/graph/badge.svg) |
develop | ![codecov](https://codecov.io/gh/userfrosting/browserify-dependencies/branch/develop/graph/badge.svg) |
Runs browserify against compatible dependencies in node_modules
or whichever other folder you specify, outputting the results in a specified location. Makes no attempt to patch node internals, etc. Browserify options may however be provided for this purpose.
Install
npm i -D @userfrosting/browserify-dependencies
Usage
import BrowserifyDeps from "@userfrosting/browserify-dependencies";
const options = {
dependencies: [
"foo",
"bar"
],
inputDir: "./node_modules",
outputDir: "./browser_modules"
};
BrowserifyDeps(options)
.then(() => console.log("Done! ✨"))
.catch(() => console.log("Things have not gone according to plan... 🔥"));
API
API documentation is regenerated for every release using API Extractor and API Documenter.
The results reside in docs/api.
Release process
Generally speaking, all releases should first traverse through alpha
, beta
, and rc
(release candidate) to catch missed bugs and gather feedback as appropriate. Aside from this however, there are a few steps that MUST always be done.
- Make sure
CHANGELOG.md
is up to date. - Update version via
npm
like npm version 3.0.0
or npm version patch
. npm publish
.- Create release on GitHub from tag made by
npm version
.
License
MIT