@dschz/bun-plugin-solid
Version:
A Bun plugin for transforming SolidJS TSX/JSX files at runtime or build time using Babel. Supports SSR and DOM output.
76 lines (75 loc) • 2.08 kB
JSON
{
"name": "@dschz/bun-plugin-solid",
"description": "A Bun plugin for transforming SolidJS TSX/JSX files at runtime or build time using Babel. Supports SSR and DOM output.",
"version": "1.0.4",
"author": "Daniel Sanchez",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"keywords": [
"bun",
"plugin",
"solid",
"solidjs",
"jsx",
"ssr",
"babel",
"tsx"
],
"files": [
"dist"
],
"scripts": {
"build:pkg": "bun build src/index.ts --outdir dist --target bun --external @babel/core --external @babel/preset-typescript --external babel-preset-solid",
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist",
"build": "bun run build:pkg && bun run build:types",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"pkg:changeset": "changeset",
"pkg:version": "changeset version",
"pkg:publish": "bun run build && changeset publish",
"test": "vitest run",
"test:cov": "vitest run --coverage",
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@babel/core": ">=7.24.0",
"@babel/preset-typescript": ">=7.24.0",
"babel-preset-solid": ">=1.8.9"
},
"devDependencies": {
"@babel/core": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@changesets/cli": "^2.29.3",
"@types/babel__core": "^7.20.5",
"@types/bun": "^1.2.12",
"@vitest/coverage-istanbul": "^3.1.3",
"babel-preset-solid": "^1.9.6",
"eslint": "^9.26.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^16.1.0",
"jiti": "^2.4.2",
"prettier": "^3.5.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.0",
"vitest": "^3.1.3"
},
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"engines": {
"bun": ">=1.2.0"
},
"browser": {},
"typesVersions": {}
}