11{
2- "name" : " @elysiajs/html" ,
3- "version" : " 0.8.0-rc.1" ,
4- "description" : " Plugin for Elysia that add support for returning html" ,
5- "author" : {
6- "name" : " saltyAom" ,
7- "url" : " https://github.com/SaltyAom" ,
8- 2+ "name" : " @elysiajs/html" ,
3+ "version" : " 0.8.0-rc.0" ,
4+ "description" : " Plugin for Elysia that add support for returning html" ,
5+ "author" : {
6+ "name" : " saltyAom" ,
7+ "url" : " https://github.com/SaltyAom" ,
8+ 9+ },
10+ "main" : " ./dist/index.js" ,
11+ "exports" : {
12+ "." : {
13+ "bun" : " ./dist/index.js" ,
14+ "node" : " ./dist/cjs/index.js" ,
15+ "require" : " ./dist/cjs/index.js" ,
16+ "import" : " ./dist/index.js" ,
17+ "default" : " ./dist/index.js"
918 },
10- "main" : " ./dist/index.js" ,
11- "exports" : {
12- "." : {
13- "bun" : " ./dist/index.js" ,
14- "node" : " ./dist/cjs/index.js" ,
15- "require" : " ./dist/cjs/index.js" ,
16- "import" : " ./dist/index.js" ,
17- "default" : " ./dist/index.js"
18- },
19- "./htmx" : {
20- "bun" : " ./dist/html.js" ,
21- "node" : " ./dist/cjs/htmx.js" ,
22- "require" : " ./dist/cjs/htmx.js" ,
23- "import" : " ./dist/htmx.js" ,
24- "default" : " ./dist/htmx.js"
25- },
26- "./hotwire" : {
27- "bun" : " ./dist/hotwire.js" ,
28- "node" : " ./dist/cjs/hotwire.js" ,
29- "require" : " ./dist/cjs/hotwire.js" ,
30- "import" : " ./dist/hotwire.js" ,
31- "default" : " ./dist/hotwire.js"
32- }
19+ "./htmx" : {
20+ "bun" : " ./dist/html.js" ,
21+ "node" : " ./dist/cjs/htmx.js" ,
22+ "require" : " ./dist/cjs/htmx.js" ,
23+ "import" : " ./dist/htmx.js" ,
24+ "default" : " ./dist/htmx.js"
3325 },
34- "types" : " ./src/index.ts" ,
35- "keywords" : [
36- " elysia" ,
37- " html"
38- ],
39- "homepage" : " https://github.com/elysiajs/elysia-html" ,
40- "repository" : {
41- "type" : " git" ,
42- "url" : " https://github.com/elysiajs/elysia-html"
43- },
44- "bugs" : " https://github.com/elysiajs/elysia-html/issues" ,
45- "license" : " MIT" ,
46- "scripts" : {
47- "dev" : " bun run --watch example/index.tsx" ,
48- "test" : " bun test && npm run test:node" ,
49- "test:node" : " npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js" ,
50- "build" : " rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json" ,
51- "release" : " npm run build && npm run test && npm publish --access public" ,
52- "format" : " prettier --write ."
53- },
54- "peerDependencies" : {
55- "elysia" : " >= 0.8.0-rc.0"
56- },
57- "devDependencies" : {
58- "@elysiajs/stream" : " ^0.7.2" ,
59- "@types/node" : " ^20.7.2" ,
60- "bun-types" : " ^1.0.3" ,
61- "elysia" : " 0.8.0-rc.0" ,
62- "eslint" : " ^8.50.0" ,
63- "rimraf" : " ^5.0.5" ,
64- "typescript" : " ^5.2.2"
65- },
66- "dependencies" : {
67- "@kitajs/html" : " ^3.0.2" ,
68- "@kitajs/ts-html-plugin" : " ^1.2.0"
26+ "./hotwire" : {
27+ "bun" : " ./dist/hotwire.js" ,
28+ "node" : " ./dist/cjs/hotwire.js" ,
29+ "require" : " ./dist/cjs/hotwire.js" ,
30+ "import" : " ./dist/hotwire.js" ,
31+ "default" : " ./dist/hotwire.js"
32+ }
33+ },
34+ "types" : " ./src/index.ts" ,
35+ "keywords" : [
36+ " elysia" ,
37+ " html"
38+ ],
39+ "homepage" : " https://github.com/elysiajs/elysia-html" ,
40+ "repository" : {
41+ "type" : " git" ,
42+ "url" : " https://github.com/elysiajs/elysia-html"
43+ },
44+ "bugs" : " https://github.com/elysiajs/elysia-html/issues" ,
45+ "license" : " MIT" ,
46+ "scripts" : {
47+ "dev" : " bun run --watch example/index.tsx" ,
48+ "test" : " bun test && npm run test:node" ,
49+ "test:node" : " npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js" ,
50+ "build" : " rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json" ,
51+ "release" : " npm run build && npm run test && npm publish --access public" ,
52+ "format" : " prettier --write ."
53+ },
54+ "peerDependencies" : {
55+ "elysia" : " >= 0.8.0-rc.0"
56+ },
57+ "devDependencies" : {
58+ "@elysiajs/stream" : " ^0.7.2" ,
59+ "@types/node" : " ^20.7.2" ,
60+ "bun-types" : " ^1.0.3" ,
61+ "elysia" : " 0.8.0-rc.2" ,
62+ "eslint" : " ^8.50.0" ,
63+ "rimraf" : " ^5.0.5" ,
64+ "typescript" : " ^5.2.2"
65+ },
66+ "dependencies" : {
67+ "@kitajs/html" : " ^3.0.2" ,
68+ "@kitajs/ts-html-plugin" : " ^1.2.0"
69+ },
70+ "peerDependenciesMeta" : {
71+ "@kitajs/html" : {
72+ "optional" : true
6973 },
70- "peerDependenciesMeta" : {
71- "@kitajs/html" : {
72- "optional" : true
73- },
74- "@kitajs/ts-html-plugin" : {
75- "optional" : true
76- }
74+ "@kitajs/ts-html-plugin" : {
75+ "optional" : true
7776 }
77+ }
7878}
0 commit comments