Skip to content

Commit f10ab07

Browse files
committed
Initial commit
0 parents  commit f10ab07

27 files changed

+7307
-0
lines changed

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.DS_Store
2+
examples/*
3+
node_modules/*
4+
.idea/*
5+
reports/*
6+
apidocs-templates/*
7+
testcase-report/*
8+
test/smtpconfig.js/*
9+
test/config.js/*
10+
test/sync_config.js/*
11+
test/report.json/*
12+
tap-html.html
13+
*html-report
14+
dist/*
15+
coverage/

.jsdoc.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"tags": {
3+
"allowUnknownTags": true,
4+
"dictionaries": ["jsdoc"]
5+
},
6+
"source": {
7+
"include": ["src"],
8+
"excludePattern": "(node_modules/|jsdocs)"
9+
},
10+
"templates": {
11+
"cleverLinks": false,
12+
"monospaceLinks": true
13+
},
14+
"opts": {
15+
"destination": "./jsdocs/",
16+
"encoding": "utf8",
17+
"private": true,
18+
"recurse": true,
19+
"template": "./node_modules/docdash",
20+
"sort": false
21+
},
22+
"docdash": {
23+
"static": true,
24+
"sort": false
25+
}
26+
}

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
src
2+
tsconfig.json
3+
tslint.json
4+
.prettierrc
5+
jestconfig.json

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 120,
3+
"trailingComma": "all",
4+
"singleQuote": true
5+
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
![Coverage statements](./badges/badge-statements.svg?raw=true)
2+
![Coverage branches](./badges/badge-branches.svg)
3+
![Coverage functions](./badges/badge-functions.svg)
4+
![Coverage lines](./badges/badge-lines.svg)

badges/badge-branches.svg

Lines changed: 1 addition & 0 deletions
Loading

badges/badge-functions.svg

Lines changed: 1 addition & 0 deletions
Loading

badges/badge-lines.svg

Lines changed: 1 addition & 0 deletions
Loading

badges/badge-statements.svg

Lines changed: 1 addition & 0 deletions
Loading

jestconfig.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"transform": {
3+
"^.+\\.(t|j)sx?$": "ts-jest"
4+
},
5+
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
6+
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
7+
8+
"collectCoverage": true,
9+
"coverageReporters": [
10+
"json",
11+
"html",
12+
"json-summary",
13+
"text",
14+
"lcov"
15+
],
16+
"collectCoverageFrom": [
17+
"src/**",
18+
"!src/index.ts"
19+
],
20+
"coverageThreshold": {
21+
"global": {
22+
"branches": 85,
23+
"functions": 85,
24+
"lines": 85,
25+
"statements": 85
26+
}
27+
},
28+
"reporters": [
29+
"default",
30+
["jest-html-reporters",
31+
{
32+
"publicPath": "./testcase-report",
33+
"filename": "index.html",
34+
"expand": true
35+
}
36+
]
37+
]
38+
}

0 commit comments

Comments
 (0)