-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
88 lines (88 loc) · 2.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "@sv443-network/userutils",
"libName": "UserUtils",
"version": "9.0.4",
"description": "Lightweight 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 much more",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/lib/index.d.ts",
"exports": {
".": {
"browser": "./dist/index.global.js",
"types": "./dist/lib/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"type": "module",
"scripts": {
"lint": "eslint . && tsc --noEmit",
"build-types": "tsc --emitDeclarationOnly --declaration --outDir dist && node --import tsx ./tools/fix-dts.mts",
"build-common": "tsup lib/index.ts --format cjs,esm --clean --treeshake",
"build-all": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"pnpm build-types && pnpm post-build-global\"",
"build": "pnpm build-common -- && pnpm build-types",
"post-build-global": "node --import tsx ./tools/post-build-global.mts",
"dev": "pnpm build-common -- --sourcemap --watch --onSuccess \"pnpm build-types\"",
"dev-all": "pnpm build-all -- --watch",
"update-jsr-version": "node --import tsx ./tools/update-jsr-version.mts",
"publish-package": "changeset publish",
"publish-package-jsr": "pnpm update-jsr-version && npx jsr publish --allow-dirty",
"check-jsr": "npx jsr publish --allow-dirty --dry-run",
"change": "changeset",
"test-serve": "node --import tsx ./test/TestPage/server.mts",
"test-dev": "cd test/TestScript && pnpm dev",
"test": "concurrently \"pnpm test-serve\" \"pnpm test-dev\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/Sv443-Network/UserUtils.git"
},
"keywords": [
"userscript",
"utilities"
],
"author": {
"name": "Sv443",
"url": "https://github.com/Sv443"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Sv443-Network/UserUtils/issues"
},
"homepage": "https://github.com/Sv443-Network/UserUtils",
"dependencies": {
"nanoevents": "^9.1.0"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
"@eslint/eslintrc": "^3.2.0",
"@types/express": "^4.17.21",
"@types/greasemonkey": "^4.0.7",
"@types/node": "^22.10.5",
"@types/tx2": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"@typescript-eslint/utils": "^8.21.0",
"concurrently": "^8.2.2",
"eslint": "^9.18.0",
"express": "^4.21.2",
"globals": "^15.14.0",
"kleur": "^4.1.5",
"tslib": "^2.8.1",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
},
"files": [
"/dist/index.js",
"/dist/index.cjs",
"/dist/index.mjs",
"/dist/index.global.js",
"/dist/index.umd.js",
"/dist/lib/**.d.ts",
"/package.json",
"/README-summary.md",
"/CHANGELOG.md",
"/LICENSE.txt"
]
}