diff --git a/.babelrc.js b/.babelrc.js
deleted file mode 100644
index 48226a6..0000000
--- a/.babelrc.js
+++ /dev/null
@@ -1,40 +0,0 @@
-const ignore = [
- '**/__test__/**',
-]
-const presets = [
- ["@babel/flow"],
- ["@babel/react"],
- ["@babel/env"],
-]
-const plugins = [
- "@babel/plugin-transform-runtime",
- "@babel/plugin-proposal-object-rest-spread",
- "@babel/plugin-proposal-class-properties",
-]
-
-module.exports = {
- env: {
- development: {
- ignore,
- presets,
- plugins,
- },
- production: {
- ignore,
- presets,
- plugins,
- },
- test: {
- presets,
- plugins,
- },
- module: {
- ignore,
- presets: [
- ["@babel/flow"],
- ["@babel/env", { targets: '', modules: false }],
- ],
- plugins,
- },
- }
-}
diff --git a/.browserslistrc b/.browserslistrc
deleted file mode 100644
index 9d47586..0000000
--- a/.browserslistrc
+++ /dev/null
@@ -1,8 +0,0 @@
-# Build for Node
-node 8
-# Build for most browsers
-> 1%
-
-# No generator support
-not ie <= 11
-not operamini all
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index 9adf46f..0000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- "extends": ["standard", "prettier", "plugin:jest/recommended"],
- "plugins": ["flowtype", "prettier", "react"],
- "parser": "babel-eslint",
- "parserOptions": {
- "jsx": true
- },
- "rules": {
- "react/jsx-uses-react": 2,
- "react/jsx-uses-vars": 2,
- "flowtype/define-flow-type": 2,
- "prettier/prettier": [
- "error",
- {
- "parser": "flow",
- "singleQuote": true,
- "bracketSpacing": true,
- "semi": false
- }
- ]
- }
-}
diff --git a/.flowconfig b/.flowconfig
deleted file mode 100644
index 5b5e774..0000000
--- a/.flowconfig
+++ /dev/null
@@ -1,8 +0,0 @@
-[ignore]
-.*.json$
-
-[include]
-
-[libs]
-
-[options]
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index f27d450..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-browser
-coverage
-dist-lib
-dist-popup
-lib
-module
-node_modules
diff --git a/.nvmrc b/.nvmrc
deleted file mode 100644
index f599e28..0000000
--- a/.nvmrc
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 17c0cd7..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-language: node_js
-node_js:
- - 10
- - 12
- - node
- - lts/*
-env:
- - DEFAULT_NODE_VERSION=10
-script:
- - npm test
-after_success:
- - if [ "$TRAVIS_NODE_VERSION" == "$DEFAULT_NODE_VERSION" ]; then
- npm install coveralls;
- node_modules/.bin/jest --coverage --coverageReporters=text-lcov |
- node_modules/.bin/coveralls;
- ./.travis_publish;
- fi
diff --git a/.travis_publish b/.travis_publish
deleted file mode 100755
index f3931f5..0000000
--- a/.travis_publish
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-REPO_NAME="solid/solid-auth-client"
-PUBLICATION_BRANCH=gh-pages
-
-# Only publish from the main repository's master branch
-if [ "$TRAVIS_REPO_SLUG" != "$REPO_NAME" ] || [ "$TRAVIS_BRANCH" != "master" ] || [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit; fi
-echo -e "Building $PUBLICATION_BRANCH...\n"
-
-# Checkout the branch
-REPO_PATH=$PWD
-pushd $HOME
-git clone --quiet --depth=1 --branch=$PUBLICATION_BRANCH https://${GH_TOKEN}@github.com/$REPO_NAME publish 2>&1 > /dev/null
-cd publish
-
-# Don't update if already at the latest version
-if [[ `git log -1 --pretty=%B` == *$TRAVIS_COMMIT* ]]; then exit; fi
-
-# Update pages
-rm -r * 2> /dev/null
-mkdir dist
-cp $REPO_PATH/README* .
-cp -r $REPO_PATH/dist-lib/* dist
-cp -r $REPO_PATH/dist-popup/* dist
-
-# Commit and push latest version
-git add .
-git config user.name "Travis"
-git config user.email "travis@travis-ci.org"
-git commit -m "Update to $TRAVIS_COMMIT."
-git push -fq origin $PUBLICATION_BRANCH 2>&1 > /dev/null
-popd
diff --git a/LICENSE.md b/LICENSE.md
deleted file mode 100644
index 5d7c4c9..0000000
--- a/LICENSE.md
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2017 - present
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/README.md b/README.md
index a8b4264..42271d7 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,10 @@ a [Node Solid Server](https://github.com/solid/node-solid-server/).
or [solid-auth-fetcher](https://github.com/solid/solid-auth-fetcher) instead,
which leverage the secure DPoP authentication mechanism
from the current [Solid specification](https://solid.github.io/authentication-panel/solid-oidc/),
-as implemented by [all the various Solid server implementations](https://github.com/solid/test-suite).**
+as implemented by
+the [Community Solid Server](https://github.com/solid/community-server/)
+and
+the [Enterprise Solid Server](https://inrupt.com/products/enterprise-solid-server/).**
## Usage
In the browser, the library is accessible through `solid.auth`:
diff --git a/bin/solid-auth-client.js b/bin/solid-auth-client.js
deleted file mode 100755
index 3d9b6e9..0000000
--- a/bin/solid-auth-client.js
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/usr/bin/env node
-
-const fs = require('fs')
-const path = require('path')
-
-const program = require('commander')
-
-const { version } = require('../package.json')
-
-// helpers
-
-function ns(fn) {
- return function (...args) {
- fn('[solid-auth-client]', ...args)
- }
-}
-
-const log = ns(console.log)
-const warn = ns(console.log)
-
-const issueUrl = 'https://github.com/solid/solid-auth-client/issues'
-
-// CLI
-
-program
- .version(version)
- .command('generate-popup [app-name] [filename]')
- .description(
- 'build a secure login app named for your application. ' +
- '[app-name] is the name of your app. (default "the application") ' +
- '[filename] is the name of the popup html file. (default "popup.html").'
- )
- .action(generatePopup)
-
-program.parse(process.argv)
-
-// Show help if called with no arguments
-if (!process.argv.slice(2).length) {
- program.outputHelp()
-}
-
-// generatePopup command
-
-function generatePopup(appName = '', filename = 'popup.html') {
- log(`Generating "${filename}" with app name "${appName}".`)
-
- const templateFilename = path.resolve(
- __dirname,
- '..',
- 'dist-popup/popup-template.html'
- )
- if (!fs.existsSync(templateFilename)) {
- warn(
- `Could not find popup template. Expected it to be located at "${templateFilename}". Please file a bug at ${issueUrl}`
- )
- return
- }
-
- let popupTemplateBuffer
- try {
- popupTemplateBuffer = fs.readFileSync(templateFilename)
- } catch (err) {
- warn(`Could not read the popup template. Please file a bug at ${issueUrl}`)
- console.error(err)
- return
- }
-
- const popupBuffer = popupTemplateBuffer
- .toString()
- .replace(/['"]{{APP_NAME}}['"]/g, JSON.stringify(appName))
-
- try {
- fs.writeFileSync(filename, popupBuffer)
- } catch (err) {
- warn(`Could not write the popup to "${filename}".`)
- console.error(err)
- return
- }
-
- log(`Popup is generated and available at "${filename}"!`)
-}
diff --git a/demo/components/App.js b/demo/components/App.js
deleted file mode 100644
index 4bcf427..0000000
--- a/demo/components/App.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// @flow
-import React from 'react'
-
-import AuthButtons from './AuthButtons'
-import Copy from './Copy'
-import PersonalInfo from './PersonalInfo'
-import Footer from './Footer'
-
-const App = () => (
-
-
-
-
-
-
-)
-
-export default App
diff --git a/demo/components/AuthButtons.js b/demo/components/AuthButtons.js
deleted file mode 100644
index 13bdb6a..0000000
--- a/demo/components/AuthButtons.js
+++ /dev/null
@@ -1,41 +0,0 @@
-// @flow
-import React from 'react'
-import auth from '../../src/'
-
-const popupUri = process.env.POPUP_URI
-
-export default class AuthButtons extends React.Component