@@ -36,11 +36,11 @@ In case you are suggesting a new feature, we will match your idea with our curre
36
36
37
37
* Install the dependencies and link them:
38
38
39
- ``` bash
40
- npm install
41
- npm link
42
- npm link webpack-cli
43
- ```
39
+ ``` bash
40
+ npm install
41
+ npm link
42
+ npm link webpack-cli
43
+ ```
44
44
45
45
* Bootstrap all the submodules before building for the first time
46
46
@@ -50,10 +50,16 @@ npm link webpack-cli
50
50
```
51
51
52
52
* Run all the tests with:
53
- - ` npm run test `
53
+
54
+ ``` bash
55
+ npm run test
56
+ ```
54
57
55
58
* To test a single CLI (flag) test case:
56
- - ` BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js `
59
+
60
+ ``` bash
61
+ BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js`
62
+ ` ` `
57
63
58
64
* To test a single CLI (other type of) test case:
59
65
- ` npx jest path/to/my-test.js`
@@ -63,18 +69,24 @@ npm link webpack-cli
63
69
- ` jest path/to/my-test.js`
64
70
65
71
* To test linting:
66
- - ` npm run lint && npm run tslint `
72
+ ` ` ` bash
73
+ npm run lint && npm run tslint
74
+ ` ` `
67
75
68
76
# ## Setup with yarn
69
77
* If you don' t have yarn yet:
70
- - ` npm install -g yarn `
78
+
79
+ ```bash
80
+ npm install -g yarn
81
+ ```
82
+
71
83
* Install the dependencies and link them
72
84
73
- ``` bash
74
- yarn
75
- yarn link
76
- yarn link webpack-cli
77
- ```
85
+ ```bash
86
+ yarn
87
+ yarn link
88
+ yarn link webpack-cli
89
+ ```
78
90
79
91
* Bootstrap all the submodules before building for the first time
80
92
@@ -84,16 +96,25 @@ yarn link webpack-cli
84
96
```
85
97
86
98
* Run all the tests with:
87
- - ` yarn test `
99
+
100
+ ```bash
101
+ yarn test
102
+ ```
88
103
89
104
* To test a single CLI (flag) test case:
90
- - ` BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js `
105
+
106
+ ```bash
107
+ BIN_TEST_CASES_GREP=/myCase jest test/BinTestCases.test.js
108
+ ```
91
109
92
110
* To test a single CLI (other type of) test case:
93
111
- `yarn jest path/to/my-test.js`
94
112
95
113
* To test linting:
96
- - ` yarn lint && yarn tslint `
114
+
115
+ ```bash
116
+ yarn lint && yarn tslint
117
+ ```
97
118
98
119
## Editor Config
99
120
0 commit comments