Files
wp-asciiplayer/package.json
LamGC 16d8400d76
Build and WordPress integration / PHP 7.4 syntax and regression tests (push) Canceled after 0s
Build and WordPress integration / PHP 8.3 syntax and regression tests (push) Canceled after 0s
Build and WordPress integration / WordPress 6.3 / PHP 7.4 (push) Canceled after 0s
Build and WordPress integration / WordPress latest / PHP 8.2 (push) Canceled after 0s
fix: update build dependencies and improve documentation
- Fix gettext-parser 9 compatibility and update Babel parser
- Apply targeted dependency security fixes and align Node.js requirements
- Add regression tests and document remaining dependency risks
- Review bundled player dependencies and advisory reachability
- Reformat English and Chinese READMEs and simplify wording
- Remove plugin version descriptions from README files

PR #39
2026-10-14 17:43:24 +08:00

59 lines
1.5 KiB
JSON

{
"name": "wp-asciiplayer",
"version": "1.1.0-dev",
"private": true,
"description": "Native WordPress asciicast block with real playback previews and compatible shortcodes",
"type": "module",
"license": "GPL-3.0-only",
"engines": {
"node": "^24.18.0 || >=26.0.0",
"npm": ">=11.16.0"
},
"scripts": {
"build": "wp-scripts build --config webpack.config.cjs && node scripts/vendor.mjs && npm run i18n && node scripts/verify-build.mjs",
"start": "wp-scripts start --config webpack.config.cjs",
"test": "npm run i18n:check && node --test tests/js/*.test.js",
"test:php": "php tests/php/run.php",
"test:e2e": "playwright test",
"wp-env": "wp-env",
"package": "node scripts/package.mjs",
"i18n": "node scripts/i18n.mjs",
"i18n:check": "node scripts/i18n.mjs --check"
},
"dependencies": {
"asciinema-player": "3.17.0"
},
"devDependencies": {
"@playwright/test": "1.64.0",
"@wordpress/env": "11.17.0",
"@wordpress/scripts": "36.1.0",
"@babel/parser": "8.0.7",
"gettext-parser": "9.1.1"
},
"cssnano": {
"preset": [
"default",
{
"discardComments": {
"removeAll": false
}
}
]
},
"overrides": {
"copy-webpack-plugin": {
"serialize-javascript": "7.0.5"
},
"markdownlint-cli": {
"js-yaml": "5.4.3",
"smol-toml": "1.9.1"
},
"express": {
"qs": "6.16.0"
},
"simple-git": {
"@simple-git/argv-parser": "2.0.1"
}
}
}