13 Commits

Author SHA1 Message Date
Joe Pea
dec679d4ed chore: convert the project to type:module (ES Module mode); update prettier, typescript, and rollup; remove sinonjs because of too much complexity getting it to work in ESM mode and instead mock performance.now ourselves for our tests, which ends up being simpler anyway!; get browser tests in nodeunit.html working; party 🎉 2023-04-22 20:47:40 -07:00
Joe Pea
825bd2b466 fix: restore default export for backwards compat
Brings back default exports for backwards compatibility, but this time in a way that works with AMD and CJS module formats without build tool hacks. Uses rollup-plugin-dts to generate the type declaration for the bundle output, removing the brittle regex-based wrangling we were doing.
2020-10-20 00:01:09 -07:00
Joe Pea
49f6e7560e fix the exports so that they are ES Module compliant (don't use CommonJS typed export in TypeScript)
This keeps backwards compatibility with how the CommonJS, UMD, and AMD modules work, but fixes the TypeScript ESM exports.
2020-10-19 00:44:49 -07:00
Joe Pea
419765bc83 update contributor guide and publish scripts 2020-10-18 14:45:19 -07:00
Joe Pea
c5e00b8137 remove unused file 2020-06-03 01:42:59 -07:00
Joe Pea
8b87aede89 enable TypeScript strict mode and fix type errors 2020-06-02 23:50:20 -07:00
Joe Pea
bf4048706e format all files in the project now that we have prettier. Yay! 2020-06-02 23:29:00 -07:00
Alex Rodin
846d3de5e9 Migration to Typescript maintaining backward compatibility 2019-12-15 13:39:21 -03:00
Mike Casebolt
1cd55b10e7 Replace const with var in version declaration. 2019-12-09 10:29:56 -08:00
mikebolt
bc8d79acef Add scripts to insert current npm version into build. 2019-11-05 22:36:23 -08:00
mikebolt
84d2c2f0b7 remove github auto push 2019-09-02 13:30:45 -07:00
mikebolt
8103142a7b Try to fix automatic github push 2019-09-02 13:11:53 -07:00
mikebolt
f23a1b14ce add GitHub push for builds 2019-09-02 12:21:59 -07:00