Socket
Socket
Sign inDemoInstall

@shelf/jest-elasticsearch

Package Overview
Dependencies
107
Maintainers
54
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.1.0

lib/index.d.ts

7

jest-preset.js

@@ -1,6 +0,3 @@

const {resolve} = require('path');
const preset = require('./lib');
module.exports = {
globalSetup: resolve(__dirname, './setup.js'),
globalTeardown: resolve(__dirname, './teardown.js')
};
module.exports = preset;
{
"name": "@shelf/jest-elasticsearch",
"version": "4.0.0",
"version": "4.1.0",
"description": "Run your tests using jest & elasticsearch-local",

@@ -23,21 +23,26 @@ "keywords": [

"jest-preset.js",
"setup.js",
"teardown.js"
"lib/"
],
"scripts": {
"build": "rm -rf lib/ && yarn build:types && babel src --out-dir lib --ignore '**/*.test.ts' --extensions '.ts'",
"build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib",
"coverage": "jest --coverage",
"lint": "eslint . --ext .js,.json --fix",
"lint:ci": "eslint . --ext .js,.json --quiet",
"test": "jest src"
"lint": "eslint . --ext .js,.ts,.json --fix",
"lint:ci": "eslint . --ext .js,.ts,.json",
"prepack": "yarn build",
"test": "export ENVIRONMENT=local && jest tests",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
"*.{ts,js,}": [
"eslint --fix"
],
"*.{html,json,md,yml}": [
"prettier --write",
"git add"
"prettier --write"
]
},
"babel": {
"extends": "@shelf/babel-config/backend"
},
"prettier": "@shelf/prettier-config",

@@ -52,5 +57,12 @@ "jest": {

"devDependencies": {
"@babel/cli": "7.18.9",
"@babel/core": "7.18.9",
"@elastic/elasticsearch": "7.15.0",
"@shelf/babel-config": "1.2.0",
"@shelf/eslint-config": "0.19.0",
"@shelf/prettier-config": "0.0.7",
"@shelf/tsconfig": "0.0.8",
"@types/cwd": "^0.10.0",
"@types/jest": "28.1.3",
"@types/node": "16",
"eslint": "7.26.0",

@@ -60,3 +72,4 @@ "husky": "7.0.4",

"lint-staged": "12.1.2",
"prettier": "2.3.0"
"prettier": "2.3.0",
"typescript": "4.7.4"
},

@@ -63,0 +76,0 @@ "engines": {

@@ -126,5 +126,12 @@ # jest-elasticsearch

```
### Create and publish a GitHub release with your tag
1. Go to repository
2. Select `Releases`
3. Select `Draft a new release`
4. Choose a tag, fill title and describe changes
5. Press a `Publish release`
## License
MIT © [Shelf](https://shelf.io)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc