|
1 | 1 | {
|
2 | 2 | "name": "eslint-plugin-svelte",
|
3 | 3 | "version": "2.0.0",
|
4 |
| - "publishConfig": { |
5 |
| - "access": "public" |
6 |
| - }, |
7 | 4 | "description": "ESLint plugin for Svelte using AST",
|
8 |
| - "main": "lib/index.js", |
9 |
| - "files": [ |
10 |
| - "lib" |
| 5 | + "repository": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git", |
| 6 | + "homepage": "https://ota-meshi.github.io/eslint-plugin-svelte", |
| 7 | + "funding": "https://github.com/sponsors/ota-meshi", |
| 8 | + "author": "Yosuke Ota (https://github.com/ota-meshi)", |
| 9 | + "contributors": [ |
| 10 | + "JounQin (https://github.com/JounQin)" |
11 | 11 | ],
|
| 12 | + "license": "MIT", |
| 13 | + "packageManager": "[email protected]", |
12 | 14 | "engines": {
|
13 | 15 | "node": "^14.17.0 || >=16.0.0"
|
14 | 16 | },
|
15 |
| - "packageManager": "[email protected]", |
| 17 | + "main": "lib/index.js", |
| 18 | + "files": [ |
| 19 | + "lib" |
| 20 | + ], |
| 21 | + "keywords": [ |
| 22 | + "eslint", |
| 23 | + "eslint-plugin", |
| 24 | + "eslintplugin", |
| 25 | + "svelte", |
| 26 | + "sveltejs" |
| 27 | + ], |
16 | 28 | "scripts": {
|
17 |
| - "prebuild": "yarn clean", |
18 | 29 | "build": "yarn build:ts",
|
19 | 30 | "build:ts": "tsc --project ./tsconfig.build.json",
|
20 | 31 | "clean": "rimraf .nyc_output lib coverage build .svelte-kit svelte.config-dist.js",
|
21 |
| - "pretest:base": "cross-env DEBUG=eslint-plugin-svelte*", |
22 |
| - "ts": "node -r esbuild-register", |
23 |
| - "mocha": "yarn ts ./node_modules/mocha/bin/mocha.js", |
24 |
| - "test": "yarn mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", |
25 | 32 | "cover": "nyc --reporter=lcov yarn test",
|
26 | 33 | "debug": "yarn mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
|
27 |
| - "lint": "eslint .", |
| 34 | + "docs:build": "yarn svelte-kit build", |
| 35 | + "docs:preview": "yarn svelte-kit preview", |
| 36 | + "docs:watch": "yarn svelte-kit dev", |
28 | 37 | "eslint-fix": "eslint . --fix",
|
29 |
| - "update": "yarn ts ./tools/update.ts && yarn format-for-gen-file", |
30 | 38 | "format-for-gen-file": "eslint src/types-for-node.ts src/utils/rules.ts src/configs --fix",
|
| 39 | + "lint": "eslint .", |
| 40 | + "mocha": "yarn ts ./node_modules/mocha/bin/mocha.js", |
31 | 41 | "new": "yarn ts ./tools/new-rule.ts",
|
32 |
| - "svelte-kit": "node --experimental-loader ./svelte-kit-import-hook.mjs node_modules/@sveltejs/kit/svelte-kit.js", |
33 |
| - "docs:watch": "yarn svelte-kit dev", |
34 |
| - "docs:build": "yarn svelte-kit build", |
35 |
| - "docs:preview": "yarn svelte-kit preview", |
| 42 | + "prebuild": "yarn clean", |
| 43 | + "prepublishOnly": "yarn clean && yarn build", |
| 44 | + "pretest:base": "cross-env DEBUG=eslint-plugin-svelte*", |
36 | 45 | "preversion": "yarn test && git add .",
|
37 |
| - "version": "env-cmd -e version yarn update && git add .", |
38 |
| - "prepublishOnly": "yarn clean && yarn build" |
| 46 | + "svelte-kit": "node --experimental-loader ./svelte-kit-import-hook.mjs node_modules/@sveltejs/kit/svelte-kit.js", |
| 47 | + "test": "yarn mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000", |
| 48 | + "ts": "node -r esbuild-register", |
| 49 | + "update": "yarn ts ./tools/update.ts && yarn format-for-gen-file", |
| 50 | + "version": "env-cmd -e version yarn update && git add ." |
39 | 51 | },
|
40 |
| - "repository": { |
41 |
| - "type": "git", |
42 |
| - "url": "git+https://github.com/ota-meshi/eslint-plugin-svelte.git" |
| 52 | + "peerDependencies": { |
| 53 | + "eslint": "^7.0.0 || ^8.0.0-0", |
| 54 | + "svelte": "^3.37.0" |
43 | 55 | },
|
44 |
| - "keywords": [ |
45 |
| - "eslint", |
46 |
| - "eslint-plugin", |
47 |
| - "eslintplugin", |
48 |
| - "svelte", |
49 |
| - "sveltejs" |
50 |
| - ], |
51 |
| - "author": "Yosuke Ota (https://github.com/ota-meshi)", |
52 |
| - "contributors": [ |
53 |
| - "JounQin (https://github.com/JounQin)" |
54 |
| - ], |
55 |
| - "funding": "https://github.com/sponsors/ota-meshi", |
56 |
| - "license": "MIT", |
57 |
| - "bugs": { |
58 |
| - "url": "https://github.com/ota-meshi/eslint-plugin-svelte/issues" |
| 56 | + "peerDependenciesMeta": { |
| 57 | + "svelte": { |
| 58 | + "optional": true |
| 59 | + } |
59 | 60 | },
|
60 |
| - "homepage": "https://ota-meshi.github.io/eslint-plugin-svelte/", |
61 | 61 | "dependencies": {
|
62 | 62 | "debug": "^4.3.1",
|
63 | 63 | "eslint-utils": "^3.0.0",
|
|
68 | 68 | "sourcemap-codec": "^1.4.8",
|
69 | 69 | "svelte-eslint-parser": "^0.16.0"
|
70 | 70 | },
|
71 |
| - "peerDependencies": { |
72 |
| - "eslint": "^7.0.0 || ^8.0.0-0", |
73 |
| - "svelte": "^3.37.0" |
74 |
| - }, |
75 |
| - "peerDependenciesMeta": { |
76 |
| - "svelte": { |
77 |
| - "optional": true |
78 |
| - } |
79 |
| - }, |
80 | 71 | "devDependencies": {
|
81 | 72 | "@babel/core": "^7.16.0",
|
82 | 73 | "@babel/eslint-parser": "^7.17.0",
|
|
131 | 122 | "pirates": "^4.0.1",
|
132 | 123 | "postcss-nested": "^5.0.6",
|
133 | 124 | "prettier": "^2.2.1",
|
| 125 | + "prettier-plugin-pkg": "^0.14.1", |
134 | 126 | "prettier-plugin-svelte": "^2.6.0",
|
135 | 127 | "prism-svelte": "^0.5.0",
|
136 | 128 | "prismjs": "^1.25.0",
|
|
143 | 135 | "svelte-adapter-ghpages": "0.0.2",
|
144 | 136 | "typescript": "^4.5.2",
|
145 | 137 | "vite-plugin-svelte-md": "^0.1.3"
|
| 138 | + }, |
| 139 | + "publishConfig": { |
| 140 | + "access": "public" |
146 | 141 | }
|
147 | 142 | }
|
0 commit comments