@shelf/jest-elasticsearch
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -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) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
8061
13
45
137
16