Skip to content

Commit 2a633a5

Browse files
committed
assert ssl certs aren't published. fixes #1171
1 parent d2fef58 commit 2a633a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ node_modules
44
/client/index.bundle.js
55
/client/sockjs.bundle.js
66
/coverage
7-
*.pem
7+
/ssl/*.pem
88
.idea/
99
.DS_Store

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"cover": "istanbul cover node_modules/mocha/bin/_mocha",
2525
"lint": "eslint bin lib test examples client/{index,live,socket,sockjs,overlay,webpack.config}.js",
2626
"mocha": "mocha --full-trace --check-leaks",
27-
"prepublish": "npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
27+
"prepublish": "rm ssl/*.pem && npm run -s build:live && npm run -s build:index && npm run -s build:sockjs",
2828
"test": "npm run lint && npm run mocha",
2929
"build:live": "webpack ./client/live.js client/live.bundle.js --color --config client/webpack.config.js",
3030
"build:index": "webpack ./client/index.js client/index.bundle.js --color --config client/webpack.config.js",

0 commit comments

Comments
 (0)