Skip to content

Commit

Permalink
Update Node.js package.json templates for func init(#2853)
Browse files Browse the repository at this point in the history
  • Loading branch information
ejizba authored Dec 2, 2021
1 parent 49c8867 commit 7e8b7bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "",
"version": "",
"version": "1.0.0",
"description": "",
"scripts" : {
"scripts": {
"start": "func start",
"test": "echo \"No tests yet...\""
},
"author": ""
"dependencies": {},
"devDependencies": {}
}
20 changes: 9 additions & 11 deletions src/Azure.Functions.Cli/StaticResources/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"name": "",
"version": "",
"scripts" : {
"version": "1.0.0",
"description": "",
"scripts": {
"build": "tsc",
"build:production": "npm run prestart && npm prune --production",
"watch": "tsc --w",
"prestart": "npm run build && func extensions install",
"start:host": "func start",
"start": "npm-run-all --parallel start:host watch",
"watch": "tsc -w",
"prestart": "npm run build",
"start": "func start",
"test": "echo \"No tests yet...\""
},
"description": "",
"dependencies": {},
"devDependencies": {
"@azure/functions": "^1.0.1-beta1",
"npm-run-all": "^4.1.5",
"typescript": "^3.3.3"
"@azure/functions": "^2.0.0",
"typescript": "^4.0.0"
}
}

0 comments on commit 7e8b7bd

Please sign in to comment.