Files
formipay/node_modules/global-prefix/package.json
dwindown e8fbfb14c1 fix: prevent asset conflicts between React and Grid.js versions
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>
2026-04-18 17:02:14 +07:00

74 lines
1.6 KiB
JSON

{
"name": "global-prefix",
"description": "Get the npm global path prefix.",
"version": "0.1.5",
"homepage": "https://github.com/jonschlinkert/global-prefix",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/global-prefix",
"bugs": {
"url": "https://github.com/jonschlinkert/global-prefix/issues"
},
"license": "MIT",
"files": [
"index.js"
],
"main": "index.js",
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "mocha"
},
"dependencies": {
"homedir-polyfill": "^1.0.0",
"ini": "^1.3.4",
"is-windows": "^0.2.0",
"which": "^1.2.12"
},
"devDependencies": {
"fs-exists-sync": "^0.1.0",
"gulp-format-md": "^0.1.11",
"mocha": "^3.2.0"
},
"keywords": [
"global",
"module",
"modules",
"npm",
"path",
"prefix",
"resolve"
],
"verb": {
"run": true,
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"related": {
"list": [
"global-modules",
"global-paths"
]
},
"reflinks": [
"verb"
],
"lint": {
"reflinks": true
}
},
"contributors": [
"Jon Schlinkert <jon.schlinkert@sellside.com> (http://twitter.com/jonschlinkert)",
"Alexandr Bogachev <kuksikus@gmail.com> (https://github.com/rmbaad)",
"JasonChang <chaoyue.chang@qq.com> (https://packagist.org/packages/jason-chang)",
"Jorrit Schippers (https://www.ncode.nl)",
"Mathias Rasmussen (https://github.com/mathiasvr)",
"Charlike Mike Reagent (http://i.am.charlike.online)"
]
}