-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.35 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "readtimecounter",
"version": "3.3.5",
"description": "Read Time Counter JS is a robust, highly configurable library that estimates reading time for English, CJK (Chinese, Korean, Japanese), and Latin-based languages by analyzing words, characters, and images.",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./browser": "./readtime.js"
},
"files": [
"dist",
"readtime.js"
],
"scripts": {
"dev": "vite build --watch",
"build": "npm run build:browser && npm run build:lib && npm run build:types",
"build:browser": "vite build && node scripts/add-banner.mjs",
"build:lib": "vite build --mode lib",
"build:types": "tsc",
"test": "vitest run",
"test:watch": "vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SPACESODA/readtimecounter.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"type": "commonjs",
"bugs": {
"url": "https://github.com/SPACESODA/readtimecounter/issues"
},
"homepage": "https://github.com/SPACESODA/readtimecounter#readme",
"devDependencies": {
"prettier": "^3.7.4",
"typescript": "^5.9.3",
"vite": "^7.3.0",
"vitest": "^4.0.16"
}
}