Ensure all package files make use of commonjs explicit

This commit is contained in:
Lovell Fuller
2023-10-05 20:00:32 +01:00
parent f8cf25ca56
commit 58e3c4c70e
10 changed files with 13 additions and 3 deletions

View File

@@ -103,13 +103,14 @@
"docs-serve": "cd docs && npx serve",
"docs-publish": "cd docs && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"
},
"type": "commonjs",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"binding.gyp",
"install/**",
"lib/**",
"src/**"
"install",
"lib",
"src"
],
"repository": {
"type": "git",