Skip to content

Commit

Permalink
chore(deps): added validate-package-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
webdeveric committed Mar 25, 2024
1 parent daa2a7a commit a0fe88f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 77 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@
"scripts": {
"clean": "rimraf ./coverage/ ./dist/",
"prebuild": "pnpm clean",
"validate": "validate-package-exports --check --verify",
"build": "tsc --build tsconfig.cjs.json tsconfig.mjs.json --force",
"postbuild": "echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && echo '{\"type\":\"module\"}' > ./dist/mjs/package.json",
"postbuild": "echo '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json && echo '{\"type\":\"module\"}' > ./dist/mjs/package.json && pnpm validate",
"lint": "eslint ./*{js,cjs,mjs,mts} ./src ./test",
"typecheck": "tsc --build --verbose",
"spellcheck": "cspell --no-progress './{.github,src,test}/**/*.{ts,js,json}' './*.{md,js}' './package.json'",
Expand Down Expand Up @@ -118,6 +119,7 @@
"rimraf": "^5.0.5",
"superagent": "^8.1.2",
"typescript": "^5.4.3",
"validate-package-exports": "^0.1.0",
"vitest": "^1.4.0",
"webpack": "^5.91.0",
"webpack-dev-server": "^5.0.4",
Expand Down
108 changes: 32 additions & 76 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a0fe88f

Please sign in to comment.