@spectrum-css/bundle-builder v7.0.2
@spectrum-css/bundle-builder
Build system for Spectrum CSS bundle packages
This package builds a bundle packages with the versions of components specific in your the bundle's package.json
.
Docs
See the docs generation documentation for details on documentation generation.
Site
See the site generation documentation for details on site generation as well as editing and updating the site.
Usage
Install the package:
npm install --save-dev @spectrum-css/bundle-builder
Create a gulpfile.js
with the following:
module.exports = require('@spectrum-css/bundle-builder');
Add the following scripts to package.json
:
{
"scripts": {
"build": "gulp build",
"prepack": "gulp prePack",
"postpublish": "gulp postPublish"
}
}
Then you can use the commands below inside of your project to build and release a Spectrum CSS bundle package.
CLI
The following tasks are available:
gulp clean
- Clean everythinggulp build
- Build every component, generate the documentation site, generate individual docs for each componentgulp buildLite
- Build only the custom properties for every component, generate the documentation sitegulp buildHeavy
- Build all CSS for every component, generate the documentation sitegulp dev
- Perform a lite build, start a server, and watch for changesgulp devHeavy
- Perform a heavy build, start a server, and watch for changes. Use this when testing IE 11gulp watch
- If a build as already been performed, start a server and watch for changesgulp release
- Perform a release
Build output appears in the dist/
folder.
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
6 months ago
9 months ago
10 months ago
6 months ago
9 months ago
11 months ago
12 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago