Skip to content

Commit

Permalink
Fix isolatedModules + export type issue; Up version to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
quaos committed Feb 6, 2021
1 parent 4a7288e commit 9d2b338
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions egg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "https://x.nest.land/[email protected]/src/schema.json",
"name": "html-react-transformer",
"entry": "./mod.ts",
"description": "Tool for Transforming HTML/DOM to React element in Deno",
"homepage": "https://github.com/quaos/deno-html-react-transformer",
"version": "1.0.1",
"files": [
"README.md",
"package.json",
"tsconfig.json",
"src/**/*.ts",
"src/**/*.tsx",
"example/src/**/*.ts",
"example/src/**/*.tsx",
"example/public/**/*.html",
"example/public/**/*.png"
],
"ignore": [],
"checkFormat": false,
"checkTests": false,
"checkInstallation": false,
"check": true,
"unlisted": false
}
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export type { TransformerContext } from "./src/context.ts";

export { TransformerContext } from "./src/context.ts";
export { Transformer, TransformerEvent } from "./src/transformer.ts";
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deno-html-react-transformer",
"version": "1.0.0",
"version": "1.0.1",
"description": "Deno HTML-to-React Transformer",
"author": {
"name": "Chakrit W.",
Expand All @@ -20,7 +20,7 @@
"github": "https://github.com/quaos/deno-html-react-transformer"
},
"scripts": {
"test": "deno test",
"test": "deno test --allow-read --config tsconfig.json ",
"cache": "deno cache src/deps/*.ts",
"example:build": "deno bundle --config tsconfig.json example/src/client.tsx example/public/assets/js/client.bundle.js",
"example:run": "deno run --allow-net --allow-read --allow-run example/src/server.ts --browse example",
Expand Down

0 comments on commit 9d2b338

Please sign in to comment.