Skip to content

Commit 79dd753

Browse files
committed
fix
1 parent b61ef15 commit 79dd753

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@
5656
"scripts": {
5757
"lint": "prettier --check .",
5858
"lint-fix": "prettier --write .",
59-
"clean": "rimraf dist tsconfig.schema.json tsconfig.schemastore-schema.json tsconfig.tsbuildinfo tests/ts-node-packed.tgz",
59+
"clean": "rimraf dist tsconfig.schema.json tsconfig.schemastore-schema.json tests/ts-node-packed.tgz .tmp",
6060
"rebuild": "npm run clean && npm run build",
6161
"build": "npm run build-nopack && npm run build-pack",
6262
"build-nopack": "npm run build-tsc && npm run build-configSchema",
63-
"build-tsc": "tsc --build ./tsconfig.declarations.json && ( rm -r .tmp/declarations/src 2> /dev/null || true) && tsc --build ./tsconfig.build.json",
63+
"build-tsc": "tsc --build ./tsconfig.declarations.json && rimraf .tmp/declarations/src && tsc --build ./tsconfig.build.json",
6464
"build-configSchema": "typescript-json-schema --topRef --refs --validationKeywords allOf --out tsconfig.schema.json tsconfig.build-schema.json TsConfigSchema && node --require ./register ./scripts/create-merged-schema",
6565
"build-pack": "node ./scripts/build-pack.js",
6666
"test-spec": "ava",

tsconfig.build.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"noEmit": false,
1212
"allowJs": false,
1313
"rootDir": "src",
14+
"outDir": "dist",
15+
"tsBuildInfoFile": ".tmp/tsconfig.build.tsbuildinfo",
1416
"rootDirs": [
1517
".",
1618
".tmp/declarations"
1719
],
18-
"outDir": "dist",
19-
"tsBuildInfoFile": ".tmp/tsconfig.build.tsbuildinfo",
2020
}
2121
}

0 commit comments

Comments
 (0)