-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
47 lines (47 loc) · 1.23 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
{
"name": "epoch-timeago",
"version": "1.1.9",
"author": "Simon Laroche <hi@simon.lc> (https://simon.lc)",
"license": "MIT",
"description": "Convert Unix time to a relative time string e.g., \"4 hours ago\".",
"repository": "simonlc/epoch-timeago",
"ava": {
"require": [
"esm"
]
},
"keywords": [
"timeago",
"time",
"ago",
"epoch",
"unix",
"date",
"relative",
"timestamp",
"milliseconds",
"moment",
"microformat"
],
"main": "lib/index.js",
"browser": "dist/index.js",
"module": "es/index.js",
"scripts": {
"build": "yarn build:es && yarn build:commonjs && yarn build:dist",
"build:es": "BABEL_ENV=es babel src/index.js --out-file es/index.js",
"build:commonjs": "BABEL_ENV=commonjs babel src/index.js --out-file lib/index.js",
"build:dist": "BABEL_ENV=umd babel src/index.js --out-file dist/index.js",
"test": "yarn build && nyc ava -v",
"coverage": "yarn build && nyc report --reporter=text-lcov | coveralls"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@babel/preset-env": "7.2.3",
"ava": "1.1.0",
"babel-minify": "0.5.0",
"coveralls": "3.0.2",
"esm": "3.0.84",
"nyc": "13.1.0"
}
}