aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorShinigami <[email protected]>2023-07-15 07:23:28 +0200
committerGitHub <[email protected]>2023-07-15 07:23:28 +0200
commit0708eb4efe9494ba64fe7029e6c0559aeb8d519c (patch)
treefa678de84ca993ab19bc132debae26ae1f6a0d89 /package.json
parentc6323f81339b2371305dd8be38a1946be5140683 (diff)
downloadfaker-0708eb4efe9494ba64fe7029e6c0559aeb8d519c.tar.xz
faker-0708eb4efe9494ba64fe7029e6c0559aeb8d519c.zip
infra: reduce tsconfig complexity (#2102)
Diffstat (limited to 'package.json')
-rw-r--r--package.json10
1 files changed, 3 insertions, 7 deletions
diff --git a/package.json b/package.json
index b7c74c7d..5ac4907c 100644
--- a/package.json
+++ b/package.json
@@ -53,16 +53,14 @@
},
"files": [
"CHANGELOG.md",
- "CHANGELOG_old.md",
"dist",
- "locale",
- "tsconfig.json"
+ "locale"
],
"scripts": {
"clean": "rimraf coverage .eslintcache dist docs/.vitepress/dist pnpm-lock.yaml node_modules",
"build:clean": "rimraf dist",
"build:code": "tsx ./scripts/bundle.ts",
- "build:types": "tsc --emitDeclarationOnly --outDir dist/types",
+ "build:types": "tsc --project tsconfig.build.json",
"build": "run-s build:clean build:code build:types",
"generate": "run-s generate:locales generate:api-docs",
"generate:api-docs": "tsx ./scripts/apidoc.ts",
@@ -77,9 +75,7 @@
"docs:diff": "tsx ./scripts/diff.ts",
"format": "prettier --cache --write .",
"lint": "eslint --cache --cache-strategy content --report-unused-disable-directives .",
- "ts-check": "run-s ts-check:scripts ts-check:tests",
- "ts-check:scripts": "tsc --project tsconfig.check-scripts.json",
- "ts-check:tests": "tsc --project tsconfig.check-tests.json",
+ "ts-check": "tsc",
"test": "vitest",
"test:update-snapshots": "vitest run -u",
"coverage": "vitest run --coverage",