Files
formipay/node_modules/clean-webpack-plugin/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

84 lines
2.7 KiB
JSON

{
"name": "clean-webpack-plugin",
"version": "3.0.0",
"author": "John Agan <johnagan@gmail.com>",
"description": "A webpack plugin to remove/clean your build folder(s).",
"homepage": "https://github.com/johnagan/clean-webpack-plugin",
"license": "MIT",
"main": "dist/clean-webpack-plugin.js",
"types": "dist/clean-webpack-plugin.d.ts",
"files": [
"dist/"
],
"engines": {
"node": ">=8.9.0"
},
"keywords": [
"webpack",
"plugin",
"clean",
"node"
],
"repository": {
"type": "git",
"url": "https://github.com/johnagan/clean-webpack-plugin.git"
},
"bugs": {
"url": "https://github.com/johnagan/clean-webpack-plugin/issues"
},
"scripts": {
"clean": "del-cli --dot=true \"./dist/**/*\"",
"build": "npm run clean && npm run build.compile && npm run build.types",
"build.compile": "cross-env NODE_ENV=production babel src -d dist --verbose --extensions .ts --ignore */**/*.d.ts,**/**/*.test.ts --source-maps",
"build.types": "cross-env NODE_ENV=production tsc --project tsconfig.types.json",
"dev": "npm run clean && cross-env NODE_ENV=development babel -w src -d dist --verbose --extensions .ts --ignore */**/*.d.ts,**/**/*.test.ts --source-maps",
"lint": "eslint --ext .js,.ts .",
"lint.fix": "eslint --ext .js,.ts --fix .",
"format": "prettier \"**/*.{js,mjs,jsx,ts,tsx,json,scss,less,css,md,yml,yaml}\" --write",
"test": "jest",
"test.update": "jest --update-snapshot",
"test.watch": "jest --watch",
"test.all": "node ./dev-utils/test-supported-webpack-versions.js",
"test.ci": "npm run build && npm run lint && npm run typescript && npm run test.all -- --ci",
"typescript": "tsc",
"git-pre-commit": "lint-staged",
"git-pre-push": "npm run lint && npm run typescript && npm run test.all",
"prepublishOnly": "npm run build && npm run lint && npm run typescript && npm run test.all",
"release": "np"
},
"peerDependencies": {
"webpack": "*"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-typescript": "^7.3.3",
"@chrisblossom/eslint-config": "^5.0.0",
"@types/jest": "^24.0.13",
"@types/node": "^12.0.2",
"@types/read-pkg-up": "^3.0.1",
"babel-jest": "^24.8.0",
"codecov": "^3.5.0",
"cross-env": "^5.2.0",
"del-cli": "^1.1.0",
"eslint": "^5.16.0",
"execa": "^1.0.0",
"husky": "^2.3.0",
"jest": "^24.8.0",
"lint-staged": "^8.1.7",
"listr": "^0.14.3",
"np": "^5.0.2",
"prettier": "^1.17.1",
"read-pkg-up": "^6.0.0",
"semver": "^6.0.0",
"temp-sandbox": "^3.0.0",
"typescript": "^3.4.5",
"webpack": "^4.32.0"
},
"dependencies": {
"@types/webpack": "^4.4.31",
"del": "^4.1.1"
}
}