diff --git a/public/docs/_examples/quickstart/js/package.1.json b/public/docs/_examples/quickstart/js/package.1.json new file mode 100644 index 0000000000..9f31662777 --- /dev/null +++ b/public/docs/_examples/quickstart/js/package.1.json @@ -0,0 +1,15 @@ +{ + "name": "angular2-getting-started", + "version": "1.0.0", + "dependencies": { + "angular2": "2.0.0-alpha.44" + }, + "devDependencies": { + "live-server": "^0.8.1" + }, + { + "scripts": { + "start": "live-server" + } +} + diff --git a/public/docs/js/latest/quickstart.jade b/public/docs/js/latest/quickstart.jade index bf7852d4aa..d8ce7e6057 100644 --- a/public/docs/js/latest/quickstart.jade +++ b/public/docs/js/latest/quickstart.jade @@ -59,12 +59,12 @@ include ../../../_includes/_util-fns file named `package.json`. The essence of our `package.json` should look like this: - +makeJson('quickstart/js/package.json', { paths: 'name, version, dependencies, devDependencies'}) + +makeJson('quickstart/js/package.1.json', { paths: 'name, version, dependencies, devDependencies'}) :marked There is also a `scripts` section. **Find and replace** it with the following: - +makeJson('quickstart/js/package.json', { paths: 'scripts'}) + +makeJson('quickstart/js/package.1.json', { paths: 'scripts'}) :marked We've just extended our project world with a script command that we'll be running very soon.