Skip to content

Commit

Permalink
test: 修改配置
Browse files Browse the repository at this point in the history
  • Loading branch information
geekdada committed Sep 4, 2019
1 parent 315062e commit 1226844
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
20 changes: 2 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
},
"homepage": "https://surgio.royli.dev",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/fs-extra": "^8.0.0",
"@types/inquirer": "^6.0.3",
"@types/lodash": "^4.14.137",
Expand Down Expand Up @@ -102,32 +103,15 @@
"files": [
"test/**/*.test.ts"
],
"sources": [
"lib/**/*.ts"
],
"require": [
"ts-node/register"
]
},
"nyc": {
"extension": [
".ts"
],
"extends": "@istanbuljs/nyc-config-typescript",
"reporter": [
"html",
"text-summary"
],
"sourceMap": true,
"instrument": true,
"include": [
"lib/**/*.ts"
],
"exclude": [
"**/*.d.ts",
"**/*.test.ts"
],
"require": [
"ts-node/register"
]
},
"engines": {
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,11 @@
dependencies:
arrify "^1.0.1"

"@istanbuljs/nyc-config-typescript@^0.1.3":
version "0.1.3"
resolved "https://registry.yarnpkg.com/@istanbuljs/nyc-config-typescript/-/nyc-config-typescript-0.1.3.tgz#944d15b3ebdb71f963a628daffaa25ade981bb86"
integrity sha512-EzRFg92bRSD1W/zeuNkeGwph0nkWf+pP2l/lYW4/5hav7RjKKBN5kV1Ix7Tvi0CMu3pC4Wi/U7rNisiJMR3ORg==

"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
Expand Down

0 comments on commit 1226844

Please sign in to comment.