UNPKG

@stacksjs/stx

Version:

A performant UI Framework. Powered by Bun.

114 lines (113 loc) 4.04 kB
{ "name": "@stacksjs/stx", "type": "module", "version": "0.2.5", "description": "A performant UI Framework. Powered by Bun.", "author": "Chris Breuer <chris@stacksjs.org>", "license": "MIT", "homepage": "https://github.com/stacksjs/stx#readme", "repository": { "type": "git", "url": "git+https://github.com/stacksjs/stx.git" }, "bugs": { "url": "https://github.com/stacksjs/stx/issues" }, "keywords": [ "blade", "css", "bun", "stx", "plugin", "generation", "typescript", "stacks" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./jsx-runtime": { "types": "./dist/jsx-runtime.d.ts", "import": "./dist/jsx-runtime.js" }, "./jsx-dev-runtime": { "types": "./dist/jsx-runtime.d.ts", "import": "./dist/jsx-runtime.js" }, "./craft": { "types": "./dist/craft-entry.d.ts", "import": "./dist/craft.js" }, "./database": { "types": "./dist/database.d.ts", "import": "./dist/database.js" }, "./ssg": { "types": "./dist/ssg.d.ts", "import": "./dist/ssg.js" }, "./pwa": { "types": "./dist/pwa.d.ts", "import": "./dist/pwa.js" }, "./visual-testing": { "types": "./dist/visual-testing.d.ts", "import": "./dist/visual-testing.js" }, "./bundle-analyzer": { "types": "./dist/bundle-analyzer.d.ts", "import": "./dist/bundle-analyzer.js" }, "./*": { "import": "./dist/*" } }, "module": "./dist/index.js", "types": "./dist/index.d.ts", "bin": { "stx": "./dist/cli.js" }, "files": [ "LICENSE.md", "README.md", "dist" ], "scripts": { "build": "bun run build:css && bun --bun build.ts", "build:css": "bun ./scripts/build-css.ts", "css:watch": "bun ./scripts/watch-css.ts", "compile": "bun build ./bin/cli.ts --compile --minify --outfile ./bin/stx", "compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64", "compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile ./bin/stx-linux-x64", "compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile ./bin/stx-linux-arm64", "compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile ./bin/stx-windows-x64.exe", "compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile ./bin/stx-darwin-x64", "compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile ./bin/stx-darwin-arm64", "zip": "bun run zip:all", "zip:all": "bun run zip:linux-x64 && bun run zip:linux-arm64 && bun run zip:windows-x64 && bun run zip:darwin-x64 && bun run zip:darwin-arm64", "zip:linux-x64": "zip -j bin/stx-linux-x64.zip bin/stx-linux-x64", "zip:linux-arm64": "zip -j bin/stx-linux-arm64.zip bin/stx-linux-arm64", "zip:windows-x64": "zip -j bin/stx-windows-x64.zip bin/stx-windows-x64.exe", "zip:darwin-x64": "zip -j bin/stx-darwin-x64.zip bin/stx-darwin-x64", "zip:darwin-arm64": "zip -j bin/stx-darwin-arm64.zip bin/stx-darwin-arm64", "lint": "bunx --bun pickier lint", "lint:fix": "bunx --bun pickier lint --fix", "fresh": "bunx rimraf node_modules/ bun.lock && bun i", "changelog": "bunx changelogen --output CHANGELOG.md", "prepublishOnly": "bun run build", "test": "bun test --preload ./happy-dom.ts", "test:watch": "bun test --watch --preload ./happy-dom.ts", "test:coverage": "bun test --coverage --preload ./happy-dom.ts", "typecheck": "bun tsc --noEmit" }, "dependencies": { "@stacksjs/clapp": "^0.2.0", "@stacksjs/desktop": "0.2.5", "@stacksjs/sanitizer": "0.2.5", "bun-plugin-stx": "0.2.5", "bunfig": "^0.15.6", "ts-syntax-highlighter": "^0.2.1" } }