-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.68 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
{
"name": "@yaireo/relative-time",
"version": "1.1.0",
"homepage": "https://github.com/yairEO/relative-time",
"description": "javascript function to transform timestamp or date to local relative-time",
"keywords": [
"relative time",
"date",
"timestamp",
"javascript",
"js",
"local",
"locale"
],
"license": "MIT",
"packageManager": "pnpm@10.14.0",
"browserslist": [
">1%",
"not dead",
"not ie < 11",
"not IE_Mob 11",
"not op_mini all"
],
"np": {
"cleanup": false
},
"scripts": {
"start": "pnpm build",
"build": "terser relative-time.js --compress --mangle --output relative-time.min.js",
"test": "node --test relative-time.test.js",
"clean": "rm -rf dist && pnpm makedir",
"makedir": "mkdirp dist",
"header": "headr relative-time.min.js -o=relative-time.min.js --version --author --homepage",
"version": "pnpm build && pnpm header && git add .",
"prepublishOnly": "pkg-ok"
},
"author": "Yair Even-Or <vsync.design@gmail.com>",
"main": "./relative-time.min.js",
"types": "./relative-time.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/yairEO/relative-time.git"
},
"bugs": {
"url": "https://github.com/yaireo/relative-time/issues"
},
"files": [
"relative-time.js",
"relative-time.min.js",
"relative-time.d.ts",
"relative-time.test.js"
],
"devDependencies": {
"headr": "^0.0.4",
"mkdirp": "^3.0.1",
"rimraf": "^6.0.1",
"terser": "^5.43.1"
}
}