2020-08-25 23:57:08 +00:00
|
|
|
{
|
|
|
|
"name": "eslint-plugin-jest",
|
2021-02-26 03:58:33 +00:00
|
|
|
"version": "24.1.5",
|
2020-08-25 23:57:08 +00:00
|
|
|
"description": "Eslint rules for Jest",
|
|
|
|
"keywords": [
|
|
|
|
"eslint",
|
|
|
|
"eslintplugin",
|
|
|
|
"eslint-plugin"
|
|
|
|
],
|
|
|
|
"repository": "jest-community/eslint-plugin-jest",
|
|
|
|
"license": "MIT",
|
|
|
|
"author": {
|
|
|
|
"name": "Jonathan Kim",
|
|
|
|
"email": "hello@jkimbo.com",
|
|
|
|
"url": "jkimbo.com"
|
|
|
|
},
|
|
|
|
"main": "lib/",
|
|
|
|
"files": [
|
|
|
|
"docs/",
|
|
|
|
"lib/"
|
|
|
|
],
|
|
|
|
"scripts": {
|
2021-02-26 03:58:33 +00:00
|
|
|
"build": "babel --extensions .js,.ts src --out-dir lib --copy-files && rimraf lib/__tests__ 'lib/**/__tests__'",
|
2020-08-25 23:57:08 +00:00
|
|
|
"lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
|
2021-02-26 03:58:33 +00:00
|
|
|
"prepack": "rimraf lib && yarn build",
|
|
|
|
"prettier:check": "prettier --check 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
|
|
|
"prettier:write": "prettier --write 'docs/**/*.md' README.md '.github/**' package.json tsconfig.json src/globals.json .yarnrc.yml",
|
2020-08-25 23:57:08 +00:00
|
|
|
"test": "jest",
|
|
|
|
"tools:regenerate-docs": "ts-node -T tools/regenerate-docs",
|
|
|
|
"typecheck": "tsc -p ."
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged",
|
|
|
|
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"commitlint": {
|
|
|
|
"extends": [
|
|
|
|
"@commitlint/config-conventional"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2021-02-26 03:58:33 +00:00
|
|
|
"*.{js,ts}": "eslint --fix",
|
|
|
|
"*.{md,json,yml}": "prettier --write"
|
2020-08-25 23:57:08 +00:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"arrowParens": "avoid",
|
|
|
|
"endOfLine": "auto",
|
|
|
|
"proseWrap": "always",
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"coverageThreshold": {
|
|
|
|
"global": {
|
|
|
|
"branches": 100,
|
|
|
|
"functions": 100,
|
|
|
|
"lines": 100,
|
|
|
|
"statements": 100
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"projects": [
|
|
|
|
{
|
|
|
|
"displayName": "test",
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"<rootDir>/lib/.*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayName": "lint",
|
|
|
|
"runner": "jest-runner-eslint",
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/**/*.{js,ts}"
|
|
|
|
],
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"<rootDir>/lib/.*"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-02-26 03:58:33 +00:00
|
|
|
"@typescript-eslint/experimental-utils": "^4.0.1"
|
2020-08-25 23:57:08 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/cli": "^7.4.4",
|
|
|
|
"@babel/core": "^7.4.4",
|
|
|
|
"@babel/preset-env": "^7.4.4",
|
|
|
|
"@babel/preset-typescript": "^7.3.3",
|
2021-02-26 03:58:33 +00:00
|
|
|
"@commitlint/cli": "^11.0.0",
|
|
|
|
"@commitlint/config-conventional": "^11.0.0",
|
2020-08-25 23:57:08 +00:00
|
|
|
"@schemastore/package": "^0.0.6",
|
2021-02-26 03:58:33 +00:00
|
|
|
"@semantic-release/changelog": "^5.0.1",
|
|
|
|
"@semantic-release/git": "^9.0.0",
|
2020-08-25 23:57:08 +00:00
|
|
|
"@types/dedent": "^0.7.0",
|
2021-02-26 03:58:33 +00:00
|
|
|
"@types/jest": "^26.0.0",
|
|
|
|
"@types/node": "^14.0.0",
|
|
|
|
"@types/prettier": "^2.0.0",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.0.1",
|
|
|
|
"@typescript-eslint/parser": "^4.0.1",
|
|
|
|
"babel-jest": "^26.0.1",
|
2020-08-25 23:57:08 +00:00
|
|
|
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
|
|
|
"dedent": "^0.7.0",
|
2021-02-26 03:58:33 +00:00
|
|
|
"eslint": "^5.1.0 || ^6.0.0 || ^7.0.0",
|
2020-08-25 23:57:08 +00:00
|
|
|
"eslint-config-prettier": "^6.5.0",
|
|
|
|
"eslint-plugin-eslint-comments": "^3.1.2",
|
2021-02-26 03:58:33 +00:00
|
|
|
"eslint-plugin-eslint-config": "^2.0.0",
|
2020-08-25 23:57:08 +00:00
|
|
|
"eslint-plugin-eslint-plugin": "^2.0.0",
|
|
|
|
"eslint-plugin-import": "^2.20.2",
|
|
|
|
"eslint-plugin-node": "^11.0.0",
|
|
|
|
"eslint-plugin-prettier": "^3.0.0",
|
2021-02-26 03:58:33 +00:00
|
|
|
"husky": "^4.2.5",
|
|
|
|
"jest": "^26.0.1",
|
2020-08-25 23:57:08 +00:00
|
|
|
"jest-runner-eslint": "^0.10.0",
|
2021-02-26 03:58:33 +00:00
|
|
|
"lint-staged": "^10.2.2",
|
|
|
|
"prettier": "^2.0.5",
|
2020-08-25 23:57:08 +00:00
|
|
|
"resolve-from": "^5.0.0",
|
|
|
|
"rimraf": "^3.0.0",
|
2021-02-26 03:58:33 +00:00
|
|
|
"semantic-release": "^17.0.7",
|
|
|
|
"ts-node": "^9.0.0",
|
|
|
|
"typescript": "^4.0.0"
|
2020-08-25 23:57:08 +00:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"eslint": ">=5"
|
|
|
|
},
|
|
|
|
"engines": {
|
2021-02-26 03:58:33 +00:00
|
|
|
"node": ">=10"
|
2020-08-25 23:57:08 +00:00
|
|
|
},
|
|
|
|
"release": {
|
|
|
|
"plugins": [
|
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
"@semantic-release/release-notes-generator",
|
|
|
|
"@semantic-release/changelog",
|
|
|
|
"@semantic-release/npm",
|
|
|
|
"@semantic-release/git",
|
|
|
|
"@semantic-release/github"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|