mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-10 22:16:28 +00:00
chore: simplify ts-node calls (#22401)
This commit is contained in:
parent
6780200ffd
commit
2958a44242
2 changed files with 7 additions and 6 deletions
10
package.json
10
package.json
|
@ -12,9 +12,9 @@
|
|||
"clean": "rimraf dist tmp",
|
||||
"clean-cache": "node tools/clean-cache.mjs",
|
||||
"compile:ts": "tsc -p tsconfig.app.json",
|
||||
"config-validator": "node -r ts-node/register/transpile-only -- lib/config-validator.ts",
|
||||
"create-json-schema": "node -r ts-node/register/transpile-only -- tools/generate-schema.ts && prettier --write --cache \"renovate-schema.json\"",
|
||||
"debug": "node --inspect-brk -r ts-node/register/transpile-only -- lib/renovate.ts",
|
||||
"config-validator": "ts-node lib/config-validator.ts",
|
||||
"create-json-schema": "ts-node tools/generate-schema.ts && prettier --write --cache \"renovate-schema.json\"",
|
||||
"debug": "cross-env NODE_OPTIONS=--inspect-brk ts-node lib/renovate.ts",
|
||||
"doc-fix": "run-s markdown-lint-fix prettier-fix",
|
||||
"doc-fence-check": "node tools/check-fenced-code.mjs",
|
||||
"eslint": "eslint . --cache --report-unused-disable-directives",
|
||||
|
@ -40,9 +40,9 @@
|
|||
"pretest": "run-s generate:* ",
|
||||
"prettier": "prettier --cache --check \"**/*.{ts,js,mjs,json,md,yml}\"",
|
||||
"prettier-fix": "prettier --write --cache \"**/*.{ts,js,mjs,json,md,yml}\"",
|
||||
"release:prepare": "node -r ts-node/register/transpile-only -- tools/generate-docs.ts",
|
||||
"release:prepare": "ts-node tools/generate-docs.ts",
|
||||
"release:publish": "node tools/release.mjs",
|
||||
"start": "node -r ts-node/register/transpile-only -- lib/renovate.ts",
|
||||
"start": "ts-node lib/renovate.ts",
|
||||
"test": "run-s lint test-schema jest",
|
||||
"test-dirty": "git diff --exit-code",
|
||||
"test-e2e": "yarn pack && cd test/e2e && yarn install --no-lockfile --ignore-optional --prod && yarn test",
|
||||
|
|
|
@ -32,5 +32,6 @@
|
|||
"coverage",
|
||||
"config.js",
|
||||
"tmp"
|
||||
]
|
||||
],
|
||||
"ts-node": { "transpileOnly": true, "esm": true }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue