Skip to content

Commit

Permalink
Merge pull request #13 from github/typescript
Browse files Browse the repository at this point in the history
Replace Babel + Flow with TypeScript
  • Loading branch information
dgraham authored Apr 10, 2020
2 parents e590481 + 7c204e7 commit 04adc05
Show file tree
Hide file tree
Showing 13 changed files with 154 additions and 1,291 deletions.
26 changes: 0 additions & 26 deletions .eslintrc.json

This file was deleted.

11 changes: 0 additions & 11 deletions .flowconfig

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Annotate fields to be persisted on navigation away from the current page.
Fields be automatically restored when the user revists the page again in
their current browser session (excludes separate tabs).

Not design for persisted crash recovery.
Not designed for persisted crash recovery.

## Installation

Expand Down
3 changes: 0 additions & 3 deletions index.d.ts

This file was deleted.

5 changes: 4 additions & 1 deletion test/karma.config.js → karma.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
module.exports = function (config) {
config.set({
frameworks: ['mocha', 'chai'],
files: ['../dist/session-resume.umd.js', 'test.js'],
files: [
{pattern: 'dist/index.js', type: 'module'},
{pattern: 'test/test.js', type: 'module'}
],
reporters: ['mocha'],
port: 9876,
colors: true,
Expand Down
Loading

0 comments on commit 04adc05

Please sign in to comment.