Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
146 lines
4.2 KiB
JSON
146 lines
4.2 KiB
JSON
{
|
|
"author": {
|
|
"email": "gajus@gajus.com",
|
|
"name": "Gajus Kuizinas",
|
|
"url": "http://gajus.com"
|
|
},
|
|
"dependencies": {
|
|
"@es-joy/jsdoccomment": "~0.41.0",
|
|
"are-docs-informative": "^0.0.2",
|
|
"comment-parser": "1.4.1",
|
|
"debug": "^4.3.4",
|
|
"escape-string-regexp": "^4.0.0",
|
|
"esquery": "^1.5.0",
|
|
"is-builtin-module": "^3.2.1",
|
|
"semver": "^7.5.4",
|
|
"spdx-expression-parse": "^4.0.0"
|
|
},
|
|
"description": "JSDoc linting rules for ESLint.",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.23.4",
|
|
"@babel/core": "^7.23.7",
|
|
"@babel/eslint-parser": "^7.23.3",
|
|
"@babel/node": "^7.22.19",
|
|
"@babel/plugin-syntax-class-properties": "^7.12.13",
|
|
"@babel/plugin-transform-flow-strip-types": "^7.23.3",
|
|
"@babel/preset-env": "^7.23.7",
|
|
"@babel/register": "^7.23.7",
|
|
"@es-joy/escodegen": "^3.5.1",
|
|
"@es-joy/jsdoc-eslint-parser": "^0.21.1",
|
|
"@hkdobrev/run-if-changed": "^0.3.1",
|
|
"@semantic-release/commit-analyzer": "^11.1.0",
|
|
"@semantic-release/github": "^9.2.6",
|
|
"@semantic-release/npm": "^11.0.2",
|
|
"@types/chai": "^4.3.11",
|
|
"@types/debug": "^4.1.12",
|
|
"@types/eslint": "^8.56.0",
|
|
"@types/esquery": "^1.5.3",
|
|
"@types/estree": "^1.0.5",
|
|
"@types/json-schema": "^7.0.15",
|
|
"@types/lodash.defaultsdeep": "^4.6.9",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/node": "^20.10.6",
|
|
"@types/semver": "^7.5.6",
|
|
"@types/spdx-expression-parse": "^3.0.5",
|
|
"@typescript-eslint/parser": "^6.16.0",
|
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
"babel-plugin-istanbul": "^6.1.1",
|
|
"camelcase": "^6.3.0",
|
|
"chai": "^4.3.10",
|
|
"cross-env": "^7.0.3",
|
|
"decamelize": "^5.0.1",
|
|
"eslint": "9.0.0-alpha.0",
|
|
"eslint-config-canonical": "~42.8.0",
|
|
"espree": "^9.6.1",
|
|
"gitdown": "^3.1.5",
|
|
"glob": "^10.3.10",
|
|
"globals": "^13.24.0",
|
|
"husky": "^8.0.3",
|
|
"jsdoc-type-pratt-parser": "^4.0.0",
|
|
"json-schema": "^0.4.0",
|
|
"lint-staged": "^15.2.0",
|
|
"lodash.defaultsdeep": "^4.6.1",
|
|
"mocha": "^10.2.0",
|
|
"nyc": "^15.1.0",
|
|
"open-editor": "^3.0.0",
|
|
"rimraf": "^5.0.5",
|
|
"semantic-release": "^22.0.12",
|
|
"typescript": "5.3.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"keywords": [
|
|
"eslint",
|
|
"plugin",
|
|
"jsdoc"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"lint-staged": {
|
|
".eslintignore": [
|
|
"npm run lint-fix",
|
|
"git add ."
|
|
],
|
|
"*.js": "npm run lint-arg -- --fix"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"name": "eslint-plugin-jsdoc",
|
|
"mocha": {
|
|
"require": [
|
|
"@babel/register"
|
|
],
|
|
"reporter": "dot",
|
|
"recursive": true,
|
|
"timeout": 12000
|
|
},
|
|
"nyc": {
|
|
"branches": 100,
|
|
"check-coverage": true,
|
|
"exclude": [
|
|
"src/rules/checkExamples.js"
|
|
],
|
|
"functions": 100,
|
|
"include": [
|
|
"src/"
|
|
],
|
|
"instrument": false,
|
|
"lines": 100,
|
|
"reporter": "text-summary",
|
|
"require": [
|
|
"@babel/register"
|
|
],
|
|
"sourceMap": false,
|
|
"statements": 100
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/gajus/eslint-plugin-jsdoc"
|
|
},
|
|
"run-if-changed": {
|
|
"package-lock.json": "npm run install-offline"
|
|
},
|
|
"scripts": {
|
|
"tsc": "tsc",
|
|
"tsc-build": "tsc -p tsconfig-prod.json",
|
|
"build": "rimraf ./dist && cross-env NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --ignore ./src/bin/*.js --no-copy-ignored && pnpm tsc-build",
|
|
"check-docs": "babel-node ./src/bin/generateDocs.js --check",
|
|
"create-docs": "npm run create-options && babel-node ./src/bin/generateDocs.js",
|
|
"create-rule": "babel-node ./src/bin/generateRule.js",
|
|
"create-options": "node ./src/bin/generateOptions.mjs",
|
|
"install-offline": "pnpm install --prefer-offline --no-audit",
|
|
"lint": "npm run lint-arg -- .",
|
|
"lint-arg": "eslint --report-unused-disable-directives=false",
|
|
"lint-fix": "npm run lint-arg -- --fix .",
|
|
"prepare": "husky install",
|
|
"test-no-cov": "cross-env BABEL_ENV=test mocha",
|
|
"test": "nyc npm run test-no-cov",
|
|
"test-cov": "cross-env TIMING=1 nyc --reporter text npm run test-no-cov",
|
|
"test-index": "npm run test-no-cov -- test/rules/index.js"
|
|
},
|
|
"version": "46.10.1"
|
|
}
|