-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Gulp build tasks
Gilad Gray edited this page Feb 8, 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
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– webpacks.jsfiles into one giant.bundle.js -
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 & PhantomJS -
test-dist– tests presence of declared "main" distribution files
-
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