93 lines
3.1 KiB
JSON
Raw Normal View History

2025-09-05 14:59:21 +08:00
{
"name": "jsonc-eslint-parser",
"version": "2.4.0",
"description": "JSON, JSONC and JSON5 parser for use with ESLint plugins",
"main": "lib/index.js",
"files": [
"lib"
],
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"scripts": {
"build": "npm run build:meta && npm run build:tsc",
"build:meta": "ts-node --transpile-only ./tools/update-meta.ts",
"build:tsc": "tsc --project ./tsconfig.build.json",
"clean": "rimraf .nyc_output lib coverage",
"lint": "eslint . --ext .js,.ts,.json",
"eslint-fix": "eslint . --ext .js,.ts,.json --fix",
"test:base": "mocha --require ts-node/register \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"test": "npm run test:base",
"test:nyc": "nyc --reporter=lcov npm run test:base",
"test:debug": "mocha --require ts-node/register/transpile-only \"tests/src/**/*.ts\" --reporter dot",
"update": "ts-node ./tools/update.ts && npm run eslint-fix && npm run test:nyc",
"preversion": "npm test && npm run update && git add .",
"version": "npm run eslint-fix && git add .",
"update-fixtures": "ts-node ./tools/update-fixtures.ts",
"benchmark": "ts-node --transpile-only benchmark/index.ts",
"prerelease": "npm run clean && npm run build",
"release": "changeset publish",
"version:ci": "env-cmd -e version-ci npm run build:meta && changeset version"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ota-meshi/jsonc-eslint-parser.git"
},
"keywords": [
"eslint",
"json",
"jsonc",
"json5",
"parser"
],
"author": "Yosuke Ota",
"funding": "https://github.com/sponsors/ota-meshi",
"license": "MIT",
"bugs": {
"url": "https://github.com/ota-meshi/jsonc-eslint-parser/issues"
},
"homepage": "https://github.com/ota-meshi/jsonc-eslint-parser#readme",
"devDependencies": {
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.2",
"@ota-meshi/eslint-plugin": "^0.15.0",
"@types/benchmark": "^2.1.0",
"@types/eslint": "^8.0.0",
"@types/eslint-visitor-keys": "^1.0.0",
"@types/estree": "^1.0.0",
"@types/mocha": "^10.0.0",
"@types/natural-compare": "^1.4.0",
"@types/node": "^20.0.0",
"@types/semver": "^7.3.1",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"benchmark": "^2.1.4",
"env-cmd": "^10.1.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-json-schema-validator": "^4.0.0",
"eslint-plugin-jsonc": "^2.0.0",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-node-dependencies": "^0.11.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-regexp": "^2.0.0",
"eslint-plugin-vue": "^9.0.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"ts-node": "^10.0.0",
"typescript": "~5.0.0",
"vue-eslint-parser": "^9.0.0"
},
"dependencies": {
"acorn": "^8.5.0",
"eslint-visitor-keys": "^3.0.0",
"espree": "^9.0.0",
"semver": "^7.3.5"
},
"publishConfig": {
"access": "public"
}
}