Don't install typings in post-install.
This commit is contained in:
Родитель
310f757232
Коммит
649ecf3286
16
README.md
16
README.md
|
@ -5,3 +5,19 @@ For when you have to use git in nodejs.
|
||||||
A wrapper around [nodegit](https://github.com/nodegit/nodegit).
|
A wrapper around [nodegit](https://github.com/nodegit/nodegit).
|
||||||
|
|
||||||
![](http://www.reactiongifs.com/r/whid1.gif)
|
![](http://www.reactiongifs.com/r/whid1.gif)
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
To use:
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install ohnogit --save
|
||||||
|
```
|
||||||
|
|
||||||
|
For development:
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://github.com/github/ohnogit
|
||||||
|
npm install
|
||||||
|
./node_modules/.bin/typings install
|
||||||
|
```
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
"test": "npm run compile && jasmine",
|
"test": "npm run compile && jasmine",
|
||||||
"prepublish": "npm run clean && npm run lint && npm run compile",
|
"prepublish": "npm run clean && npm run lint && npm run compile",
|
||||||
"lint": "tslint lib/**/*.ts",
|
"lint": "tslint lib/**/*.ts",
|
||||||
"postinstall": "typings install",
|
|
||||||
"clean": "rm -rf build"
|
"clean": "rm -rf build"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче