File size: 3,995 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
  "name": "svelte-eslint-parser",
  "version": "0.41.0",
  "description": "Svelte parser for ESLint",
  "repository": "git+https://github.com/sveltejs/svelte-eslint-parser.git",
  "homepage": "https://github.com/sveltejs/svelte-eslint-parser#readme",
  "author": "Yosuke Ota (https://github.com/ota-meshi)",
  "contributors": [
    "JounQin (https://github.com/JounQin)"
  ],
  "funding": "https://github.com/sponsors/ota-meshi",
  "license": "MIT",
  "packageManager": "[email protected]",
  "engines": {
    "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
  },
  "type": "commonjs",
  "main": "lib/index.js",
  "files": [
    "lib"
  ],
  "keywords": [
    "svelte",
    "sveltejs",
    "eslint",
    "parser"
  ],
  "peerDependencies": {
    "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.191"
  },
  "peerDependenciesMeta": {
    "svelte": {
      "optional": true
    }
  },
  "dependencies": {
    "eslint-scope": "^7.2.2",
    "eslint-visitor-keys": "^3.4.3",
    "espree": "^9.6.1",
    "postcss": "^8.4.39",
    "postcss-scss": "^4.0.9"
  },
  "devDependencies": {
    "@changesets/changelog-github": "^0.5.0",
    "@changesets/cli": "^2.27.7",
    "@changesets/get-release-plan": "^4.0.3",
    "@ota-meshi/eslint-plugin": "^0.15.3",
    "@types/benchmark": "^2.1.5",
    "@types/chai": "^4.3.16",
    "@types/eslint": "^8.56.10",
    "@types/eslint-scope": "^3.7.7",
    "@types/eslint-visitor-keys": "^3.3.0",
    "@types/estree": "^1.0.5",
    "@types/mocha": "^10.0.7",
    "@types/node": "^20.14.11",
    "@types/semver": "^7.5.8",
    "@typescript-eslint/eslint-plugin": "^7.16.1",
    "@typescript-eslint/parser": "~7.16.1",
    "@typescript-eslint/types": "~7.16.1",
    "benchmark": "^2.1.4",
    "chai": "^4.4.1",
    "env-cmd": "^10.1.0",
    "esbuild": "^0.23.0",
    "esbuild-register": "^3.5.0",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-eslint-comments": "^3.2.0",
    "eslint-plugin-json-schema-validator": "^5.1.2",
    "eslint-plugin-jsonc": "^2.16.0",
    "eslint-plugin-n": "^17.9.0",
    "eslint-plugin-node-dependencies": "^0.12.0",
    "eslint-plugin-prettier": "^5.2.1",
    "eslint-plugin-regexp": "^2.6.0",
    "eslint-plugin-svelte": "^2.42.0",
    "eslint-plugin-yml": "^1.14.0",
    "estree-walker": "^3.0.3",
    "locate-character": "^3.0.0",
    "magic-string": "^0.30.10",
    "mocha": "^10.6.0",
    "mocha-chai-jest-snapshot": "^1.1.4",
    "nyc": "^17.0.0",
    "prettier": "~3.3.3",
    "prettier-plugin-pkg": "^0.18.1",
    "prettier-plugin-svelte": "^3.2.6",
    "rimraf": "^6.0.1",
    "semver": "^7.6.3",
    "svelte": "^5.0.0-next.191",
    "svelte2tsx": "^0.7.13",
    "typescript": "~5.5.3",
    "typescript-eslint-parser-for-extra-files": "^0.7.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "benchmark": "pnpm run ts benchmark/index.ts",
    "build": "pnpm run build:meta && pnpm run build:tsc",
    "build:meta": "pnpm run ts ./tools/update-meta.ts",
    "build:tsc": "tsc --project ./tsconfig.build.json",
    "clean": "rimraf .nyc_output lib coverage",
    "cover": "nyc --reporter=lcov pnpm run test",
    "debug": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
    "eslint-fix": "pnpm run lint --fix",
    "lint": "eslint . --ext .js,.ts,.json,.yaml,.yml,.svelte",
    "mocha": "pnpm run ts ./node_modules/mocha/bin/mocha.js",
    "prebuild": "pnpm run clean",
    "prerelease": "pnpm run clean && pnpm run build",
    "preversion": "pnpm run lint && pnpm run test",
    "release": "changeset publish",
    "test": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
    "ts": "node -r esbuild-register",
    "update-fixtures": "git add package.json && pnpm i -D svelte@4 && git checkout package.json && pnpm run run-update-fixtures && pnpm i && pnpm run run-update-fixtures",
    "run-update-fixtures": "pnpm run ts ./tools/update-fixtures.ts",
    "version:ci": "env-cmd -e version-ci pnpm run build:meta && changeset version"
  }
}