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: CONTRIBUTING.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,13 @@
2
2
3
3
This is how the Dash Button code is organized, so you can understand where to make changes and how to test your code.
4
4
5
+
## Source Code
6
+
7
+
The source files are under `src` and are written using modern JavaScript and [Flow](https://flowtype.org/).
8
+
5
9
## Building
6
10
7
-
The source files are under `src` and are written using modern JavaScript. They are compiled with [Babel](https://babeljs.io/) to a version of JavaScript that Node.js understands. These compiled files go in a directory called `build`, which is not committed to Git but is published to npm.
11
+
The source files are compiled with [Babel](https://babeljs.io/) to a version of JavaScript that Node.js understands. These compiled files go in a directory called `build`, which is not committed to Git but is published to npm.
8
12
9
13
We use [Gulp 4](https://github.com/gulpjs/gulp/tree/4.0) to run Babel. The easiest way to run Gulp is to run `npm run build` or `npm run watch`. Both of these compile the JavaScript in `src` and output it in `build`, but the `watch` command will keep watching your filesystem for any changes and compile files when you save them. It's recommended when you are developing.
0 commit comments