Skip to content

Commit 2edc162

Browse files
authored
Support testing on Windows (#820)
* fix linter for windows * enable watch * improve watch * Update CONTRIBUTING.md
1 parent ffddb18 commit 2edc162

File tree

4 files changed

+232
-116
lines changed

4 files changed

+232
-116
lines changed

.gitattributes

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
* text=auto eol=lf
2+
3+
*.js text
4+
*.html text
5+
*.less text
6+
*.json text
7+
*.css text
8+
*.xml text
9+
*.md text
10+
*.txt text
11+
*.yml text
12+
*.sql text
13+
*.sh text
14+
15+
*.png binary

CONTRIBUTING.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ The Parse JS SDK is built for three platforms:
3535
- react-native
3636

3737
When developing the SDK you can use `npm run watch` in order to rebuild your changes upon each saves.
38-
By default, the watch command will rebuild the SDK for the node platform. You can toggle this by setting the environment variable PARSE_BUILD. Valid values are:
3938

40-
- node
41-
- browser
42-
- react-native
39+
By default, the watch command will rebuild the SDK for the browser platform. The following commands will rebuild changes for a specific platform.
40+
41+
- `npm run watch:node`
42+
- `npm run watch:browser`
43+
- `npm run watch:react-native`
4344

4445
### Testing the code
4546

0 commit comments

Comments
 (0)