mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
127 lines
3.0 KiB
JSON
127 lines
3.0 KiB
JSON
{
|
|
"name": "eslint-plugin-jest",
|
|
"version": "22.21.0",
|
|
"description": "Eslint rules for Jest",
|
|
"repository": "jest-community/eslint-plugin-jest",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"eslint",
|
|
"eslintplugin",
|
|
"eslint-plugin"
|
|
],
|
|
"author": {
|
|
"name": "Jonathan Kim",
|
|
"email": "hello@jkimbo.com",
|
|
"url": "jkimbo.com"
|
|
},
|
|
"files": [
|
|
"docs/",
|
|
"lib/"
|
|
],
|
|
"main": "lib/",
|
|
"engines": {
|
|
"node": ">=6"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": ">=5"
|
|
},
|
|
"scripts": {
|
|
"prepare": "yarn build && yarn postbuild",
|
|
"lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
|
|
"prettylint": "prettylint docs/**/*.md README.md package.json",
|
|
"prepublishOnly": "yarn build",
|
|
"pretest": "yarn build",
|
|
"test": "jest",
|
|
"build": "babel --extensions .js,.ts src --out-dir lib --copy-files",
|
|
"postbuild": "rimraf lib/**/__tests__/**",
|
|
"typecheck": "tsc -p ."
|
|
},
|
|
"dependencies": {
|
|
"@typescript-eslint/experimental-utils": "^1.13.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.4.4",
|
|
"@babel/core": "^7.4.4",
|
|
"@babel/preset-env": "^7.4.4",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@commitlint/cli": "^6.0.0",
|
|
"@commitlint/config-conventional": "^6.0.0",
|
|
"@types/eslint": "^4.16.6",
|
|
"@types/jest": "^24.0.15",
|
|
"@types/node": "^12.6.6",
|
|
"@typescript-eslint/eslint-plugin": "^1.13.0",
|
|
"@typescript-eslint/parser": "^1.13.0",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
|
"eslint": "^5.1.0",
|
|
"eslint-config-prettier": "^5.1.0",
|
|
"eslint-plugin-eslint-plugin": "^2.0.0",
|
|
"eslint-plugin-import": "^2.18.0",
|
|
"eslint-plugin-node": "^8.0.0",
|
|
"eslint-plugin-prettier": "^3.0.0",
|
|
"husky": "^1.0.1",
|
|
"jest": "^24.9.0",
|
|
"jest-runner-eslint": "^0.7.1",
|
|
"lint-staged": "^8.0.4",
|
|
"prettier": "^1.10.2",
|
|
"prettylint": "^1.0.0",
|
|
"rimraf": "^3.0.0",
|
|
"typescript": "^3.5.3"
|
|
},
|
|
"prettier": {
|
|
"proseWrap": "always",
|
|
"singleQuote": true,
|
|
"trailingComma": "all"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"eslint --fix",
|
|
"git add"
|
|
],
|
|
"*.{md,json}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"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/.*"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS",
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
}
|
|
}
|