forked from hustcc/timeago.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.38 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "timeago.js",
"officialName": "timeago.js",
"version": "4.0.0",
"summary": "timeago.js is a simple library (less than 2kb) to used to format datetime with `*** time ago` statement. eg: '3 hours ago'.",
"description": "timeago.js is a simple library (only 2kb) to used to format datetime with `*** time ago` statement. eg: '3 hours ago'. localization supported.",
"main": "lib/index.js",
"scripts": {
"test": "NODE_ENV=babel jest && npm run size",
"size": "size-limit",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"build:umd": "rimraf ./dist && cross-env NODE_ENV=rollup rollup -c && cross-env NODE_ENV=rollup rollup -c rollup.config.locales.js",
"build:lib": "rimraf ./lib && cross-env NODE_ENV=babel babel src -d lib",
"build": "npm run build:umd && npm run build:lib && npm run test"
},
"typings": "./timeago.d.ts",
"author": {
"name": "hustcc",
"url": "http://git.hust.cc/timeago.js"
},
"license": "MIT",
"keywords": [
"timeago",
"datetime",
"*** time ago",
"date",
"javascript timeago"
],
"repository": {
"type": "git",
"url": "https://github.com/hustcc/timeago.js"
},
"bugs": {
"url": "https://github.com/hustcc/timeago.js/issues"
},
"dependencies": {
"@types/jquery": "^2.0.40",
"rollup-plugin-node-resolve": "^3.3.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-jest": "^22.4.3",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.1",
"coveralls": "^3.0.0",
"cross-env": "^5.1.3",
"jest": "^21.2.1",
"jest-expect": "^0.0.1",
"jsdom": "^11.5.1",
"mitt": "^1.1.3",
"rimraf": "^2.6.2",
"rollup": "^0.58.1",
"rollup-plugin-babel": "^3.0.4",
"rollup-plugin-uglify": "^3.0.0",
"size-limit": "^0.18.0"
},
"size-limit": [{
"limit": "2 KB",
"path": "dist/timeago.min.js"
}],
"jest": {
"setupFiles": [],
"setupTestFrameworkScriptFile": "jest-expect",
"testRegex": "(/__tests__/.*(test|spec))\\.(js)$",
"moduleFileExtensions": [
"js",
"json"
],
"transform": {
"^.+\\.js?$": "babel-jest"
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js}",
"!**/node_modules/**",
"!**/vendor/**"
],
"moduleDirectories": [
"node_modules",
"src"
]
}
}