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>
38 lines
1.1 KiB
JSON
38 lines
1.1 KiB
JSON
{
|
|
"name": "rungen",
|
|
"version": "0.3.2",
|
|
"description": "A generator runtime creator",
|
|
"main": "dist/index.js",
|
|
"devDependencies": {
|
|
"babel": "^6.3.26",
|
|
"babel-cli": "^6.4.5",
|
|
"babel-eslint": "^5.0.0-beta8",
|
|
"babel-polyfill": "^6.3.14",
|
|
"babel-preset-es2015": "^6.3.13",
|
|
"babel-register": "^6.4.3",
|
|
"conventional-changelog": "^0.5.3",
|
|
"eslint": "^1.10.3",
|
|
"expect": "^1.13.4",
|
|
"mocha": "^2.4.5",
|
|
"rimraf": "^2.5.1"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint src",
|
|
"compile": "rimraf lib && babel -d dist/ src/",
|
|
"prepublish": "npm run test && npm run compile",
|
|
"unit": "mocha --compilers js:babel-register --recursive test",
|
|
"test": "npm run lint && npm run unit",
|
|
"changelog": "conventional-changelog -i CHANGELOG.md -w -r 0 -p angular"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/youknowriad/rungen.git"
|
|
},
|
|
"author": "Riad Benguella <riad@rizeway.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/youknowriad/rungen/issues"
|
|
},
|
|
"homepage": "https://github.com/youknowriad/rungen#readme"
|
|
}
|