Skip to content

Commit 86f971a

Browse files
committed
Automatically ignore changes to the config file upon install
1 parent 4ffcd50 commit 86f971a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ We want to make contributing to this project as easy and transparent as
33
possible.
44

55
## Our Development Process
6-
The standard installation method also clones the git repository, so you can start making and submitting changes right away. For convenience, you can use `git update-index --assume-unchanged Parse-Dashboard/parse-dashboard-config.json` to ignore your own personal configuration.
6+
The standard installation method also clones the git repository, so you can start making and submitting changes right away.
77

8-
When working on the dashboard, use `npm run dashboard` and visit `localhost:4040` to see your dashboard.
8+
When working on the dashboard, use `npm run dashboard` and visit `localhost:4040` to see your dashboard. The `npm` script will automatically re-build your files when you change them, so after making a change, all you need to do is refresh the page.
99

10-
When working on components, use `npm run pig` and visit `localhost:4041` to view our component library and documentation (you can have both running at once). The demos for each component are the primary way we test components, although there are also a small number of automated tests you can run with `npm test`.
10+
When working on React components, use `npm run pig` and visit `localhost:4041` to view our component library and documentation (you can have both running at once). The demos for each component are the primary way we test components, although there are also a small number of automated tests you can run with `npm test`.
1111

1212
## Pull Requests
1313
We actively welcome your pull requests.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"pig": "http-server ./PIG -p 4041 -s & webpack --config PIG.config.js --progress --watch",
3939
"build": "NODE_ENV=production webpack --config production.config.js && webpack --config PIG.config.js",
4040
"test": "NODE_PATH=./node_modules jest",
41-
"generate": "node scripts/generate.js"
41+
"generate": "node scripts/generate.js",
42+
"preinstall": "git update-index --skip-worktree Parse-Dashboard/parse-dashboard-config.json"
4243
},
4344
"jest": {
4445
"testPathDirs": [

0 commit comments

Comments
 (0)