Skip to content

Commit 96b7048

Browse files
Merge pull request #28 from scheduleonce/orion/vulnerability-fix
Added package command in package.json
2 parents f9a623c + 88dc93a commit 96b7048

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deploy.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ npm whoami
66
npm i
77
npm run package
88
filename="$(npm pack --dry-run | tail -n 1)"
9-
npm publish $filename --registry=https://registry.npmjs.org/
109
echo "$1"
1110

1211
if [[ "$1" == "qa" ]] || [[ "$1" == "master" ]] || [[ "$1" == "staging" ]] || [[ "$1" == "staging-app2" ]]

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "ESLint configuration for micro-services built using Node.js and TypeScript",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"package": "npm pack"
89
},
910
"author": "Rajat Saxena <[email protected]>",
1011
"license": "ISC",

0 commit comments

Comments
 (0)