1 | {
|
2 | "name": "eslint-config-preact",
|
3 | "version": "1.1.0",
|
4 | "description": "Unopinionated base ESLint configuration for Preact and Preact CLI projects.",
|
5 | "keywords": [
|
6 | "eslint",
|
7 | "eslint-config"
|
8 | ],
|
9 | "repository": "preactjs/eslint-config-preact",
|
10 | "license": "MIT",
|
11 | "author": "The Preact Authors (https://preactjs.com)",
|
12 | "main": "dist/eslint-config-preact.js",
|
13 | "module": "dist/eslint-config-preact.module.js",
|
14 | "exports": {
|
15 | ".": {
|
16 | "import": "dist/eslint-config-preact.module.js",
|
17 | "require": "dist/eslint-config-preact.js"
|
18 | }
|
19 | },
|
20 | "files": [
|
21 | "dist"
|
22 | ],
|
23 | "scripts": {
|
24 | "test": "eslint index.js && npm run -s build && jest",
|
25 | "build": "microbundle -f es,cjs --target node --no-sourcemap index.js",
|
26 | "prepare": "npm run -s build && npm test",
|
27 | "release": "npm run build && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
|
28 | },
|
29 | "eslintConfig": {
|
30 | "extends": "eslint:recommended",
|
31 | "parserOptions": {
|
32 | "ecmaVersion": 2020,
|
33 | "sourceType": "module"
|
34 | },
|
35 | "env": {
|
36 | "node": true,
|
37 | "jest": true
|
38 | },
|
39 | "rules": {
|
40 | "no-empty": 0
|
41 | },
|
42 | "ignorePatterns": [
|
43 | "test/fixtures/**",
|
44 | "test/__snapshots__/**"
|
45 | ]
|
46 | },
|
47 | "dependencies": {
|
48 | "babel-eslint": "^10.0.1",
|
49 | "eslint-plugin-compat": "^3.5.1",
|
50 | "eslint-plugin-jest": "^23.7.0",
|
51 | "eslint-plugin-react": "^7.0.0",
|
52 | "eslint-plugin-react-hooks": "^2.4.0"
|
53 | },
|
54 | "devDependencies": {
|
55 | "@types/jest": "^25.1.2",
|
56 | "eslint": "^6.8.0",
|
57 | "jest": "^25.1.0",
|
58 | "microbundle": "^0.12.0-next.8"
|
59 | },
|
60 | "peerDependencies": {
|
61 | "eslint": "6.x"
|
62 | }
|
63 | }
|