Skip to content

Commit

Permalink
Auto-approve NPX package install
Browse files Browse the repository at this point in the history
  • Loading branch information
seesharprun committed Jul 31, 2024
1 parent cda942b commit 5c3a399
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 1 addition & 4 deletions src/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "module",
"scripts": {
"start": "node app.js",
"dev": "npx nodemon app.js"
"dev": "npx --yes nodemon app.js"
},
"dependencies": {
"@azure/cosmos": "^4",
Expand All @@ -17,8 +17,5 @@
"express": "^4",
"serve-favicon": "^2",
"socket.io": "^4"
},
"devDependencies": {
"nodemon": "^3"
}
}
9 changes: 3 additions & 6 deletions src/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
},
"main": "app.js",
"scripts": {
"build": "npx tsc && npx copyfiles ./static/**/* ./dist/",
"build": "npx --yes tsc && npx --yes copyfiles ./static/**/* ./dist/",
"start": "node dist/app.js",
"dev": "npx ts-node app.ts"
"dev": "npx --yes ts-node app.ts"
},
"dependencies": {
"@azure/cosmos": "^4",
Expand All @@ -20,9 +20,6 @@
},
"devDependencies": {
"@types/express": "^4",
"@types/serve-favicon": "^2",
"copyfiles": "^2",
"ts-node": "^10",
"typescript": "^5"
"@types/serve-favicon": "^2"
}
}

0 comments on commit 5c3a399

Please sign in to comment.