UNPKG

1.73 kBJSONView Raw
1{
2 "name": "eslint-plugin-promise",
3 "version": "4.2.1",
4 "description": "Enforce best practices for JavaScript promises",
5 "keywords": [
6 "eslint",
7 "eslintplugin",
8 "eslint-plugin",
9 "promise",
10 "promises"
11 ],
12 "author": "jden <jason@denizac.org>",
13 "repository": "git@github.com:xjamundx/eslint-plugin-promise.git",
14 "scripts": {
15 "precommit": "lint-staged",
16 "test": "jest",
17 "lint": "eslint rules __tests__ index.js"
18 },
19 "devDependencies": {
20 "doctoc": "^1.3.0",
21 "eslint": "^5.16.0",
22 "eslint-config-prettier": "^3.0.1",
23 "eslint-plugin-eslint-plugin": "^1.4.0",
24 "eslint-plugin-jest": "^21.21.0",
25 "eslint-plugin-node": "^7.0.1",
26 "eslint-plugin-prettier": "^2.6.2",
27 "husky": "^0.14.3",
28 "jest": "^24.5.0",
29 "jest-runner-eslint": "^0.7.3",
30 "lint-staged": "^7.2.2",
31 "prettier": "^1.14.2"
32 },
33 "engines": {
34 "node": ">=6"
35 },
36 "license": "ISC",
37 "lint-staged": {
38 "concurrent": false,
39 "linters": {
40 "{README.md,CONTRIBUTING.md}": [
41 "doctoc --maxlevel 3 --notitle",
42 "git add"
43 ],
44 "*.js": [
45 "prettier --write",
46 "eslint --fix",
47 "git add"
48 ],
49 "*.+(json|md)": [
50 "prettier --write",
51 "git add"
52 ]
53 }
54 },
55 "prettier": {
56 "semi": false,
57 "singleQuote": true,
58 "proseWrap": "always"
59 },
60 "jest": {
61 "projects": [
62 {
63 "displayName": "test",
64 "testEnvironment": "node"
65 },
66 {
67 "runner": "jest-runner-eslint",
68 "displayName": "lint",
69 "testMatch": [
70 "<rootDir>/rules/**/*.js",
71 "<rootDir>/__tests__/**/*.js",
72 "<rootDir>/index.js"
73 ]
74 }
75 ]
76 }
77}