You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Development Setup
2
2
-----------------
3
3
1. Install Node v6.10.0 or higher.
4
-
2. Install yarn package manager `https://yarnpkg.com/en/docs/install`. Alternatively, you can replace any`yarn`command with `npm`.
4
+
2. Install yarn package manager `https://yarnpkg.com/en/docs/install` v1.0.1 or higher. Alternatively, you can replace most`yarn`commands with `npm` commands.
5
5
2. Fork the upstream repo `https://github.com/box/box-ui-elements`.
6
6
3. Clone your fork locally `git clone git@github.com:[YOUR GITHUB USERNAME]/box-ui-elements.git`.
7
7
4. Navigate to the cloned folder `cd box-ui-elements`
@@ -29,9 +29,9 @@ Install the following plugins in your preferred editor
29
29
*`yarn run deploy` launches a local webpack dev server for testing. Also watches file changes.
30
30
*`yarn run prettier` to format JS code with prettier.
31
31
*`yarn run test` launches karma tests with PhantomJS.
32
-
*`yarn run test -- --src=PATH/TO/SRC/FILENAME` launches test only for `src/PATH/TO/SRC/__tests__/FILENAME-test.js` instead of all tests. For example, `yarn run debug -- --src=components/Button/Button` launches tests for `components/Button/__tests__/Button-test.js`. This also works for directories, e.g. `yarn run test -- --src=components/`.
32
+
*`yarn run test --src=PATH/TO/SRC/FILENAME` launches test only for `src/PATH/TO/SRC/__tests__/FILENAME-test.js` instead of all tests. For example, `yarn run debug -- --src=components/Button/Button` launches tests for `components/Button/__tests__/Button-test.js`. This also works for directories, e.g. `yarn run test -- --src=components/`.
33
33
*`yarn run debug` launches karma tests with PhantomJS for debugging. Open the URL mentioned in the console.
34
-
*`yarn run debug -- --src=path/to/src/FILENAME` launches debugging for `src/path/to/src/__tests__/FILENAME-test.js` instead of all tests. Open the URL mentioned in the console.
34
+
*`yarn run debug --src=path/to/src/FILENAME` launches debugging for `src/path/to/src/__tests__/FILENAME-test.js` instead of all tests. Open the URL mentioned in the console.
35
35
36
36
For more script commands see `package.json`. Test coverage reports are available under reports/coverage.
0 commit comments