0x1
Version:
157 lines (156 loc) • 4.42 kB
JSON
{
"name": "0x1",
"version": "0.0.379",
"description": "0x1: Lightning-fast web framework for JavaScript/TypeScript with zero overhead and maximum performance, powered by Bun",
"type": "module",
"main": "dist/index.js",
"types": "dist/types/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/types/*"
],
"jsx-runtime": [
"dist/types/jsx-runtime.d.ts"
],
"jsx-dev-runtime": [
"dist/types/jsx-runtime.d.ts"
],
"jsx": [
"dist/types/jsx.d.ts"
],
"jsx-import-source": [
"dist/types/jsx-import-source.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./link": {
"types": "./dist/types/link.d.ts",
"import": "./dist/link.js",
"default": "./dist/link.js"
},
"./router": {
"types": "./dist/types/router.d.ts",
"import": "./dist/core/router.js",
"default": "./dist/core/router.js"
},
"./core/*": {
"types": "./dist/types/*.d.ts",
"import": "./dist/core/*.js",
"default": "./dist/core/*.js"
},
"./jsx-runtime": {
"types": "./dist/types/jsx-runtime.d.ts",
"import": "./dist/jsx-runtime.js",
"default": "./dist/jsx-runtime.js"
},
"./jsx-dev-runtime": {
"types": "./dist/types/jsx-runtime.d.ts",
"import": "./dist/jsx-dev-runtime.js",
"default": "./dist/jsx-dev-runtime.js"
},
"./jsx": {
"types": "./dist/types/jsx.d.ts"
},
"./store": {
"types": "./dist/types/store.d.ts",
"import": "./dist/core/store.js",
"default": "./dist/core/store.js"
}
},
"bin": {
"0x1": "./bin/0x1"
},
"preferUnplugged": true,
"files": [
"dist",
"templates",
"bin",
"types",
"LICENSE"
],
"npmignore": [
"node_modules",
"templates/**/node_modules",
"**/node_modules",
"**/.git",
"**/dist",
"**/.cache"
],
"scripts": {
"test": "bun test",
"dev": "bun run build:framework",
"build": "bun run build:clean && bun run build:framework && bun run build:validate && bun run build:cli",
"build:clean": "rm -rf dist && mkdir -p dist",
"build:framework": "bun run scripts/build-framework.ts",
"build:validate": "bun run scripts/validate-build.ts",
"build:cli": "bun run scripts/build-cli-with-size.js",
"build:templates": "echo 'Templates copied during framework build'",
"fix-ts": "bun run scripts/fix-transpiled-js.js",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx",
"format": "prettier --write '**/*.{ts,tsx,js,jsx,json,md}'",
"update-version": "bun run scripts/update-version.ts",
"prepare": "bun run update-version && bun run build",
"publish-package": "bun run prepare && npm publish",
"build:hooks": "bun build src/core/hooks.ts --outdir dist/core --target browser --format esm"
},
"keywords": [
"bun",
"0x1",
"framework",
"typescript",
"minimal",
"performance",
"spa"
],
"author": "TriexDev",
"license": "TDLv1",
"homepage": "https://0x1.onl",
"repository": {
"type": "git",
"url": "https://github.com/Triex/0x1"
},
"engines": {
"bun": ">=1.0.0",
"node": ">=20.0.0"
},
"devDependencies": {
"@types/bun": "latest",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"typescript": "^5.4.5"
},
"dependencies": {
"@tailwindcss/postcss": "^4.1.7",
"lightningcss": "^1.24.0",
"postcss": "^8.5.3",
"prompts": "^2.4.2",
"sharp": "^0.33.2",
"tailwindcss": "^4.1.7",
"zod": "^3.22.4"
},
"comments": {
"removedDependencies": {
"chokidar": "Replaced with Bun.watch() API",
"compression": "Replaced with Bun's built-in HTTP compression",
"execa": "Replaced with Bun.spawn()",
"fast-glob": "Replaced with Bun.glob()",
"kleur": "Replaced with Bun's console styling",
"opener": "Replaced with Bun's shell execution",
"picocolors": "Replaced with Bun's console styling",
"serve-static": "Replaced with Bun's built-in HTTP server"
},
"templateStatus": {
"crypto-dash": "Template exists but not yet set up or stable - not ready for release"
}
}
}