Files
formipay/node_modules/markdownlint-cli/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

89 lines
2.2 KiB
JSON

{
"name": "markdownlint-cli",
"version": "0.31.1",
"description": "MarkdownLint Command Line Interface",
"main": "markdownlint.js",
"bin": {
"markdownlint": "markdownlint.js"
},
"engines": {
"node": ">=12"
},
"scripts": {
"invalid": "node ./markdownlint.js --config test/test-config.json -- test/incorrect.md",
"fix": "cp test/incorrect.md test/incorrect.copy.md && node ./markdownlint.js --fix test/incorrect.copy.md ; cat test/incorrect.copy.md && rm test/incorrect.copy.md",
"test": "ava",
"watch": "npm test --watch",
"start": "node ./markdownlint.js",
"precommit": "xo && npm test"
},
"files": [
"markdownlint.js"
],
"repository": {
"type": "git",
"url": "git+https://github.com/igorshubovych/markdownlint-cli.git"
},
"keywords": [
"markdown",
"markdownlint",
"cli",
"cli-app"
],
"author": "Igor Shubovych <igor.shubovych@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/igorshubovych/markdownlint-cli/issues"
},
"homepage": "https://github.com/igorshubovych/markdownlint-cli#readme",
"dependencies": {
"commander": "~9.0.0",
"get-stdin": "~9.0.0",
"glob": "~7.2.0",
"ignore": "~5.2.0",
"js-yaml": "^4.1.0",
"jsonc-parser": "~3.0.0",
"markdownlint": "~0.25.1",
"markdownlint-rule-helpers": "~0.16.0",
"minimatch": "~3.0.5",
"run-con": "~1.2.10"
},
"devDependencies": {
"ava": "^4.0.1",
"execa": "^6.0.0",
"test-rule-package": "./test/custom-rules/test-rule-package",
"xo": "^0.47.0"
},
"xo": {
"prettier": true,
"space": true,
"rules": {
"comma-dangle": 0,
"linebreak-style": 0,
"no-var": 0,
"prefer-arrow-callback": 0,
"promise/prefer-await-to-then": 0,
"object-shorthand": 0,
"unicorn/prefer-module": 0,
"unicorn/prefer-ternary": 0
}
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": false,
"endOfLine": "auto",
"printWidth": 1000,
"singleQuote": true,
"trailingComma": "none"
},
"ava": {
"files": [
"test/**/*.js",
"!test/custom-rules/**/*.js",
"!test/md043-config.js"
],
"failFast": true,
"workerThreads": false
}
}