UNPKG

estimated-reading-time

Version:

Calculate the estimated reading time of a given text (plain text or HTML)

65 lines (64 loc) 1.87 kB
{ "name": "estimated-reading-time", "version": "1.0.1", "description": "Calculate the estimated reading time of a given text (plain text or HTML)", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/typings/index.d.ts", "unpkg": "./dist/umd/index.js", "exports": { ".": { "require": "./dist/cjs/index.js", "import": "./dist/esm/index.js" } }, "type": "module", "files": [ "dist" ], "scripts": { "clean": "rm -rf dist/*", "start": "npm run clean && npm run tsc && npm run webpack:dev", "webpack:dev": "webpack --config ./webpack/webpack.config.js --mode development", "webpack:prod": "webpack --config ./webpack/webpack.config.js --mode production", "tsc:esm": "tsc -p tsconfig.json", "tsc:cjs": "tsc -p tsconfig-cjs.json", "tsc": "npm run tsc:esm && npm run tsc:cjs", "build": "npm run clean && npm run tsc && npm run webpack:prod", "prepublishOnly": "npm run build", "test": "mocha" }, "devDependencies": { "@babel/core": "^7.10.3", "@babel/preset-env": "^7.10.4", "babel-loader": "^8.1.0", "chai": "^4.2.0", "create-file-webpack": "^1.0.2", "mocha": "^8.0.1", "typescript": "^3.9.5", "webpack": "^4.43.0", "webpack-cli": "^3.3.12" }, "dependencies": { "node-html-parser": "^1.2.19" }, "repository": { "type": "git", "url": "git+https://github.com/Dellos7/estimated-reading-time.git" }, "author": "David López Castellote", "license": "ISC", "bugs": { "url": "https://github.com/Dellos7/estimated-reading-time/issues" }, "homepage": "https://github.com/Dellos7/estimated-reading-time#readme", "keywords": [ "estimate time", "reading time", "estimate reading time", "estimated reading time", "reading-time", "word count", "words per minute" ] }