0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Fixed redundant build steps in the custom-fonts package (#21733)

no issue
This commit is contained in:
Sag 2024-11-27 12:38:20 +08:00 committed by GitHub
parent 04f337e085
commit a5af4c2516
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,11 +16,11 @@
},
"scripts": {
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
"build": "yarn build:cjs && yarn build:esm && yarn build:ts",
"build": "yarn build:cjs && yarn build:esm && yarn build:types",
"build:types": "tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationDir ./build/types",
"build:cjs": "tsc -p tsconfig.json --outDir ./build/cjs --module CommonJS",
"build:esm": "tsc -p tsconfig.esm.json --outDir ./build/esm --module ES2020",
"build:ts": "yarn build:cjs && yarn build:esm && yarn build:types",
"build:ts": "yarn build",
"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:ts && yarn test:unit",