forked from xcatliu/pagic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.ts
36 lines (31 loc) · 1.91 KB
/
deps.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
export * as fs from 'https://deno.land/[email protected]/fs/mod.ts';
export * as path from 'https://deno.land/[email protected]/path/mod.ts';
export * as colors from 'https://deno.land/[email protected]/fmt/colors.ts';
export * as server from 'https://deno.land/[email protected]/http/server.ts';
export * as asserts from 'https://deno.land/[email protected]/testing/asserts.ts';
// @deno-types="https://cdn.pagic.org/@types/[email protected]/index.d.ts"
import * as React from 'https://cdn.pagic.org/[email protected]/esnext/react.development.js';
// @deno-types="https://cdn.pagic.org/@types/[email protected]/index.d.ts"
import * as ReactDOM from 'https://cdn.pagic.org/[email protected]/esnext/react-dom.development.js';
// @deno-types="https://cdn.pagic.org/@types/[email protected]/server/index.d.ts"
import * as ReactDOMServer from 'https://cdn.pagic.org/[email protected]/esnext/server.development.js';
(window as any).React = React;
(window as any).ReactDOM = ReactDOM;
export { React, ReactDOM, ReactDOMServer };
// @deno-types="./src/types/any.d.ts"
import frontMatter from 'https://dev.jspm.io/[email protected]';
// @deno-types="./src/types/any.d.ts"
import htmlToTextMod from 'https://dev.jspm.io/[email protected]';
const { htmlToText } = htmlToTextMod;
// @deno-types="./src/types/any.d.ts"
import MarkdownIt from 'https://dev.jspm.io/[email protected]';
// @deno-types="./src/types/any.d.ts"
import reactElementToJSXStringMod from 'https://dev.jspm.io/[email protected]';
const reactElementToJSXString = reactElementToJSXStringMod.default;
// @deno-types="./src/types/any.d.ts"
import reactHtmlParserMod from 'https://dev.jspm.io/[email protected]';
const reactHtmlParser = reactHtmlParserMod.default;
// @deno-types="./src/types/any.d.ts"
import * as typescriptMod from 'https://dev.jspm.io/[email protected]';
const typescript = typescriptMod.default;
export { frontMatter, htmlToText, MarkdownIt, reactElementToJSXString, reactHtmlParser, typescript };