Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit daffdb7

Browse files
jtrabandnaomiblack
authored andcommitted
Fix for package.json handling in quickstart guide
1 parent afcf31d commit daffdb7

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "angular2-getting-started",
3+
"version": "1.0.0",
4+
"dependencies": {
5+
"angular2": "2.0.0-alpha.44"
6+
},
7+
"devDependencies": {
8+
"live-server": "^0.8.1"
9+
},
10+
{
11+
"scripts": {
12+
"start": "live-server"
13+
}
14+
}
15+

public/docs/js/latest/quickstart.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ include ../../../_includes/_util-fns
5959
file named `package.json`.
6060
The essence of our `package.json` should look like this:
6161

62-
+makeJson('quickstart/js/package.json', { paths: 'name, version, dependencies, devDependencies'})
62+
+makeJson('quickstart/js/package.1.json', { paths: 'name, version, dependencies, devDependencies'})
6363

6464
:marked
6565
There is also a `scripts` section. **Find and replace** it with the following:
6666

67-
+makeJson('quickstart/js/package.json', { paths: 'scripts'})
67+
+makeJson('quickstart/js/package.1.json', { paths: 'scripts'})
6868

6969
:marked
7070
We've just extended our project world with a script command that we'll be running very soon.

0 commit comments

Comments
 (0)