0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Renamed yarn build:types to yarn build:ts to ensure CI is working correctly

This commit is contained in:
Aileen Booker 2024-10-22 08:41:21 +04:00
parent 366c210783
commit 222bc89181

View file

@ -16,14 +16,14 @@
},
"scripts": {
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
"build": "yarn build:cjs && yarn build:esm && yarn build:types",
"build": "yarn build:cjs && yarn build:esm && yarn build:ts",
"build:cjs": "tsc -p tsconfig.json --outDir ./build/cjs --module CommonJS",
"build:esm": "tsc -p tsconfig.esm.json --outDir ./build/esm --module ES2020",
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./build/types",
"build:ts": "tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./build/types",
"prepare": "yarn build",
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --100 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'",
"test": "yarn test:types && yarn test:unit",
"test:types": "tsc --noEmit",
"test": "yarn test:ts && yarn test:unit",
"test:ts": "tsc --noEmit",
"lint:code": "eslint src/ --ext .ts --cache",
"lint": "yarn lint:code && yarn lint:test",
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .ts --cache"