-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
82 lines (82 loc) · 2.86 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
{
"name": "@sv443-network/userutils",
"libName": "UserUtils",
"version": "8.4.0",
"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",
"types": "./dist/lib/index.d.ts"
}
},
"type": "module",
"scripts": {
"lint": "eslint . && tsc --noEmit",
"build-types": "tsc --emitDeclarationOnly --declaration --outDir dist",
"build-common": "tsup lib/index.ts --format cjs,esm --clean --treeshake",
"build-all": "tsup lib/index.ts --format cjs,esm,iife --treeshake --onSuccess \"npm run build-types && npm run post-build-global && echo Finished building.\"",
"build": "npm run build-common -- && npm run build-types",
"post-build-global": "npm run node-ts -- ./tools/post-build-global.mts",
"dev": "npm run build-common -- --sourcemap --watch --onSuccess \"npm run build-types && echo Finished building.\"",
"dev-all": "npm run build-all -- --watch",
"update-jsr-version": "npm run node-ts -- ./tools/update-jsr-version.mts",
"publish-package": "changeset publish",
"publish-package-jsr": "npm run update-jsr-version && npx jsr publish --allow-dirty",
"change": "changeset",
"node-ts": "node --no-warnings=ExperimentalWarning --enable-source-maps --loader ts-node/esm",
"test-serve": "npm run node-ts -- ./test/TestPage/server.mts",
"test-dev": "cd test/TestScript && npm run dev",
"test": "concurrently \"npm run test-serve\" \"npm run 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",
"@types/express": "^4.17.21",
"@types/greasemonkey": "^4.0.7",
"@types/node": "^20.17.10",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.1",
"express": "^4.21.2",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"files": [
"/dist/index.js",
"/dist/index.cjs",
"/dist/index.mjs",
"/dist/index.global.js",
"/dist/lib/**.d.ts",
"/package.json",
"/README.md",
"/CHANGELOG.md",
"/LICENSE.txt"
]
}