Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 615e379

Browse files
author
Matt Mason
committed
Automatically ignore secrets.js upon install
1 parent a143fbc commit 615e379

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ build/Release
2727
node_modules
2828

2929
# Emacs
30-
*~
30+
*~
31+
32+
secrets.js

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"parse-server-azure-config": "^0.0.1"
1616
},
1717
"scripts": {
18-
"start": "node index.js"
18+
"start": "node index.js",
19+
"postinstall": "git update-index --skip-worktree secrets.js"
1920
},
2021
"engines": {
2122
"node": ">=4.3"

0 commit comments

Comments
 (0)