diff --git a/packages/rdf-utils/package.json b/packages/rdf-utils/package.json index 2e06fd0..733325b 100644 --- a/packages/rdf-utils/package.json +++ b/packages/rdf-utils/package.json @@ -15,7 +15,9 @@ "./package.json": "./package.json" }, "scripts": { - "build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json", + "build": "rimraf dist && npm run build:cjs && npm run build:esm", + "build:cjs": "tsc --project tsconfig.cjs.json && node ../../scripts/rename-to-cjs.js", + "build:esm": "tsc --project tsconfig.esm.json", "watch": "tsc --watch", "test": "jest --coverage", "test:watch": "jest --watch", @@ -50,4 +52,4 @@ "access": "public" }, "gitHead": "840910c56ec3f61416f031cc76771a5673af6757" -} +} \ No newline at end of file