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>
89 lines
2.4 KiB
JSON
89 lines
2.4 KiB
JSON
{
|
|
"name": "npm-package-json-lint",
|
|
"version": "6.4.0",
|
|
"description": "Configurable linter for package.json files.",
|
|
"keywords": [
|
|
"lint",
|
|
"linter",
|
|
"package.json",
|
|
"audit",
|
|
"auditor",
|
|
"npm-package-json-lint"
|
|
],
|
|
"homepage": "https://github.com/tclindner/npm-package-json-lint",
|
|
"bugs": {
|
|
"url": "https://github.com/tclindner/npm-package-json-lint/issues"
|
|
},
|
|
"author": "Thomas Lindner",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tclindner/npm-package-json-lint.git"
|
|
},
|
|
"bin": {
|
|
"npmPkgJsonLint": "dist/cli.js"
|
|
},
|
|
"files": [
|
|
"CONTRIBUTING.md",
|
|
"dist"
|
|
],
|
|
"main": "dist/api.js",
|
|
"types": "dist/src/api.d.ts",
|
|
"scripts": {
|
|
"build": "npm run esbuild && npm run tsc",
|
|
"esbuild": "node esbuild.config.js",
|
|
"eslint": "eslint . --format=node_modules/eslint-formatter-pretty",
|
|
"npmpackagejsonlint": "node dist/cli.js ./package.json",
|
|
"lint": "npm run eslint && npm run npmpackagejsonlint",
|
|
"test": "npm run build && jest",
|
|
"test:ci": "jest --runInBand",
|
|
"tsc": "tsc --project tsconfig.json"
|
|
},
|
|
"dependencies": {
|
|
"ajv": "^6.12.6",
|
|
"ajv-errors": "^1.0.1",
|
|
"chalk": "^4.1.2",
|
|
"cosmiconfig": "^8.0.0",
|
|
"debug": "^4.3.4",
|
|
"globby": "^11.1.0",
|
|
"ignore": "^5.2.0",
|
|
"is-plain-obj": "^3.0.0",
|
|
"jsonc-parser": "^3.2.0",
|
|
"log-symbols": "^4.1.0",
|
|
"meow": "^9.0.0",
|
|
"plur": "^4.0.0",
|
|
"semver": "^7.3.8",
|
|
"slash": "^3.0.0",
|
|
"strip-json-comments": "^3.1.1",
|
|
"type-fest": "^3.2.0",
|
|
"validate-npm-package-name": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.5.0",
|
|
"@types/node": "^18.11.9",
|
|
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
|
"esbuild": "^0.15.15",
|
|
"esbuild-node-externals": "^1.5.0",
|
|
"eslint": "^8.28.0",
|
|
"eslint-config-tc": "^22.2.0",
|
|
"eslint-config-typescript-tc": "^6.0.0",
|
|
"eslint-formatter-pretty": "^4.1.0",
|
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jest": "^27.1.6",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-unicorn": "^44.0.2",
|
|
"figures": "^3.2.0",
|
|
"jest": "^27.5.1",
|
|
"npm-package-json-lint-config-default": "^5.0.0",
|
|
"npm-package-json-lint-config-tc": "^6.0.0",
|
|
"prettier": "^2.8.0",
|
|
"ts-jest": "^27.1.4",
|
|
"typescript": "^4.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0",
|
|
"npm": ">=6.0.0"
|
|
},
|
|
"license": "MIT"
|
|
}
|