mirror of
https://github.com/LamGC/wp-asciiplayer.git
synced 2026-10-12 23:33:55 +00:00
Preserve shortcode rendering, normalize options, bundle the player locally, and add reproducible packaging and WordPress integration tests.
29 lines
850 B
JSON
29 lines
850 B
JSON
{
|
|
"name": "wp-asciiplayer",
|
|
"version": "1.1.0",
|
|
"private": true,
|
|
"description": "Native WordPress asciicast block with real playback previews and compatible shortcodes",
|
|
"type": "module",
|
|
"license": "GPL-3.0-only",
|
|
"engines": {
|
|
"node": ">=22.22.2"
|
|
},
|
|
"scripts": {
|
|
"build": "wp-scripts build --config webpack.config.cjs && node scripts/vendor.mjs && node scripts/verify-build.mjs",
|
|
"start": "wp-scripts start --config webpack.config.cjs",
|
|
"test": "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"
|
|
},
|
|
"dependencies": {
|
|
"asciinema-player": "3.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "1.64.0",
|
|
"@wordpress/env": "11.17.0",
|
|
"@wordpress/scripts": "36.1.0"
|
|
}
|
|
}
|