Skip to content

Commit dcb8920

Browse files
committed
Add simple static site generator in tools/
1 parent bb629e2 commit dcb8920

File tree

6 files changed

+523
-0
lines changed

6 files changed

+523
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/node_modules/
22
/lib/
33

4+
/tools/node_modules/
5+
/tools/lib/
6+
47
# Compiler output
58
/lit-html.d.ts
69
/lit-html.js
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
declare module 'front-matter' {
2+
function frontMatter(content: string): {
3+
attributes: object;
4+
body: string;
5+
frontmatter: string;
6+
};
7+
export = frontMatter;
8+
}

tools/package-lock.json

+241
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/package.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "lit-html-tools",
3+
"private": true,
4+
"dependencies": {
5+
"@types/fs-extra": "^5.0.0",
6+
"@types/glob": "^5.0.35",
7+
"@types/marked": "^0.3.0",
8+
"@types/prismjs": "^1.9.0",
9+
"front-matter": "^2.3.0",
10+
"fs-extra": "^5.0.0",
11+
"glob": "^7.1.2",
12+
"marked": "^0.3.12",
13+
"prismjs": "^1.10.0"
14+
}
15+
}

0 commit comments

Comments
 (0)