reading-time-estimator
Version:
A medium's like reading time estimator with internationalization support
178 lines (177 loc) • 5.13 kB
JSON
{
"name": "reading-time-estimator",
"version": "2.6.0",
"description": "A medium's like reading time estimator with internationalization support",
"keywords": [
"typescript",
"typescript-library",
"javascript",
"javascript-library",
"i18n",
"reading",
"reading-time",
"time",
"es6",
"medium",
"i18n",
"estimator"
],
"files": [
"dist"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"typesVersions": {
"*": {
"i18n/*": [
"./dist/types/i18n/*"
]
}
},
"exports": {
".": {
"types": "./dist/types/reading-time-estimator.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./i18n/en": {
"types": "./dist/types/i18n/en.d.ts",
"import": "./dist/i18n/en/locale.js",
"require": "./dist/i18n/en/locale.cjs"
},
"./i18n/fr": {
"types": "./dist/types/i18n/fr.d.ts",
"import": "./dist/i18n/fr/locale.js",
"require": "./dist/i18n/fr/locale.cjs"
},
"./i18n/es": {
"types": "./dist/types/i18n/es.d.ts",
"import": "./dist/i18n/es/locale.js",
"require": "./dist/i18n/es/locale.cjs"
},
"./i18n/zh-cn": {
"types": "./dist/types/i18n/zh-cn.d.ts",
"import": "./dist/i18n/zh-cn/locale.js",
"require": "./dist/i18n/zh-cn/locale.cjs"
},
"./i18n/zh-tw": {
"types": "./dist/types/i18n/zh-tw.d.ts",
"import": "./dist/i18n/zh-tw/locale.js",
"require": "./dist/i18n/zh-tw/locale.cjs"
},
"./i18n/ja": {
"types": "./dist/types/i18n/ja.d.ts",
"import": "./dist/i18n/ja/locale.js",
"require": "./dist/i18n/ja/locale.cjs"
},
"./i18n/de": {
"types": "./dist/types/i18n/de.d.ts",
"import": "./dist/i18n/de/locale.js",
"require": "./dist/i18n/de/locale.cjs"
},
"./i18n/pt-br": {
"types": "./dist/types/i18n/pt-br.d.ts",
"import": "./dist/i18n/pt-br/locale.js",
"require": "./dist/i18n/pt-br/locale.cjs"
},
"./i18n/tr": {
"types": "./dist/types/i18n/tr.d.ts",
"import": "./dist/i18n/tr/locale.js",
"require": "./dist/i18n/tr/locale.cjs"
},
"./i18n/ro": {
"types": "./dist/types/i18n/ro.d.ts",
"import": "./dist/i18n/ro/locale.js",
"require": "./dist/i18n/ro/locale.cjs"
},
"./i18n/bn": {
"types": "./dist/types/i18n/bn.d.ts",
"import": "./dist/i18n/bn/locale.js",
"require": "./dist/i18n/bn/locale.cjs"
},
"./i18n/sk": {
"types": "./dist/types/i18n/sk.d.ts",
"import": "./dist/i18n/sk/locale.js",
"require": "./dist/i18n/sk/locale.cjs"
},
"./i18n/cs": {
"types": "./dist/types/i18n/cs.d.ts",
"import": "./dist/i18n/cs/locale.js",
"require": "./dist/i18n/cs/locale.cjs"
},
"./i18n/ru": {
"types": "./dist/types/i18n/ru.d.ts",
"import": "./dist/i18n/ru/locale.js",
"require": "./dist/i18n/ru/locale.cjs"
},
"./i18n/vi": {
"types": "./dist/types/i18n/vi.d.ts",
"import": "./dist/i18n/vi/locale.js",
"require": "./dist/i18n/vi/locale.cjs"
},
"./i18n/it": {
"types": "./dist/types/i18n/it.d.ts",
"import": "./dist/i18n/it/locale.js",
"require": "./dist/i18n/it/locale.cjs"
},
"./i18n/id": {
"types": "./dist/types/i18n/id.d.ts",
"import": "./dist/i18n/id/locale.js",
"require": "./dist/i18n/id/locale.cjs"
},
"./i18n/hi": {
"types": "./dist/types/i18n/hi.d.ts",
"import": "./dist/i18n/hi/locale.js",
"require": "./dist/i18n/hi/locale.cjs"
},
"./package.json": "./package.json"
},
"bugs": {
"url": "https://github.com/lbenie/reading-time-estimator/issues"
},
"homepage": "https://github.com/lbenie/reading-time-estimator#readme",
"author": {
"name": "Lucien Bénié",
"email": "lucien.benie@gmail.com",
"url": "https://github.com/lbenie"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lbenie/reading-time-estimator.git"
},
"license": "MIT",
"scripts": {
"build": "vite build",
"test": "vitest --coverage",
"test:vitest": "vitest",
"semantic-release": "npx semantic-release",
"format": "biome check --write lib"
},
"devDependencies": {
"@lbenie/linting": "2.1.12",
"@rollup/plugin-typescript": "12.3.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "12.0.6",
"@semantic-release/release-notes-generator": "14.1.0",
"@types/node": "25.6.0",
"@types/sanitize-html": "2.16.1",
"@vitest/coverage-v8": "4.1.4",
"all-contributors-cli": "6.26.1",
"conventional-changelog-conventionalcommits": "9.3.1",
"rollup": "4.60.1",
"semantic-release": "25.0.3",
"typescript": "6.0.2",
"unplugin-auto-import": "21.0.0",
"vite": "8.0.8",
"vitest": "4.1.4"
},
"dependencies": {
"marked": "18.0.0",
"sanitize-html": "2.17.3"
},
"packageManager": "pnpm@10.33.0"
}