From 7fd1fa6e51f70ce0525750e8fb7c5f2d16753cd1 Mon Sep 17 00:00:00 2001 From: Markus Felten Date: Tue, 15 Jan 2019 21:28:19 +0100 Subject: [PATCH] fix(package): module def --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index fdb8b30c..a3e2e840 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "publishConfig": { "access": "public" }, - "main": "dist/expander.js", - "module": "src/expander.js", + "main": "src/expander.mjs", + "module": "src/expander.mjs", "description": "Expands expressions in config files", "keywords": [ "config", @@ -18,9 +18,9 @@ "license": "BSD-2-Clause", "scripts": { "cover": "c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage", - "docs": "documentation readme src/expander.js --section=API", - "lint": "documentation lint src/expander.js", - "posttest": "markdown-doctest && npm run prepare", + "docs": "documentation readme src/expander.mjs --section=API", + "lint": "documentation lint src/expander.mjs", + "posttest": "markdown-doctest", "test": "ava" }, "dependencies": {