UNPKG

elastic-builder

Version:

A JavaScript implementation of the elasticsearch Query DSL

105 lines (104 loc) 3.03 kB
{ "name": "elastic-builder", "version": "2.16.0", "description": "A JavaScript implementation of the elasticsearch Query DSL", "main": "lib/index.js", "files": [ "lib/", "src/", "repl.js", "index.d.ts" ], "types": "./src/index.d.ts", "scripts": { "build:babel": "cross-env BABEL_ENV=production babel src --out-dir lib", "build:umd": "webpack lib --output browser/elastic-builder.min.js --mode production", "build:docs": "documentation build src/index.js --github -o docs -f html -c ./docs/documentation.yml", "build": "npm run build:babel && npm run build:umd && npm run build:docs", "lint": "eslint src test", "lint:fix": "npm run lint -- --fix", "precommit": "lint-staged", "test:src": "cross-env NODE_ENV=test nyc --cache ava test --concurrency 3", "test:typedef": "tsc --noEmit ./test/typedef.test.ts", "test": "npm run test:src && npm run test:typedef", "check": "npm run lint && npm test", "report": "nyc report --reporter=html", "coverage": "nyc report --reporter=text-lcov | coveralls", "print-version": "cross-env-shell echo v$npm_package_version", "prepublishOnly": "npm run -s build", "postpublish": "bash deploy-docs.sh" }, "license": "MIT", "dependencies": { "babel-runtime": "^6.26.0", "lodash.has": "^4.5.2", "lodash.hasin": "^4.5.2", "lodash.head": "^4.0.1", "lodash.isempty": "^4.4.0", "lodash.isnil": "^4.0.0", "lodash.isobject": "^3.0.2", "lodash.isstring": "^4.0.1", "lodash.omit": "^4.5.0" }, "devDependencies": { "ava": "^0.25.0", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "babel-eslint": "^8.2.6", "babel-loader": "^7.1.5", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.7.0", "coveralls": "^3.0.2", "cross-env": "^5.2.0", "documentation": "^8.0.0", "eslint": "^5.1.0", "eslint-config-chatur": "^3.0.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-ava": "^4.5.1", "eslint-plugin-prettier": "^2.6.2", "husky": "^0.14.3", "lint-staged": "^7.2.0", "lodash": "^4.17.10", "nyc": "^12.0.2", "prettier": "^1.13.7", "sinon": "^6.1.3", "typescript": "^2.9.2", "uglifyjs-webpack-plugin": "^1.2.7", "webpack": "^4.16.0", "webpack-cli": "^3.0.8" }, "lint-staged": { "src/**/*.js": [ "eslint --fix", "git add" ], "test/**/*.js": [ "eslint --fix", "git add" ] }, "homepage": "https://elastic-builder.js.org", "repository": { "type": "git", "url": "https://github.com/sudo-suhas/elastic-builder.git" }, "bugs": { "url": "https://github.com/sudo-suhas/elastic-builder/issues" }, "keywords": [ "elasticsearch", "elastic-builder", "querying", "queries", "query", "elastic", "search", "elasticjs", "ejs", "dsl" ], "author": "Suhas Karanth <sudo.suhas@gmail.com>", "contributors": [ "austin ce <austin.cawley@gmail.com>" ] }