compute-starter-kit-javascript-default
compute-starter-kit-javascript-default copied to clipboard
Use @fastly/cli in the starter kit
This PR makes changes:
-
Changes to package.json to enable usage without a global installation of the Fastly CLI:
- Adds
@fastly/clitodevDependenciesso that it's available when using the starter kit, as a tool used to build and run or publish the application. - Makes sure that
scriptscontainsstartanddeployscripts as applicable.
- Adds
-
Adds instructions to the README describing how to initialize an application using the starter kit, as well as how to run it locally or publish it to a Fastly service, as applicable.
-
Adds
post_initscript to runnpm installif it was not present.