Skip to content

Commit e148d44

Browse files
committed
Added request-promise library
1 parent cafd56e commit e148d44

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
# TuxLab Community Courses
22

3-
## Available Libraries
3+
#### Available Libraries:
44

5-
__lodash__
6-
```
7-
import * as _ from "lodash";
8-
```
9-
10-
## Building
5+
* lodash as `_`
6+
* request-promise as `rp`
7+
#### Building:

index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
import { Lab as _Lab } from 'tuxlab-api/lab';
44
import * as _lodash from 'lodash';
5+
import * as _rp from 'request-promise';
56

67
declare global {
78
const TuxLab: typeof _Lab;
89
var Lab : _Lab;
910

1011
const _ : typeof _lodash;
12+
const rp : typeof _rp;
1113
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
},
1818
"homepage": "https://github.com/learnlinux/tuxlab-courses#readme",
1919
"dependencies": {
20-
"gulp-cli": "^1.4.0"
2120
},
2221
"devDependencies": {
2322
"@types/node": "^7.0.42",
23+
"@types/request-promise": "^4.1.37",
2424
"del": "^3.0.0",
2525
"gulp": "^3.9.1",
26+
"gulp-cli": "^1.4.0",
2627
"gulp-insert": "^0.5.0",
2728
"gulp-rename": "^1.2.2",
2829
"gulp-typescript": "^3.2.2",

0 commit comments

Comments
 (0)