mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
c1ce322e86
- Adding custom fonts for themes behind a feature flag - Introduces new `@tryghost/custom-fonts` module to manage custom fonts - UI updates for Branding and Theme settings --------- Co-authored-by: Fabien O'Carroll <fabien@allou.is> Co-authored-by: Sodbileg Gansukh <sodbileg.gansukh@gmail.com> Co-authored-by: Peter Zimon <peter.zimon@gmail.com> Co-authored-by: Sanne de Vries <sannedv@protonmail.com> Co-authored-by: Daniël van der Winden <danielvanderwinden@ghost.org>
44 lines
1.6 KiB
JSON
44 lines
1.6 KiB
JSON
{
|
|
"name": "@tryghost/custom-fonts",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/custom-fonts",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"main": "./build/cjs/index.js",
|
|
"module": "./build/esm/index.js",
|
|
"types": "./build/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./build/esm/index.js",
|
|
"require": "./build/cjs/index.js",
|
|
"types": "./build/types/index.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
|
"build": "yarn build:cjs && yarn build:esm && yarn build:ts",
|
|
"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",
|
|
"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",
|
|
"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"
|
|
},
|
|
"files": [
|
|
"build"
|
|
],
|
|
"devDependencies": {
|
|
"c8": "10.1.2",
|
|
"mocha": "10.7.3",
|
|
"sinon": "19.0.2",
|
|
"ts-node": "10.9.2",
|
|
"typescript": "5.6.2"
|
|
},
|
|
"dependencies": {}
|
|
}
|