{"_id":"@ansi-art/cli-gui","name":"@ansi-art/cli-gui","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@ansi-art/cli-gui","version":"0.0.1","type":"module","main":"dist/index.mjs","module":"src/index.mjs","commonjs":"dist/index.cjs","exports":{".":{"import":"./src/index.mjs","require":"./dist/index.cjs"},"./package.json":{"import":"./package.json","require":"./package.json"},"./src/index.mjs":{"import":"./src/index.mjs","require":"./dist/index.cjs"},"./dist/index.cjs":{"import":"./src/index.mjs","require":"./dist/index.cjs"}},"homepage":"https://github.com/ansi-art/cli-gui","description":"A simple paneled abstraction for terminal GUIs","keywords":[],"author":{"name":"Abbey Hawk Sparrow","email":"khrome","url":"http://abbeyhawksparrow.com"},"contributors":[],"repository":{"type":"git","url":"git+ssh://git@github.com/ansi-art/cli-gui.git"},"bugs":{"url":"https://github.com/ansi-art/cli-gui/issues"},"moka":{"firefox":{"engine":"@open-automaton/playwright-mining-engine","options":{"type":"firefox"}},"chrome":{"engine":"@open-automaton/playwright-mining-engine","options":{"type":"chromium"}},"safari":{"engine":"@open-automaton/playwright-mining-engine","options":{"type":"webkit"}},"stub":"node_modules/@open-automaton/moka/src/stub.mjs","stubs":["express","module","os","fs","path"],"shims":{"chai":"node_modules/chai/chai.js","browser-or-node":"node_modules/browser-or-node/src/index.js"}},"license":"MIT","devDependencies":{"@babel/cli":"^7.22.5","@babel/core":"^7.22.5","@babel/plugin-transform-modules-commonjs":"^7.22.5","@environment-safe/chai":"^0.2.0","@environment-safe/commonjs-builder":"^0.0.3","@environment-safe/console-intercept":"^0.1.0","@environment-safe/jsdoc-builder":"^0.0.2","@open-automaton/moka":"^0.5.2","babel-plugin-search-and-replace":"^1.1.1","babel-plugin-transform-import-meta":"^2.2.0","chai":"^4.3.7","eslint":"^8.43.0","husky":"^8.0.3","mocha":"^10.2.0"},"scripts":{"lint":"eslint src/*.mjs test/*.mjs","test":"npm run import-test; npm run browser-test; npm run require-test","import-test":"mocha test/test.mjs","require-test":"mocha test/test.cjs","build-commonjs":"./node_modules/@environment-safe/commonjs-builder/bin/build.mjs","local-server":"open 'http://localhost:8085/' ; npx http-server -p 8085","headless-browser-test":"npm run headless-chrome-test; npm run headless-firefox-test; npm run headless-safari-test","headless-chrome-test":"moka --server . --browser chrome test/test.mjs","headless-firefox-test":"moka --server . --browser firefox test/test.mjs","headless-safari-test":"moka --server . --browser safari test/test.mjs","browser-test":"moka --server . --local-browser test/test.mjs","container-test":"docker build . -t environment-safe-package.json -f ./containers/test.dockerfile; docker logs --follow \"$(docker run -d environment-safe-package.json)\"","build-docs":"build-jsdoc docs","build-types":"build-jsdoc types","add-generated-files-to-commit":"git add docs/*.md; git add src/*.d.ts; git add dist/*.cjs","prepare":"husky install"},"dependencies":{"@ansi-art/color":"^3.0.0-alpha4","@ansi-art/interactive-input":"^0.0.1","@ansi-art/table":"^3.0.0-alpha3","@ansi-art/tools":"^3.0.0-alpha5","browser-or-node":"^2.1.1"},"_id":"@ansi-art/cli-gui@0.0.1","gitHead":"938f2123f096ae61a86c88b6cfab664701c6f029","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-n74d2Xf8AVwNqczvt2aRMf6I8HW+4/yu+1HbZOw58Umn8uyOF5CW5CEAbQroskDNesP/ydRNiA/mN+97Dy2clw==","shasum":"dc5d4caa380407898038a19d8d981d66eef0bd22","tarball":"https://registry.npmjs.org/@ansi-art/cli-gui/-/cli-gui-0.0.1.tgz","fileCount":18,"unpackedSize":28806,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+SmO3yVSNr4uTqMl1NTAsXNJ2ogJklpRJGNZqlyidsgIhAIBxJgxqKhoibrtSHWgLvE5zNqbURl41+m/itv8pMwjG"}]},"_npmUser":{"name":"khrome","email":"abbey@khrome.net"},"directories":{},"maintainers":[{"name":"khrome","email":"abbey@khrome.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli-gui_0.0.1_1735703892249_0.7236520134696203"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-01T03:58:12.105Z","0.0.1":"2025-01-01T03:58:12.447Z","modified":"2025-01-01T03:58:12.704Z"},"maintainers":[{"name":"khrome","email":"abbey@khrome.net"}],"description":"A simple paneled abstraction for terminal GUIs","homepage":"https://github.com/ansi-art/cli-gui","keywords":[],"repository":{"type":"git","url":"git+ssh://git@github.com/ansi-art/cli-gui.git"},"contributors":[],"author":{"name":"Abbey Hawk Sparrow","email":"khrome","url":"http://abbeyhawksparrow.com"},"bugs":{"url":"https://github.com/ansi-art/cli-gui/issues"},"license":"MIT","readme":"cli-gui\n============================\nBuild GUIs on the commandline\n\nUsage\n-----\n\nTesting\n-------\n\nRun the es module tests to test the root modules\n```bash\nnpm run import-test\n```\nto run the same test inside the browser:\n\n```bash\nnpm run browser-test\n```\nto run the same test headless in chrome:\n```bash\nnpm run headless-browser-test\n```\n\nto run the same test inside docker:\n```bash\nnpm run container-test\n```\n\nRun the commonjs tests against the `/dist` commonjs source (generated with the `build-commonjs` target).\n```bash\nnpm run require-test\n```\n\nDevelopment\n-----------\nAll work is done in the .mjs files and will be transpiled on commit to commonjs and tested.\n\nIf the above tests pass, then attempt a commit which will generate .d.ts files alongside the `src` files and commonjs classes in `dist`\n\n","readmeFilename":"README.md"}