UNPKG

typopo

Version:

Fix frequent microtypography errors in multiple languages. Write neat texts without bothering about typography rules. Typopo works for English, German, Slovak, Czech and Rusyn language.

88 lines (87 loc) 2.2 kB
{ "name": "typopo", "version": "3.0.0", "description": "Fix frequent microtypography errors in multiple languages. Write neat texts without bothering about typography rules. Typopo works for English, German, Slovak, Czech and Rusyn language.", "type": "module", "types": "./index.d.ts", "license": "MIT", "author": { "name": "Braňo Šandala", "email": "help@typopo.org" }, "scripts": { "build": "vite build", "test": "vitest run --exclude tests/idempotency.test.js", "test:dev": "cross-env SOURCE_ONLY=true vitest --exclude tests/idempotency.test.js", "test:module": "vitest --exclude tests/integration/typopo.test.js --exclude tests/idempotency.test.js", "test:id": "vitest run tests/idempotency.test.js", "test:perf": "node tests/performance.test.js", "lint": "eslint src/", "lint:fix": "eslint src/ --fix", "format": "prettier --write src/ tests/", "debug": "node tests/debug/debug-typopo.js", "debug:dq": "node tests/debug/debug-double-quotes.js", "debug:regex": "node tests/debug/debug-regex.js", "prepare": "husky" }, "lint-staged": { "src/**/*.js": [ "eslint --fix", "prettier --write" ], "tests/**/*.js": [ "eslint --fix", "prettier --write" ] }, "main": "./dist/typopo.cjs", "module": "./dist/typopo.es.js", "browser": "./dist/typopo.umd.js", "exports": { ".": { "types": "./index.d.ts", "import": "./dist/typopo.es.js", "require": "./dist/typopo.cjs" } }, "files": [ "dist", "index.d.ts", "LICENSE.txt", "README.md" ], "repository": { "type": "git", "url": "https://github.com/surfinzap/typopo" }, "bugs": { "url": "https://github.com/surfinzap/typopo/issues" }, "keywords": [ "microtypography", "typography", "typos", "typo", "English", "German", "Slovak", "Czech", "Rusyn" ], "engines": { "node": ">=6.9.4" }, "devDependencies": { "@eslint/js": "^9.39.2", "@huggingface/prettier-plugin-vertical-align": "^0.2.3", "@trivago/prettier-plugin-sort-imports": "^6.0.2", "cross-env": "^10.1.0", "eslint": "^9.39.2", "husky": "^9.1.7", "jsdom": "^27.4.0", "lint-staged": "^16.2.7", "prettier": "^3.8.1", "vite": "^7.3.1", "vitest": "^4.0.18" } }