This repository has been archived by the owner on Feb 11, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ESM module entry point to package * Move `main` to `module` in package.json * Generate commonjs output and set to `main` * Sync package.json and package-lock.json * Remove dead eslint global * Remove rollup-plugin-node-resolve * Output ESM file properly * Use babel to support IE11 * Ignore dist folder during dev * * Use `rollup-plugin-serve` * Consolidate rollup watch and static server into `npm start` * Update README to use `npm start` * Add index.html file to support navigating to /examples using static server
- Loading branch information
Mark Kennedy
committed
Aug 18, 2019
1 parent
d655275
commit fe00cc3
Showing
12 changed files
with
112 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
module.exports = { | ||
presets: ['@babel/preset-typescript'], | ||
presets: [ | ||
'@babel/preset-typescript', | ||
[ | ||
'@babel/preset-env', | ||
{ | ||
useBuiltIns: 'usage', | ||
corejs: 3, | ||
targets: { | ||
browsers: ['last 2 versions', 'ie >= 11'], | ||
}, | ||
}, | ||
], | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,4 @@ module.exports = { | |
es6: true, | ||
mocha: true, | ||
}, | ||
globals: { | ||
YT: true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ | |
/node_modules | ||
*.log | ||
.coverage | ||
.rpt2_cache | ||
.rpt2_cache | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<html lang="en-us"> | ||
<head> | ||
<title>Examples</title> | ||
</head> | ||
|
||
<body> | ||
<ul> | ||
<li> | ||
<a href="scroll-to-element.html">scroll-to-element.html</a> | ||
</li> | ||
<li><a href="vertical-scroll.html">vertical-scroll.html</a></li> | ||
</ul> | ||
</body> | ||
</html> |
Oops, something went wrong.