{ "name": "marionette", "description": "A JavaScript library for structured interfaces, with explicit ownership and lifecycle. Built with agent-led development in mind.", "version": "5.1.1", "type": "module", "homepage": "https://marionettejs.com/", "engines": { "node": "^22.22.2 || >=24.15.0" }, "packageManager": "npm@11.17.0", "browser": "dist/marionette.umd.js", "main": "dist/marionette.cjs", "module": "dist/marionette.js", "types": "dist/types/esm/index.d.ts", "exports": { ".": { "import": { "types": "./dist/types/esm/index.d.ts", "default": "./dist/marionette.js" }, "require": { "types": "./dist/types/cjs/index.d.ts", "default": "./dist/marionette.cjs" }, "default": "./dist/marionette.js" }, "./package.json": "./package.json", "./eslint": { "import": { "types": "./dist/eslint/index.d.ts", "default": "./dist/eslint/index.js" }, "require": { "types": "./dist/eslint/index.d.cts", "default": "./dist/eslint/index.cjs" } } }, "files": [ "dist/", "readme.md", "license.txt", "changelog.md", "llms.txt" ], "sideEffects": false, "browserslist": [ "baseline widely available" ], "keywords": [ "javascript", "typescript", "ui", "application-architecture", "lifecycle", "marionette" ], "license": "MIT", "scripts": { "build": "npm run build:utils && npm run build:radio && npm run check:types && node build/clean.js && rollup -c rollup.config.mjs --noConflict && npm run build:types && npm run build:data && npm run build:adapters && npm run build:test && npm run build:router && npm run test:types && npm run docs:package", "build:adapters": "npm --prefix packages/adapters run build", "build:data": "npm --prefix packages/data run build", "check:browser-profile": "node scripts/checks/browser-profile.mjs", "check:diagnostics": "node scripts/diagnostics/check-catalog.mjs", "check:docs-examples": "node test/docs/reference-examples.mjs", "check:docs-installed": "node test/docs/installed-package.mjs", "check:release-promotion": "node scripts/release/preflight.mjs", "check:release-profile": "node scripts/checks/release-profile.mjs", "coverage": "vitest run --coverage", "docs:build": "node scripts/docs/build.mjs", "docs:check": "node scripts/docs/agent-routes.mjs && node --test test/docs/export.test.mjs && npm run check:docs-examples && npm run docs:build && node scripts/docs/check-links.mjs && npm run docs:package && npm run check:docs-installed", "lint:base": "eslint --config eslint.config.mjs .", "lint": "npm run lint:base -- --max-warnings=0", "lint:ci": "npm run lint:base -- --max-warnings=0", "performance:timing": "npm run build && node scripts/performance/timing.mjs", "performance:router": "node test/router/benchmark/run.mjs", "release:artifact": "node scripts/release/build-artifact.mjs", "release:github": "node scripts/release/publish-github.mjs", "release:targets": "node scripts/release/check-targets.mjs", "release:verify": "node scripts/release/verify-artifact.mjs", "size": "npm run build && node scripts/performance/bundle-size.mjs && npm run size:data && npm run size:adapters", "size:adapters": "node scripts/performance/adapters-package-size.mjs", "size:data": "node scripts/performance/data-package-size.mjs", "test": "vitest run", "test:agent-benchmark-contract": "node --test test/agent-benchmark/*.test.mjs", "test:browser": "playwright test", "test:dist": "node test/dist/validate.mjs", "test:fixtures": "node test/fixtures/run.mjs", "test:performance": "node --test test/performance/*.test.mjs", "test:release-promotion": "node --test test/release/*.test.mjs", "test:data": "vitest run test/unit/data-package", "test:source": "node test/source/validate.mjs", "prepare": "node build/prepare.mjs", "check:types": "tsc -p tsconfig.json", "test:types": "node test/types/run.mjs", "build:types": "node build/declarations.mjs", "build:utils": "npm --prefix packages/utils run build", "build:radio": "npm --prefix packages/radio run build", "docs:export": "node scripts/docs/export.mjs", "docs:package": "node scripts/docs/package.mjs", "test:agent-docs": "node --test test/agent-docs/*.test.mjs", "release:validate": "node scripts/release/validate-candidate.mjs", "test:tooling": "node --test test/release/*.test.mjs test/performance/*.test.mjs test/docs/*.test.mjs test/agent-benchmark/*.test.mjs test/tooling/*.test.mjs test/agent-docs/*.test.mjs test/router/*.test.mjs", "lint:fix": "npm run lint:base -- --fix", "test:unit": "vitest run", "test:watch": "vitest", "verify": "node scripts/checks/verify.mjs", "check:public-tests": "node scripts/checks/public-tests.mjs", "check:workflows": "node scripts/checks/workflows.mjs", "coverage:tooling": "c8 --config config/tooling-coverage.json npm run test:tooling && node scripts/checks/tooling-coverage.mjs", "agent:cache": "node scripts/agent-benchmark/cache-environment.mjs", "agent:reference": "node scripts/agent-benchmark/run.mjs reference", "agent:fixtures": "node scripts/agent-benchmark/run.mjs fixtures", "agent:app": "node scripts/agent-benchmark/serve.mjs", "test:agent-app": "playwright test --config test/agent-benchmark/playwright.config.mjs", "test:model": "vitest run test/unit/model-based", "test:mutation": "node scripts/testing/mutation.mjs", "check:api-contracts": "node scripts/api-contracts/check.mjs", "performance:browser": "npm run build && node scripts/performance/browser.mjs", "test:browser-performance": "node scripts/performance/browser.mjs --profile validation", "performance:retention": "npm run build && node scripts/performance/retention.mjs", "test:docs-production": "node test/docs/production-package.mjs", "build:test": "npm --prefix packages/test run build", "test:helpers": "vitest run test/unit/test-package", "test:helpers:consumer": "node test/examples/verify-test-package.mjs", "build:html": "npm --prefix packages/html run build", "test:html": "npm --prefix packages/html run check", "test:html:browser": "npm --prefix packages/html run test:browser", "lint:html": "eslint --config packages/html/eslint.config.mjs packages/html/src packages/html/scripts packages/html/test --max-warnings=0", "coverage:html": "npm --prefix packages/html run build && cd packages/html && node ../../node_modules/c8/bin/c8.js --config coverage.json node --conditions=development --test --test-concurrency=1 test/*.test.mjs && node scripts/check-coverage.mjs", "test:html:current-core": "npm run build && npm --prefix packages/html run build && cd packages/html && node scripts/check-current-core.mjs", "docs:prepare-html": "node scripts/docs/prepare-html.mjs", "build:router": "npm --prefix packages/router run build", "test:router-package": "node test/router/package.mjs", "test:router-tarball": "node test/router/tarball.mjs", "router:prepare": "node test/router/prepare.mjs", "test:router-tooling": "node --test test/router/artifact.test.mjs", "test:router-browser": "playwright test --config playwright.router.config.mjs", "test:browser:core-release": "playwright test --config playwright.core-release.config.mjs", "docs:check-router": "node test/docs/router-companion.mjs", "test:package-compatibility": "node test/package-compatibility/run.mjs", "release:outputs": "node scripts/release/build-outputs.mjs" }, "bugs": { "url": "https://github.com/marionettejs/marionette/issues" }, "repository": { "type": "git", "url": "https://github.com/marionettejs/marionette.git" }, "github": "https://github.com/marionettejs/marionette", "devDependencies": { "@babel/core": "7.29.13", "@babel/plugin-transform-typescript": "7.29.9", "@babel/preset-env": "7.29.14", "@cypress/mount-utils": "5.0.0", "@eslint/js": "10.0.1", "@playwright/test": "1.65.1", "@reduxjs/toolkit": "2.14.0", "@rollup/plugin-babel": "7.1.0", "@rollup/plugin-json": "6.1.0", "@rollup/plugin-terser": "1.0.2", "@stryker-mutator/core": "10.1.1", "@stryker-mutator/vitest-runner": "10.1.1", "@testing-library/dom": "10.4.2", "@types/backbone": "1.4.23", "@types/jquery": "4.0.1", "@typescript-eslint/eslint-plugin": "8.73.0", "@typescript-eslint/parser": "8.73.0", "@vitest/coverage-v8": "5.1.0", "@vitest/eslint-plugin": "1.6.28", "ajv": "8.20.0", "backbone": "^1.4.0", "backbone.radio": "2.0.0", "browserslist": "4.29.6", "c8": "12.0.0", "eslint": "10.15.0", "eslint-plugin-jsdoc": "65.4.10", "fast-check": "4.10.2", "globals": "17.14.0", "jquery": "4.0.0", "jsdom": "31.0.1", "lit-html": "3.3.3", "marionette": "file:.", "marked": "18.2.1", "morphdom": "2.7.8", "rollup": "4.68.5", "terser": "5.51.2", "typescript": "6.0.3", "underscore": "^1.13.0", "urlpattern-polyfill": "10.1.0", "vite": "8.3.8", "vitest": "5.1.0", "xstate": "5.33.4", "yaml": "2.9.1" }, "allowScripts": { "fsevents@2.3.3": true }, "workspaces": [ "packages/utils", "packages/radio", "packages/router" ], "dependencies": { "@mnjs/radio": "5.1.1", "@mnjs/utils": "5.1.1" }, "overrides": { "@stryker-mutator/core": { "typed-rest-client": { "qs": "6.17.1" } }, "minimatch": "11.0.4", "test-exclude": { "glob": "14.0.3" } }, "peerDependencies": { "eslint": "^10.0.0" }, "peerDependenciesMeta": { "eslint": { "optional": true } } }