-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·85 lines (85 loc) · 1.99 KB
/
package.json
File metadata and controls
executable file
·85 lines (85 loc) · 1.99 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "@date-js/dom-timeago",
"version": "0.0.0-version",
"description": "Lightweight relative-time library for the DOM — live auto-refresh with smart per-rule intervals and full customization.",
"main": "dist/dom-timeago.umd.js",
"module": "dist/dom-timeago.esm.js",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/dom-timeago.esm.js",
"require": "./dist/dom-timeago.umd.js"
}
},
"scripts": {
"prepublishOnly": "webpack --mode production",
"eslint": "eslint ./src",
"eslint-fix": "eslint ./src --fix",
"watch": "webpack --watch",
"build": "webpack",
"start:dev": "webpack serve --mode development",
"test": "jest",
"test:watch": "jest --watch"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/tests/**/*.test.ts"
],
"setupFiles": [
"./tests/jest.setup.ts"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/date-js/dom-timeago.git"
},
"keywords": [
"ago",
"relative",
"time-ago",
"time",
"relative-time",
"relative-date",
"human-readable",
"live",
"auto-refresh",
"real-time",
"timestamp",
"dom",
"vanilla",
"lightweight",
"tiny",
"browser",
"date",
"spa"
],
"files": [
"dist"
],
"typings": "dist/types/index.d.ts",
"author": "Adrien Peyre",
"license": "MIT",
"bugs": {
"url": "https://github.com/date-js/dom-timeago/issues"
},
"homepage": "https://github.com/date-js/dom-timeago#readme",
"devDependencies": {
"@types/jest": "^30.0.0",
"eslint": "^9.0.0",
"globals": "^15.0.0",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"ts-jest": "^29.4.9",
"ts-loader": "^9.2.3",
"typescript": "^5.8.0",
"typescript-eslint": "^8.0.0",
"webpack": "^5.41.0",
"webpack-cli": "^7.0.0",
"webpack-dev-server": "^5.0.0"
},
"dependencies": {
"@date-js/date-formatter": "^2.0.1"
}
}