-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Gulp build tasks
Gilad Gray edited this page Jun 6, 2017
·
4 revisions
The easiest way to understand the aliases is to peek at the source.
- 🌟
gulp– Compiles code and starts docs watching for development. -
gulp build– Compiles all projects for publishing. -
gulp check– Lints all source files. -
gulp compile– Compiles all source code except docs Webpack. -
gulp docs– Generates docs data files (does not compile it). -
gulp test– Runs all test suites. You must runbuildfirst or thetest-disttasks will fail.
The following Gulp tasks are defined as "task groups" comprised of a parent task that runs a set of
child tasks for each package. Child tasks are typically determined by the presence of a config
"block" in the package setup in Gulpfile.js. See #617 for more information.
Each of the following tasks also provides a <name>-<package> subtask for each package. For instance,
sass includes sass-core, sass-datetime, etc.
-
copy– Copies files, such as resources and HTML files, from source directories to distribution directories. -
sass– Compiles.scssfiles to.css. -
tsc– Compiles.tsx?files to.js. -
bundle– Bundles.jsfiles into one giant.bundle.jswith Webpack. -
tslint– Lints.tsx?and.jsfiles using TSLint. -
stylelint– Lints.scssfiles using Stylelint. -
isotest– Tests isomorphic (server-side) rendering of React components. -
karma– Runs unit tests and code coverage in Karma & Phantom. -
test-dist– Tests presence of declared "main" distribution files created bygulp build.
-
clean– Deletes generated and distribution directories. -
icons– Generates.tsand.scssfiles for icon variables -
karma-unit-<package>– Watches and re-runs unit tests in Karma & Chrome -
sass-variables– Concats & cleans public Sass variables files intovariables.{less,scss}. -
watch– Starts watchers for all source files, for development. -
webpack-docs– Compilesdocspackage with Webpack & ts-loader. -
webpack-docs-watch– Watchesdocspackage with Webpack & ts-loader (for development).
- FAQ
- 6.x Changelog
- 5.x Changelog
- 5.0 pre-release changelog
- 4.x Changelog
- v4.0 & v5.0 major version semantic swap
- v6.0 changes
- Spacing System Migration: 10px to 4px
- react-day-picker v8 migration
- HotkeysTarget & useHotkeys migration
- PanelStack2 migration
- Table 6.0 changes