diff --git a/bsconfig.json b/bsconfig.json index c9b1d2f..aa51ed0 100644 --- a/bsconfig.json +++ b/bsconfig.json @@ -13,10 +13,14 @@ "subdirs": true } ], - "package-specs": { - "module": "commonjs", - "in-source": true - }, - "bs-dev-dependencies": ["rescript-nodejs"], - "suffix": ".bs.js" + "package-specs": [ + { + "module": "es6", + "in-source": true + } + ], + "suffix": ".bs.js", + "refmt": 3, + "jsx": { "version": 4, "mode": "classic" }, + "bs-dev-dependencies": ["rescript-nodejs"] } diff --git a/package.json b/package.json index a9ceac2..7da0cbe 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "version": "0.1.4", "scripts": { "clean": "rescript clean", - "build": "rescript build", - "watch": "rescript build -w" + "build": "rescript build -with-deps", + "watch": "rescript build -w -with-deps" }, "keywords": [ "rescript", @@ -15,12 +15,12 @@ ], "author": "Emile Rolley ", "license": "MIT", + "dependencies": { + "docx": "^8.2.3" + }, "devDependencies": { "file-saver": "^2.0.5", "rescript": "^10.1.4", "rescript-nodejs": "^15.0.0" - }, - "dependencies": { - "docx": "^8.2.2" } } diff --git a/yarn.lock b/yarn.lock index 5ceb6af..406b8f0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,10 +12,10 @@ core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -docx@^8.2.2: - version "8.2.2" - resolved "https://registry.yarnpkg.com/docx/-/docx-8.2.2.tgz#9d280920a657493521df2fb8def9f7cfd8a05de4" - integrity sha512-dWI5WfD/fDCLdjIA7CcDzV/1uyBD+mmr7jDLTUN997hcbPz56E701Kf1EEWdibdH9kk+0tFSmE+C0jTlkRZ7kQ== +docx@^8.2.3: + version "8.2.3" + resolved "https://registry.yarnpkg.com/docx/-/docx-8.2.3.tgz#9389a7db582afcf27dba68a8e8e54eb692769c15" + integrity sha512-Rlr/wPTDh+xQpFew3m4zYQ5OWEZO36HItyPCUbGdicB+ar4zIgseeJdqfcZIY0uQtMSrhGRpSFOTjii7h9cpHw== dependencies: "@types/node" "^20.3.1" jszip "^3.10.1"