Skip to content

Commit

Permalink
refactor(stat-logger): Convert RESM to NESM
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Aug 11, 2021
1 parent c6d7af4 commit ceba76f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions packages/stat-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "@agoric/stat-logger",
"version": "0.4.17",
"description": "Simple library for logging and graphing performance statistics",
"parsers": {
"js": "mjs"
},
"type": "module",
"main": "src/index.js",
"repository": "https://github.com/Agoric/agoric-sdk",
"author": "Agoric",
Expand All @@ -23,8 +21,7 @@
"vega-canvas": "^1.2.1"
},
"devDependencies": {
"ava": "^3.12.1",
"esm": "agoric-labs/esm#Agoric-built"
"ava": "^3.12.1"
},
"publishConfig": {
"access": "public"
Expand All @@ -33,9 +30,6 @@
"files": [
"test/**/test-*.js"
],
"require": [
"esm"
],
"timeout": "2m"
},
"eslintConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/stat-logger/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ export {
addDataToGraphSpec,
addGraphToGraphSpec,
renderGraph,
} from './statGraph';
export { makeStatLogger } from './statLogger';
} from './statGraph.js';
export { makeStatLogger } from './statLogger.js';

0 comments on commit ceba76f

Please sign in to comment.