diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-01-27 11:57:21 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-01-29 18:21:11 +0300 |
commit | 2adefeb055d96b163b8026ef6ea90f99d19f11c6 (patch) | |
tree | 3b7262fc9eca9c9b36e5c1b4cf8b77f8c28c0600 /site/docs | |
parent | 4bec752345a770efc9d1f33833fded00fd5ede36 (diff) |
build-tools.md: `npm` is written lowercase.
Diffstat (limited to 'site/docs')
-rw-r--r-- | site/docs/4.2/getting-started/build-tools.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/site/docs/4.2/getting-started/build-tools.md b/site/docs/4.2/getting-started/build-tools.md index f461169d19..186686de04 100644 --- a/site/docs/4.2/getting-started/build-tools.md +++ b/site/docs/4.2/getting-started/build-tools.md @@ -8,7 +8,7 @@ toc: true ## Tooling setup -Bootstrap uses [NPM scripts](https://docs.npmjs.com/misc/scripts) for its build system. Our [package.json]({{ site.repo }}/blob/v{{ site.current_version }}/package.json) includes convenient methods for working with the framework, including compiling code, running tests, and more. +Bootstrap uses [npm scripts](https://docs.npmjs.com/misc/scripts) for its build system. Our [package.json]({{ site.repo }}/blob/v{{ site.current_version }}/package.json) includes convenient methods for working with the framework, including compiling code, running tests, and more. To use our build system and run our documentation locally, you'll need a copy of Bootstrap's source files and Node. Follow these steps and you should be ready to rock: @@ -22,13 +22,13 @@ When completed, you'll be able to run the various commands provided from the com [install-ruby]: https://www.ruby-lang.org/en/documentation/installation/ [gembundler]: https://bundler.io/ -## Using NPM scripts +## Using npm scripts Our [package.json]({{ site.repo }}/blob/v{{ site.current_version }}/package.json) includes the following commands and tasks: | Task | Description | | --- | --- | -| `npm run dist` | `npm run dist` creates the `/dist` directory with compiled files. **Uses [Sass](https://sass-lang.com/), [Autoprefixer][autoprefixer], and [UglifyJS](https://github.com/mishoo/UglifyJS2).** | +| `npm run dist` | `npm run dist` creates the `/dist/` directory with compiled files. **Uses [Sass](https://sass-lang.com/), [Autoprefixer][autoprefixer], and [UglifyJS](https://github.com/mishoo/UglifyJS2).** | | `npm test` | Same as `npm run dist` plus it runs tests locally | | `npm run docs` | Builds and lints CSS and JavaScript for docs. You can then run the documentation locally via `npm run docs-serve`. | @@ -38,7 +38,7 @@ Run `npm run` to see all the npm scripts. Bootstrap uses [Autoprefixer][autoprefixer] (included in our build process) to automatically add vendor prefixes to some CSS properties at build time. Doing so saves us time and code by allowing us to write key parts of our CSS a single time while eliminating the need for vendor mixins like those found in v3. -We maintain the list of browsers supported through Autoprefixer in a separate file within our GitHub repository. See [/.browserslistrc]({{ site.repo }}/blob/v{{ site.current_version }}/.browserslistrc) for details. +We maintain the list of browsers supported through Autoprefixer in a separate file within our GitHub repository. See [.browserslistrc]({{ site.repo }}/blob/v{{ site.current_version }}/.browserslistrc) for details. ## Local documentation |