@sv443-network/userutils 7.1.0 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +185 -74
- package/dist/index.global.js +204 -190
- package/dist/index.js +203 -190
- package/dist/lib/Dialog.d.ts +6 -33
- package/dist/lib/NanoEmitter.d.ts +2 -2
- package/dist/lib/colors.d.ts +18 -0
- package/dist/lib/crypto.d.ts +24 -0
- package/dist/lib/dom.d.ts +8 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/misc.d.ts +7 -31
- package/dist/lib/types.d.ts +10 -0
- package/package.json +5 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sv443-network/userutils",
|
|
3
3
|
"libName": "UserUtils",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.2.0",
|
|
5
5
|
"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",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -11,11 +11,14 @@
|
|
|
11
11
|
"lint": "tsc --noEmit && eslint .",
|
|
12
12
|
"build-types": "tsc --emitDeclarationOnly --declaration --outDir dist",
|
|
13
13
|
"build-common": "tsup lib/index.ts --format cjs,esm --clean --treeshake",
|
|
14
|
-
"build-all": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"npm run post-build-global && echo Finished building.\"",
|
|
14
|
+
"build-all": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"npm run build-types && npm run post-build-global && echo Finished building.\"",
|
|
15
15
|
"build": "npm run build-common -- && npm run build-types",
|
|
16
16
|
"post-build-global": "npm run node-ts -- ./tools/post-build-global.mts",
|
|
17
17
|
"dev": "npm run build-common -- --sourcemap --watch --onSuccess \"npm run build-types && echo Finished building.\"",
|
|
18
|
+
"dev-all": "npm run build-all -- --watch",
|
|
19
|
+
"update-jsr-version": "npm run node-ts -- ./tools/update-jsr-version.mts",
|
|
18
20
|
"publish-package": "changeset publish",
|
|
21
|
+
"publish-package-jsr": "npm run update-jsr-version && npx jsr publish",
|
|
19
22
|
"node-ts": "node --no-warnings=ExperimentalWarning --enable-source-maps --loader ts-node/esm",
|
|
20
23
|
"test-serve": "npm run node-ts -- ./test/TestPage/server.mts",
|
|
21
24
|
"test-dev": "cd test/TestScript && npm run dev",
|