|
@@ -5,14 +5,15 @@
|
|
|
"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.js",
|
|
|
+ "types": "dist/lib/index.d.ts",
|
|
|
"exports": {
|
|
|
".": {
|
|
|
"import": "./dist/index.js",
|
|
|
"require": "./dist/index.cjs",
|
|
|
- "browser": "./dist/index.global.js"
|
|
|
+ "browser": "./dist/index.global.js",
|
|
|
+ "types": "./dist/lib/index.d.ts"
|
|
|
}
|
|
|
},
|
|
|
- "types": "dist/lib/index.d.ts",
|
|
|
"type": "module",
|
|
|
"scripts": {
|
|
|
"lint": "tsc --noEmit && eslint .",
|