Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
Convert to TypeScript and modernize build
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed May 4, 2020
1 parent 1f3336d commit b0ac326
Show file tree
Hide file tree
Showing 14 changed files with 2,858 additions and 4,411 deletions.
13 changes: 0 additions & 13 deletions .babelrc

This file was deleted.

16 changes: 8 additions & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"extends": [
"plugin:github/browser",
"plugin:github/es6",
"plugin:github/browser"
"plugin:github/typescript"
],
"parser": "babel-eslint",
"globals": {
"DetailsDialogElement": "readable"
},
"overrides": [
{
"files": "test/**/*.js",
"env": {
"mocha": true
},
"globals": {
"assert": true
"rules": {
"github/unescaped-html-literal": "off"
}
}
]
}
}
9 changes: 0 additions & 9 deletions .flowconfig

This file was deleted.

File renamed without changes.
6 changes: 3 additions & 3 deletions index.html → example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="utf-8">
<!-- <script type="text/javascript" src="dist/index.umd.js"></script> -->
<script type="text/javascript" src="https://unpkg.com/@github/details-dialog-element@latest"></script>
<!-- <script type="module" src="../dist/index.js"></script> -->
<script type="module" src="https://unpkg.com/@github/details-dialog-element@latest"></script>
<script type="text/javascript" src="https://unpkg.com/@github/include-fragment-element@latest"></script>
<title>details-dialog-element demo</title>
<link href="./index.css" rel="stylesheet">
<link href="../src/index.css" rel="stylesheet">
<link href="https://unpkg.com/primer@latest/build/build.css" rel="stylesheet">
<style>
.details-with-dialog[open] > summary {
Expand Down
12 changes: 0 additions & 12 deletions index.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions index.js.flow

This file was deleted.

Loading

0 comments on commit b0ac326

Please sign in to comment.