Parcourir la source

feat: add package.json exports prop

Sv443 il y a 11 mois
Parent
commit
6ad28b6fcb
2 fichiers modifiés avec 173 ajouts et 586 suppressions
  1. 172 586
      package-lock.json
  2. 1 0
      package.json

Fichier diff supprimé car celui-ci est trop grand
+ 172 - 586
package-lock.json


+ 1 - 0
package.json

@@ -5,6 +5,7 @@
   "description": "Library with various utilities for userscripts - register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and more",
   "main": "dist/index.js",
   "module": "dist/index.mjs",
+  "exports": "./lib/index.ts",
   "types": "dist/lib/index.d.ts",
   "scripts": {
     "lint": "tsc --noEmit && eslint .",

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff