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>
100 lines
2.8 KiB
JSON
100 lines
2.8 KiB
JSON
{
|
|
"name": "@es-joy/jsdoccomment",
|
|
"version": "0.41.0",
|
|
"author": "Brett Zamir <brettz9@yahoo.com>",
|
|
"contributors": [],
|
|
"description": "Maintained replacement for ESLint's deprecated SourceCode#getJSDocComment along with other jsdoc utilities",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"eslint",
|
|
"sourcecode"
|
|
],
|
|
"type": "module",
|
|
"types": "./dist/index.d.ts",
|
|
"main": "./dist/index.cjs.cjs",
|
|
"exports": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./src/index.js",
|
|
"require": "./dist/index.cjs.cjs"
|
|
},
|
|
"c8": {
|
|
"reporter": [
|
|
"lcov",
|
|
"text"
|
|
],
|
|
"checkCoverage": true,
|
|
"branches": 100,
|
|
"statements": 100,
|
|
"lines": 100,
|
|
"functions": 100
|
|
},
|
|
"browserslist": [
|
|
"cover 100%"
|
|
],
|
|
"scripts": {
|
|
"tsc": "tsc",
|
|
"open": "open ./coverage/lcov-report/index.html",
|
|
"prepublishOnly": "pnpm i && npm run build",
|
|
"build": "npm run rollup && tsc -p tsconfig-prod.json",
|
|
"rollup": "rollup -c",
|
|
"eslint": "eslint --ext=js,cjs,md,html .",
|
|
"lint": "npm run eslint --",
|
|
"mocha": "mocha --require chai/register-expect.js",
|
|
"c8": "c8 npm run mocha",
|
|
"test": "npm run lint && npm run build && npm run c8"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/es-joy/jsdoccomment.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/es-joy/jsdoccomment/issues"
|
|
},
|
|
"homepage": "https://github.com/es-joy/jsdoccomment",
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"dependencies": {
|
|
"comment-parser": "1.4.1",
|
|
"esquery": "^1.5.0",
|
|
"jsdoc-type-pratt-parser": "~4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.3",
|
|
"@babel/plugin-syntax-class-properties": "^7.12.13",
|
|
"@babel/preset-env": "^7.23.3",
|
|
"@brettz9/eslint-plugin": "^1.0.4",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@types/chai": "^4.3.10",
|
|
"@types/eslint": "^8.44.7",
|
|
"@types/esquery": "^1.5.3",
|
|
"@types/estraverse": "^5.1.6",
|
|
"@types/estree": "^1.0.5",
|
|
"@types/mocha": "^10.0.4",
|
|
"@typescript-eslint/types": "^6.10.0",
|
|
"c8": "^8.0.1",
|
|
"chai": "^4.3.10",
|
|
"eslint": "^8.53.0",
|
|
"eslint-config-ash-nazg": "35.1.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-plugin-array-func": "^4.0.0",
|
|
"eslint-plugin-compat": "^4.2.0",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-html": "^7.1.0",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"eslint-plugin-jsdoc": "^46.8.2",
|
|
"eslint-plugin-markdown": "^3.0.1",
|
|
"eslint-plugin-n": "^16.3.0",
|
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
"eslint-plugin-no-use-extend-native": "^0.5.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint-plugin-sonarjs": "^0.23.0",
|
|
"eslint-plugin-unicorn": "^49.0.0",
|
|
"espree": "^9.6.1",
|
|
"estraverse": "^5.3.0",
|
|
"mocha": "^10.2.0",
|
|
"rollup": "^4.3.0",
|
|
"typescript": "^5.2.2"
|
|
}
|
|
}
|