mirror of
https://github.com/LamGC/wp-asciiplayer.git
synced 2026-10-12 23:33:55 +00:00
Refresh player with native block editor preview and local assets
Preserve shortcode rendering, normalize options, bundle the player locally, and add reproducible packaging and WordPress integration tests.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user