UNPKG

typograf

Version:

The client and server typography

91 lines (90 loc) 3.31 kB
{ "name": "typograf", "description": "The client and server typography", "version": "7.7.0", "author": { "name": "Denis Seleznev", "email": "hcodes@yandex.ru", "url": "https://github.com/typograf/typograf" }, "main": "dist/typograf.js", "module": "dist/typograf.es.mjs", "exports": { "types": "./dist/typograf.d.ts", "require": "./dist/typograf.js", "import": "./dist/typograf.es.mjs" }, "homepage": "https://github.com/typograf", "license": "MIT", "repository": { "type": "git", "url": "git://github.com/typograf/typograf.git" }, "keywords": [ "typo", "text", "typograf", "typographer", "typography" ], "engines": { "node": ">= 4" }, "files": [ "dist", "docs", "LICENSE", "README.md", "CHANGELOG.md" ], "devDependencies": { "@eslint/js": "^9.39.4", "@rollup/plugin-typescript": "^12.3.0", "@types/jest": "^30.0.0", "@typescript-eslint/eslint-plugin": "^8.58.2", "@typescript-eslint/parser": "^8.58.2", "cpy-cli": "^7.0.0", "del-cli": "^7.0.0", "eslint": "^9.39.4", "globals": "^17.5.0", "jest": "^30.3.0", "postcss": "^8.5.9", "postcss-cli": "^11.0.1", "postcss-import": "^16.1.1", "postcss-import-ext-glob": "^2.1.1", "rollup": "^4.60.1", "sort-keys": "^6.0.0", "ts-jest": "^29.4.9", "tslib": "^2.8.1", "typescript": "^5.9.3", "typescript-eslint": "^8.58.2", "uglify-js": "^3.19.3" }, "scripts": { "version": "node -p \"'export const PACKAGE_VERSION = \\'' + require('./package.json').version + '\\';'\" > src/version.ts", "prepare": "npm run dist", "clean": "del-cli dist/* build/*", "benchmark": "node benchmark/benchmark.mjs", "build": "npm run build:part1 && npm run build:part2", "build:part1": "npm run clean && npm run version && npm run build:groups && npm run build:titles && npm run build:js", "build:part2": "npm run build:es-js && npm run build:all-js && npm run build:copyright && npm run build:css", "build:css": "postcss --no-map src/typograf.css -o ./build/typograf.css", "build:js": "rollup --config rollup.config.mjs", "build:es-js": "rollup --config rollup.config.es.mjs", "build:all-js": "rollup --config rollup.config.all.mjs", "build:groups": "cpy --rename=typograf.{{basename}} --flat src/groups.json build/ && node tools/groups.mjs", "build:titles": "node tools/titles.mjs", "build:md": "node tools/md.mjs", "build:copyright": "node tools/copyright.mjs build/typograf.js build/typograf.es.mjs build/typograf.all.js", "minimize:js": "uglifyjs -c -m --comments '/^!/' -O ascii_only=false ./build/typograf.js -o ./build/typograf.min.js", "minimize:all-js": "uglifyjs -c -m --comments '/^!/' -O ascii_only=false ./build/typograf.all.js -o ./build/typograf.all.min.js", "dist": "npm run build && npm run minimize:js && npm run minimize:all-js && npm run build:md && npm run dist:copy && npm run dist:typings", "dist:copy": "cpy 'build/typograf.*' dist/", "dist:typings": "cpy 'build/src/**/*.d.ts' dist/", "test": "npm run build:part1 && npm run eslint && npm run unit-test", "eslint": "eslint .", "unit-test": "jest .", "typecheck": "tsc --noEmit" }, "typings": "./dist/typograf.d.ts" }