Skip to content

Commit 43a0476

Browse files
committed
chore: move config from package.json
1 parent 26b4a37 commit 43a0476

File tree

3 files changed

+20
-26
lines changed

3 files changed

+20
-26
lines changed

.mocharc.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
require:
2+
- ts-node/register
3+
extension:
4+
- ts
5+
spec":
6+
- test/**/*.ts

.nycrc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"reporter": [
3+
"lcov",
4+
"text-summary"
5+
],
6+
"include": [
7+
"src/**/*.ts"
8+
],
9+
"extension": [
10+
".ts",
11+
".tsx"
12+
]
13+
}

package.json

+1-26
Original file line numberDiff line numberDiff line change
@@ -70,33 +70,8 @@
7070
"tslint": "^6.1.3",
7171
"typescript": "^4.7.3"
7272
},
73-
"nyc": {
74-
"extension": [
75-
".ts",
76-
".tsx"
77-
],
78-
"include": [
79-
"src/**/*.ts"
80-
],
81-
"exclude": [
82-
"**/*.d.ts"
83-
],
84-
"reporter": [
85-
"lcov",
86-
"text-summary"
87-
]
88-
},
89-
"mocha": {
90-
"require": "ts-node/register",
91-
"extension": [
92-
"ts"
93-
],
94-
"spec": [
95-
"test/**/*.ts"
96-
]
97-
},
9873
"funding": {
9974
"type": "github",
10075
"url": "https://github.com/sponsors/PeculiarVentures"
10176
}
102-
}
77+
}

0 commit comments

Comments
 (0)