jsonata-extended
Version:
Extended JSONata object with custom functions
92 lines (91 loc) • 2.49 kB
JSON
{
"name": "jsonata-extended",
"version": "0.4.2",
"description": "Extended JSONata object with custom functions",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/martinholden-skillsoft/jsonata-extended.git"
},
"main": "src/index.js",
"directories": {
"doc": "./doc"
},
"scripts": {
"lint": "eslint src/**/*.js",
"mocha": "mocha",
"predoc": "npm run clean-doc",
"doc": "jsdoc --readme README.md --configure jsdoc.json .",
"pretest": "npm run lint",
"test": "npm run mocha",
"posttest": "npm run build",
"preversion": "npm run test",
"postversion": "git push && git push --tags && npm run changelog && git push ",
"changelog": "rimraf CHANGELOG.md && auto-changelog --template keepachangelog && git add . && git commit . -m changelog && git push",
"coverage": "c8 npm run mocha",
"browserify": "browserify src/index.js --outfile dist/jsonata-extended.js --standalone jsonata-extended",
"minify": "uglifyjs dist/jsonata-extended.js -o dist/jsonata-extended.min.js --compress --mangle",
"clean-dist": "rimraf ./dist && mkdirp ./dist",
"clean-doc": "rimraf ./doc && mkdirp ./doc",
"prebuild": "npm run clean-dist",
"build": "npm run browserify && npm run minify",
"postbuild": "npm run doc"
},
"keywords": [
"JSONata"
],
"author": {
"name": "Martin Holden",
"email": "martin.holden@skillsoft.com"
},
"license": "MIT",
"dependencies": {
"countries-list": "^2.6.1",
"fold-to-ascii": "^5.0.0",
"html-to-text": "^8.2.0",
"jsonata": "^1.8.6",
"lodash": "^4.17.21",
"moment": "^2.29.3",
"mustache": "^4.2.0",
"rfc5646": "^3.0.0",
"url-parse": "^1.5.10",
"uuid-encoder": "^1.2.0",
"uuid-validate": "0.0.3"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.2",
"auto-changelog": "^2.4.0",
"browserify": "^17.0.0",
"browserify-shim": "^3.8.14",
"c8": "^7.11.3",
"chai": "^4.3.6",
"coveralls": "^3.1.1",
"docdash": "^1.2.0",
"eslint": "^8.8.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^4.0.0",
"jsdoc": "^3.6.10",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"uglify-es": "^3.3.9"
},
"browserify": {
"transform": [
"browserify-shim"
]
},
"browser": {
"jsonata": "./node_modules/jsonata/jsonata.js"
},
"browserify-shim": {
"jsonata": "global:jsonata"
},
"mocha": {
"spec": [
"test/**/*.js"
]
}
}