Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
},
"scripts": {
"preinstall": "npx --yes only-allow pnpm",
- "prepare": "node prepare.js",
+ "prepare": "node prepare.mjs",
"build": "rollup --config --environment BUILD:development",
"build:prod": "rollup --config",
"build:typedoc": "rollup --config --environment DOCUMENTATION,BUILD:development",
+++ /dev/null
-const { env } = require('node:process')
-
-const isCIEnvironment = env.CI != null
-if (isCIEnvironment === false) {
- require('husky').install()
-}
--- /dev/null
+import { env } from 'node:process'
+import { install } from 'husky'
+
+const isCIEnvironment = env.CI != null
+if (isCIEnvironment === false) {
+ install()
+}