-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
47 lines (47 loc) · 1.27 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": "moment.distance",
"version": "1.2.0",
"description": "A 'distance of time in words' plugin for moment.js inspired by Ruby on Rails.",
"keywords": [
"moment",
"duration",
"date",
"time",
"distance",
"humanize"
],
"main": "./dist/moment.distance.js",
"scripts": {
"prebuild": "rm -rf dist && mkdir dist",
"build": "./node_modules/.bin/babel lib --out-file dist/moment.distance.js",
"postbuild": "./node_modules/.bin/uglifyjs --compress --mangle -- dist/moment.distance.js > dist/moment.distance.min.js",
"test": "mocha --require babel-core/register"
},
"author": "Sokratis Vidros <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/SokratisVidros/moment.distance.js.git"
},
"bugs": {
"url": "https://github.com/SokratisVidros/moment.distance.js/issues"
},
"peerDependencies": {
"moment": ">=2.8.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "3.5.0",
"mocha": "^7.0.0",
"moment": ">=2.8.0",
"uglify-js": "2.6.2"
},
"browserify": {
"transform": [
"babelify"
]
}
}