Skip to content

Commit

Permalink
update npm dependencies and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pbakaus committed Jul 8, 2016
1 parent fe3b717 commit e225473
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ $ npm install

### Develop

Note: Be sure to run `grow build` at least once to pull in reference docs before running the following command.

```sh
$ grow run
```
Expand All @@ -33,10 +35,11 @@ This will generate a static, complete build of the site into the **_site* folder

### Import the reference docs

Out of the box, the reference docs are not bundled with the rest of the documentation. To pull them in (automatically from the amphtml github repo), do the following:
Out of the box, the reference docs are not bundled with the rest of the documentation. To pull them in (automatically from the amphtml github repo), either call build above, or manually do the following:

```sh
$ ./importref.js {{github client secret }}
$ cd scripts
$ ./import_docs.js {{github client secret }}
```

You'll need to register for a Github application [here](https://github.com/settings/applications/new) to get a client id and secret you can use for authentication. When you're done, open the file `import_reference_docs.js` and modify line 15 to point to your new client id, then pass in the client secret as argument, like shown above (we'll make this a little easier in the future).
Expand Down
4 changes: 0 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
var autoprefixer = require('gulp-autoprefixer');
var concat = require('gulp-concat');
var del = require('del');
var exec = require('child_process').exec;
var gulp = require('gulp');
var git = require('gulp-git');
var plumber = require('gulp-plumber');
var sass = require('gulp-sass');
var livereload = require('gulp-livereload');

Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
"name": "Amp",
"private": true,
"devDependencies": {
"del": "^2.2.0",
"feedparser": "^1.1.4",
"gulp": "^3.8.11",
"gulp-autoprefixer": "^2.1.0",
"gulp-concat": "^2.5.2",
"gulp-git": "^1.6.0",
"gulp-livereload": "^3.8.1",
"gulp-plumber": "^1.0.0",
"gulp-sass": "^2.0.4",
"octonode": "^0.7.6"
"moment": "^2.14.1",
"octonode": "^0.7.6",
"request": "^2.72.0"
}
}

0 comments on commit e225473

Please sign in to comment.