diff --git a/.babelrc b/.babelrc
deleted file mode 100644
index 6576d6c..0000000
--- a/.babelrc
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "env": {
- "esm": {
- "presets": ["@babel/flow"]
- },
- "umd": {
- "plugins": [
- "@babel/plugin-transform-modules-umd"
- ],
- "presets": ["@babel/env", "@babel/flow"]
- }
- }
-}
diff --git a/.eslintrc.json b/.eslintrc.json
index 8cf9610..01fa5c2 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,8 +1,8 @@
{
"extends": [
- "plugin:github/es6",
+ "plugin:github/recommended",
"plugin:github/browser",
- "plugin:github/flow"
+ "plugin:github/typescript"
],
- "parser": "babel-eslint"
+ "overrides": [{"files": "**/*.js", "parser": "espree", "parserOptions": {"ecmaVersion": 8}}]
}
diff --git a/.flowconfig b/.flowconfig
deleted file mode 100644
index 60e7050..0000000
--- a/.flowconfig
+++ /dev/null
@@ -1,9 +0,0 @@
-[ignore]
-
-[include]
-
-[libs]
-
-[options]
-
-[lints]
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
index 5e0d2cb..5677620 100644
--- a/.github/workflows/nodejs.yml
+++ b/.github/workflows/nodejs.yml
@@ -1,24 +1,24 @@
name: Node CI
-on:
- pull_request:
- branches:
- - master
+on: [push]
jobs:
build:
-
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
strategy:
+ fail-fast: false
matrix:
- node-version: [10.x, 12.x]
+ os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- - uses: actions/checkout@v1
- - name: Use Node.js ${{ matrix.node-version }}
+ - name: Set git to not change EoL
+ run: |
+ git config --global core.autocrlf false
+ - uses: actions/checkout@v2
+ - name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
- node-version: ${{ matrix.node-version }}
+ node-version: 12.x
- name: npm install, build, and test
run: |
npm install
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index a19f461..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-language: node_js
-sudo: required
-node_js:
- - "node"
-addons:
- chrome: stable
-cache:
- directories:
- - node_modules
diff --git a/CODEOWNERS b/CODEOWNERS
new file mode 100644
index 0000000..e6bf555
--- /dev/null
+++ b/CODEOWNERS
@@ -0,0 +1 @@
+* @github/web-systems-reviewers
diff --git a/check-all.js.flow b/check-all.js.flow
deleted file mode 100644
index 296dbc2..0000000
--- a/check-all.js.flow
+++ /dev/null
@@ -1,7 +0,0 @@
-/* @flow strict */
-
-interface Subscription {
- unsubscribe: () => void
-}
-
-declare export default function checkAll(container: Element): Subscription;
diff --git a/examples/index.html b/examples/index.html
index 0cd826e..3002366 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -13,15 +13,10 @@
-
-
-
-
-
+