support esm modules

This commit is contained in:
MichalTarasiuk 2024-03-08 19:36:06 +01:00
parent 765cc0c7cf
commit dcbdb0ccb7
11 changed files with 43 additions and 38 deletions

View file

@ -1,6 +1,7 @@
{
"name": "next-enterprise",
"version": "0.0.0",
"type": "module",
"private": true,
"scripts": {
"dev": "cross-env FORCE_COLOR=1 next dev",
@ -20,7 +21,7 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"preinstall": "npx npm-only-allow@latest --PM yarn",
"postinstall": "npx patch-package -y",
"coupling-graph": "npx madge --extensions js,jsx,ts,tsx,css,md,mdx ./ --exclude '.next|tailwind.config.js|reset.d.ts|prettier.config.js|postcss.config.js|playwright.config.ts|next.config.js|next-env.d.ts|instrumentation.ts|e2e/|README.md|.storybook/|.eslintrc.js' --image graph.svg"
"coupling-graph": "npx madge --extensions js,jsx,ts,tsx,css,md,mdx ./ --exclude '.next|tailwind.config.js|reset.d.ts|prettier.config.js|postcss.config.cjs|playwright.config.ts|next.config.js|next-env.d.ts|instrumentation.ts|e2e/|README.md|.storybook/|.eslintrc.cjs' --image graph.svg"
},
"dependencies": {
"@next/bundle-analyzer": "^14.0.3",