{ "name": "@typhonjs-plugin/manager", "description": "Provides a plugin manager & eventbus for Node and in the browser.", "version": "0.2.0", "author": "Michael Leahy (https://github.com/typhonrt)", "type": "module", "imports": { "#runtime/plugin/manager/*": "@typhonjs-plugin/manager/*", "#runtime/util/loader-module": "@typhonjs-utils/loader-module", "#runtime/util/object": "@typhonjs-utils/object" }, "exports": { ".": { "node": { "types": "./dist/manager/node/index.d.ts", "default": "./dist/manager/node/index.js" }, "browser": { "types": "./dist/manager/browser/index.d.ts", "default": "./dist/manager/browser/index.js" } }, "./eventbus": { "types": "./dist/eventbus/index.d.ts", "import": "./dist/eventbus/index.js" }, "./eventbus/buses": { "types": "./dist/eventbus/buses/index.d.ts", "import": "./dist/eventbus/buses/index.js" }, "./src/manager": { "import": "./src/manager/index.js" }, "./package.json": "./package.json" }, "contributors": [ "Michael Leahy (https://github.com/typhonrt)" ], "devDependencies": { "@typhonjs-build-test/esm-d-ts": "^0.3.0-next.9", "@typhonjs-build-test/node-browser": "^0.0.5", "@typhonjs-build-test/rollup-plugin-pkg-imports": "^0.6.0", "@typhonjs-plugin/eventbus": "^0.2.0", "@typhonjs-typedoc/typedoc-pkg": "^0.3.1", "@typhonjs-utils/loader-module": "^0.2.0", "@typhonjs-utils/object": "^0.4.0", "rollup": "^4.34.7" }, "engines": { "node": ">=18" }, "files": [ "/dist", "/src", "/types" ], "homepage": "https://github.com/typhonjs-node-plugin/manager", "keywords": [ "typhonjs", "plugin", "manager" ], "typedocOptions": { "dmtLinksService": { "Discord": "https://typhonjs.io/discord/", "GitHub": "https://github.com/typhonjs-node-plugin/manager", "NPM": "https://www.npmjs.com/package/@typhonjs-plugin/manager" } }, "license": "MPL-2.0", "repository": "github:typhonjs-node-plugin/manager", "bugs": "https://github.com/typhonjs-node-plugin/manager/issues", "apidocs": "https://typhonjs-node-plugin.github.io/manager/", "scripts": { "checkJs": "esm-d-ts check src/manager/index.js", "bundle": "rollup --config", "docs": "typedoc-pkg --api-link es", "eslint": "eslint .", "posttest-browser": "nyc report --exclude-after-remap=true --reporter=lcov --reporter=text-summary --report-dir=coverage-browser", "pretest-browser": "rollup --config rollup.config.browser-test.js", "pretest-node": "npm run bundle", "prepublishOnly": "npm run eslint && npm run test-node && npm run test-browser", "test-browser": "node ./test/src/browser/run.js", "test-node": "c8 --exclude-after-remap=true --reporter=lcov --reporter=text-summary mocha -colors \"test/src/node/**/*.test.js\" --timeout 10000" } }