Skip to content

Commit 373687f

Browse files
Gua-naiko-chegaearon
authored andcommittedJan 9, 2018
Add Powershell commands to README.md (facebook#3515)
1 parent 5d154cb commit 373687f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
 

‎packages/react-scripts/template/README.md

+22
Original file line numberDiff line numberDiff line change
@@ -932,6 +932,12 @@ set "REACT_APP_SECRET_CODE=abcdef" && npm start
932932

933933
(Note: Quotes around the variable assignment are required to avoid a trailing whitespace.)
934934

935+
#### Windows (Powershell)
936+
937+
```Powershell
938+
($env:REACT_APP_SECRET_CODE = "abcdef") -and (npm start)
939+
```
940+
935941
#### Linux, macOS (Bash)
936942

937943
```bash
@@ -1179,6 +1185,12 @@ To do this, set the `HTTPS` environment variable to `true`, then start the dev s
11791185
set HTTPS=true&&npm start
11801186
```
11811187

1188+
#### Windows (Powershell)
1189+
1190+
```Powershell
1191+
($env:HTTPS = $true) -and (npm start)
1192+
```
1193+
11821194
(Note: the lack of whitespace is intentional.)
11831195

11841196
#### Linux, macOS (Bash)
@@ -1527,6 +1539,16 @@ set CI=true&&npm run build
15271539

15281540
(Note: the lack of whitespace is intentional.)
15291541

1542+
##### Windows (Powershell)
1543+
1544+
```Powershell
1545+
($env:CI = $true) -and (npm test)
1546+
```
1547+
1548+
```Powershell
1549+
($env:CI = $true) -and (npm run build)
1550+
```
1551+
15301552
##### Linux, macOS (Bash)
15311553

15321554
```bash

0 commit comments

Comments
 (0)
Please sign in to comment.