-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
63 lines (63 loc) · 1.67 KB
/
package.json
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
{
"name": "@yaireo/relative-time",
"version": "1.0.5",
"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",
"engines": {
"node": ">=12.0.0"
},
"browserslist": [
">1%",
"not dead",
"not ie < 11",
"not IE_Mob 11",
"not op_mini all"
],
"np": {
"yarn": false,
"yolo": true
},
"scripts": {
"start": "npm run build",
"build": "terser relative-time.js --compress --mangle --output relative-time.min.js",
"clean": "rm -rf dist && npm run makedir",
"makedir": "mkdirp dist",
"header": "headr relative-time.min.js -o=relative-time.min.js --version --homepage",
"version": "npm run build && npm run header && git add .",
"prepublishOnly": "pkg-ok"
},
"author": {
"name": "Yair Even-Or",
"email": "[email protected]"
},
"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"
],
"devDependencies": {
"headr": "^0.0.4",
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2",
"terser": "^5.6.1"
}
}