use npm scripts for discoverability and consistency
This commit is contained in:
Родитель
cd941030c0
Коммит
bb8cc4bc84
|
@ -9,10 +9,10 @@ This is a [Jekyll](http://jekyllrb.com) site hosted on [GitHub Pages](http://pag
|
|||
Follow these steps to copy this repository to your computer and build the site:
|
||||
|
||||
```bash
|
||||
$ git clone https://github.com/atom/electron.atom.io.git
|
||||
$ cd electron.atom.io
|
||||
$ script/bootstrap
|
||||
$ script/server
|
||||
git clone https://github.com/atom/electron.atom.io.git
|
||||
cd electron.atom.io
|
||||
npm run bootstrap
|
||||
npm run server
|
||||
```
|
||||
|
||||
### CLI for Docs, Releases & Version Information
|
||||
|
|
|
@ -12,6 +12,8 @@
|
|||
"url": "https://github.com/atom/electron.atom.io/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "script/server",
|
||||
"bootstrap": "script/bootstrap",
|
||||
"test": "tape spec/*.js | tap-spec",
|
||||
"rels-vers": "script/releases && script/versions",
|
||||
"docs": "script/docs --latest",
|
||||
|
|
Загрузка…
Ссылка в новой задаче