1 | {
|
2 | "name": "eslint-plugin-shopify",
|
3 | "version": "24.0.0",
|
4 | "description": "Shopify’s ESLint rules and configs.",
|
5 | "keywords": [
|
6 | "eslint",
|
7 | "eslintconfig",
|
8 | "eslintplugin",
|
9 | "eslint-config",
|
10 | "eslint-plugin"
|
11 | ],
|
12 | "author": "Chris Sauve <chris.sauve@shopify.com>",
|
13 | "engines": {
|
14 | "node": ">=8.10.0"
|
15 | },
|
16 | "publishConfig": {
|
17 | "access": "public"
|
18 | },
|
19 | "scripts": {
|
20 | "check": "yarn run lint && yarn test",
|
21 | "rules-status": "eslint-index lib/config/all.js --format table",
|
22 | "rules-omitted": "eslint-index lib/config/all.js --status omitted",
|
23 | "lint": "eslint . --max-warnings 0 --format codeframe",
|
24 | "prettier": "eslint --format codeframe . --fix",
|
25 | "prettier-check": "eslint --print-config ./lib/config/prettier.js | eslint-config-prettier-check",
|
26 | "test": "NODE_PATH=$NODE_PATH:./transforms:./tests mocha 'tests/**/*.js' --reporter spec --require babel-core/register",
|
27 | "test:watch": "yarn test -- --watch --reporter min",
|
28 | "test:cover": "babel-node node_modules/.bin/isparta cover --report text --report html _mocha -- --reporter spec --recursive tests/"
|
29 | },
|
30 | "license": "MIT",
|
31 | "babel": {
|
32 | "presets": [
|
33 | "shopify"
|
34 | ]
|
35 | },
|
36 | "bugs": {
|
37 | "url": "https://github.com/Shopify/eslint-plugin-shopify/issues"
|
38 | },
|
39 | "homepage": "https://github.com/Shopify/eslint-plugin-shopify",
|
40 | "repository": "https://github.com/Shopify/eslint-plugin-shopify",
|
41 | "eslintConfig": {
|
42 | "extends": [
|
43 | "plugin:shopify/es5",
|
44 | "plugin:shopify/node",
|
45 | "plugin:shopify/esnext",
|
46 | "plugin:shopify/prettier"
|
47 | ],
|
48 | "rules": {
|
49 | "prettier/prettier": [
|
50 | "error",
|
51 | {
|
52 | "singleQuote": true,
|
53 | "trailingComma": "all",
|
54 | "bracketSpacing": false,
|
55 | "jsxBracketSameLine": false,
|
56 | "arrowParens": "always"
|
57 | }
|
58 | ]
|
59 | }
|
60 | },
|
61 | "devDependencies": {
|
62 | "babel-cli": "^6.26.0",
|
63 | "babel-core": "^6.26.3",
|
64 | "babel-preset-shopify": "^16.5.0",
|
65 | "eslint": "^5.4.0",
|
66 | "eslint-index": "^1.4.0",
|
67 | "eslint-plugin-shopify": "file:./.",
|
68 | "isparta": "^4.0.0",
|
69 | "istanbul": "^0.4.5",
|
70 | "mocha": "^5.1.1",
|
71 | "prettier": "^1.12.1",
|
72 | "react": "^16.3.2",
|
73 | "react-dom": "^16.3.2",
|
74 | "typescript": "^3.0.1"
|
75 | },
|
76 | "peerDependencies": {
|
77 | "eslint": "<6 >5.0.0",
|
78 | "prettier": "^1.12.1"
|
79 | },
|
80 | "dependencies": {
|
81 | "babel-eslint": "9.0.0",
|
82 | "eslint-config-prettier": "3.0.1",
|
83 | "eslint-module-utils": "2.1.1",
|
84 | "eslint-plugin-ava": "5.1.0",
|
85 | "eslint-plugin-babel": "5.1.0",
|
86 | "eslint-plugin-chai-expect": "1.1.1",
|
87 | "eslint-plugin-flowtype": "2.41.0",
|
88 | "eslint-plugin-import": "2.14.0",
|
89 | "eslint-plugin-jest": "21.22.0",
|
90 | "eslint-plugin-jsx-a11y": "6.1.1",
|
91 | "eslint-plugin-lodash": "2.6.1",
|
92 | "eslint-plugin-mocha": "5.2.0",
|
93 | "eslint-plugin-node": "7.0.1",
|
94 | "eslint-plugin-prettier": "2.6.0",
|
95 | "eslint-plugin-promise": "4.0.0",
|
96 | "eslint-plugin-react": "7.11.1",
|
97 | "eslint-plugin-sort-class-members": "1.3.1",
|
98 | "eslint-plugin-typescript": "0.12.0",
|
99 | "merge": "1.2.0",
|
100 | "pascal-case": "^2.0.1",
|
101 | "pkg-dir": "2.0.0",
|
102 | "pluralize": "^7.0.0",
|
103 | "typescript-eslint-parser": "18.0.0"
|
104 | }
|
105 | }
|