Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit a79b00c

Browse files
Fixes #5 - Update README documentation
1 parent 3d8ec75 commit a79b00c

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

packages/liferay-npm-scripts/README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,9 @@ Build script that compiles all necessary javascript, soy, and bundles it togethe
2727
liferay-npm-scripts build
2828
```
2929

30-
Add `--soy` to build soy templates
30+
Do you have soy dependencies? `build` should automatically detect them.
3131

32-
```sh
33-
liferay-npm-scripts build --soy
34-
```
35-
36-
Add `--bundler` for bundling
37-
38-
```sh
39-
liferay-npm-scripts build --bundler
40-
```
41-
42-
Add `--bridge` to use `liferay-npm-bridge-generator`
43-
44-
```sh
45-
liferay-npm-scripts build --bridge
46-
```
47-
48-
If you use this flag, You will need to follow the configuration options seen [here](https://github.com/liferay/liferay-npm-build-tools/wiki/How-to-use-liferay-npm-bridge-generator).
32+
Do you need to use `liferay-npm-bridge-generator`? Just add a `.npmbridgerc` file and follow the configuration options [here](https://github.com/liferay/liferay-npm-build-tools/wiki/How-to-use-liferay-npm-bridge-generator).
4933

5034
### lint
5135

@@ -61,7 +45,7 @@ Lint calls `check-source-formatting` for the globs specified in [liferay-npm-scr
6145
liferay-npm-scripts format
6246
```
6347

64-
Format calls `check-source-formatting` with the `--inline-edit` flag for the globs specified in [liferay-npm-scripts](./src/config/liferay-npm-scripts.json#L7-L13).
48+
Format calls `check-source-formatting` with the `--inline-edit` flag for the globs specified in your `.liferaynpmscriptsrc` configuration. Or defaults seen [here](./src/config/liferay-npm-scripts.json#L7-L13).
6549

6650
### test
6751

0 commit comments

Comments
 (0)