diff --git a/package.json b/package.json index 3c8bf5d..bc71873 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "postinstall": "cd website && npm install", "reset": "git clean -dfx && git reset --hard && npm i", "clean": "recursive-delete build && recursive-delete tmp && recursive-delete website/build && recursive-delete website/static/data && recursive-delete website/docs/api", - "start-release": "node ./scripts/start-release.mjs" + "start-release": "node ./scripts/start-release.js" }, "dependencies": { "d3": "7.9.0" diff --git a/scripts/release-notes.js b/scripts/release-notes.js index 06eccc4..aa6afa0 100644 --- a/scripts/release-notes.js +++ b/scripts/release-notes.js @@ -1,5 +1,5 @@ -const fs = require('fs'); -const path = require('path'); +import fs from 'fs'; +import path from 'path'; const changelog = fs.readFileSync(path.resolve('./CHANGELOG.md'), 'utf8'); const changelogSeparator = '\n---'; diff --git a/scripts/start-release.mjs b/scripts/start-release.js similarity index 100% rename from scripts/start-release.mjs rename to scripts/start-release.js