-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
41 lines (41 loc) · 1.62 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
{
"name": "@elastic.io/jsonata-moment",
"version": "1.1.6",
"description": "Moment support for JSONata",
"main": "dist/jsonata-moment.js",
"repository": {
"type": "git",
"url": "https://github.com/elasticio/jsonata-moment.git"
},
"scripts": {
"audit": "better-npm-audit audit --level high --production",
"test": "npm run build && mocha spec --recursive",
"prepublishOnly": "npm run build",
"build": "npm run clean && mkdir -p dist && npm run build:normal && npm run build:es5",
"build:normal": "npm run browserify && npm run minify",
"build:es5": "npm run babel && npm run browserify:es5 && npm run minify:es5",
"babel": "babel --out-file dist/jsonata-moment-es5.js dist/jsonata-moment.js",
"browserify": "browserify src/jsonata-moment.js --im --outfile dist/jsonata-moment.js --standalone jsonataMoment",
"browserify:es5": "browserify dist/jsonata-moment-es5.js --im --outfile dist/jsonata-moment-es5.js --standalone jsonataMoment",
"minify": "uglifyjs dist/jsonata-moment.js -o dist/jsonata-moment.min.js --compress --mangle",
"minify:es5": "uglifyjs dist/jsonata-moment-es5.js -o dist/jsonata-moment-es5.min.js --compress --mangle",
"clean": "rm -rf dist"
},
"author": "Elastic.io GmbH",
"license": "ISC",
"devDependencies": {
"babel-cli": "6.26.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.6.1",
"babel-runtime": "6.26.0",
"browserify": "16.1.0",
"chai": "4.1.2",
"mocha": "3.5.3",
"moment": "2.24.0",
"uglify-es": "3.3.10",
"better-npm-audit": "3.7.3"
},
"dependencies": {
"jsonata": "1.8.7"
}
}