Remove core tools from dev dependencies and add to docs as one-time install

This commit is contained in:
Tanner Barlow 2019-05-09 10:22:02 -07:00
parent e9b59d4297
commit ffd332871e
2 changed files with 8 additions and 5 deletions

View File

@ -111,11 +111,15 @@ $env:azureServicePrincipalPassword='<password>'
**Run the Function Locally**
In order to run & test your Azure Function locally, run
In order to run & test your Azure Function locally, run a one-time install of the Azure Functions Core Tools:
```bash
npm install azure-functions-core-tools -g
```
From there, run the start script:
```bash
# One time install
npm install
# Start Function app
npm start
```

View File

@ -12,7 +12,6 @@
],
"dependencies": {},
"devDependencies": {
"serverless-azure-functions": ">=0.7.0",
"azure-functions-core-tools": ">=2.7.1158"
"serverless-azure-functions": ">=0.7.0"
}
}