Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit 9b45615

Browse files
authored
Merge fd47cc9 into 0c181e7
2 parents 0c181e7 + fd47cc9 commit 9b45615

File tree

5 files changed

+193
-1
lines changed

5 files changed

+193
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jspm_packages/
3939
# Distribution files
4040
dist/
4141

42+
# Project generated documentation
43+
docs/
44+
4245
# TypeScript v1 declaration files
4346
typings/
4447

lib/utils/highestPossible.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const highestPossible = ((num: number, limit: number) => limit <= num ? limit : num );
1+
export const highestPossible = (num: number, limit: number) => limit <= num ? limit : num;

package-lock.json

Lines changed: 167 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"test": "jest --config jest.config.json && cat ./coverage/lcov.info | coveralls",
99
"lint": "tslint -c tslint.json 'src/**/*.ts'",
1010
"build": "tsc",
11+
"docs": "typedoc --options ./typedocconfig.ts",
1112
"prepublishOnly": "npm install && npm run build"
1213
},
1314
"repository": {
@@ -40,6 +41,7 @@
4041
"regenerator-runtime": "^0.12.1",
4142
"ts-jest": "^23.10.4",
4243
"tslint": "^5.11.0",
44+
"typedoc": "^0.13.0",
4345
"typescript": "^3.1.6"
4446
},
4547
"dependencies": {

typedocconfig.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
exclude: "**/*.spec.ts",
3+
excludeExternals: true,
4+
excludePrivate: true,
5+
excludeProtected: true,
6+
ignoreCompilerErrors: true,
7+
includeDeclarations: true,
8+
listInvalidSymbolLinks: true,
9+
mode: "file",
10+
name: "SLMF-HTTP-connector",
11+
out: "./docs",
12+
plugin: "none",
13+
readme: "none",
14+
src: [
15+
"./index.ts",
16+
"./lib/",
17+
],
18+
target: "ES5",
19+
tsconfig: "tsconfig.json",
20+
};

0 commit comments

Comments
 (0)