mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-20 07:12:58 -05:00
Changed initial states for keepAspectRatio, showTitle, and responsive options in MediaShareEmbed to improve default embed behavior. Also simplified aspect ratio change logic by removing unit options adjustments.
MediaCMS Web Client (demo)
Requirements
- nodejs: version >= 14.17.0
Installation
npm install
Development
npm run start
Open in browser: http://localhost:8088
Build
npm run dist
Generates the folder "frontend/dist".
Copy folders and files from "frontend/dist/static" into "static".
Test Scripts
test
Run all unit tests once.
npm run test
test-watch
Run tests in watch mode for development.
npm run test-watch
test-coverage
Run tests with coverage reporting in ./coverage folder.
npm run test-coverage
test-coverage-watch
Run tests with coverage in watch mode.
npm run test-coverage-watch