|
@@ -14,6 +14,11 @@
|
|
"import": "./dist/index.js"
|
|
"import": "./dist/index.js"
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ "engines": {
|
|
|
|
+ "pnpm": ">=9",
|
|
|
|
+ "npm": "please-use-pnpm",
|
|
|
|
+ "yarn": "please-use-pnpm"
|
|
|
|
+ },
|
|
"type": "module",
|
|
"type": "module",
|
|
"scripts": {
|
|
"scripts": {
|
|
"lint": "eslint . && tsc --noEmit",
|
|
"lint": "eslint . && tsc --noEmit",
|
|
@@ -29,9 +34,11 @@
|
|
"publish-package-jsr": "pnpm update-jsr-version && npx jsr publish --allow-dirty",
|
|
"publish-package-jsr": "pnpm update-jsr-version && npx jsr publish --allow-dirty",
|
|
"check-jsr": "npx jsr publish --allow-dirty --dry-run",
|
|
"check-jsr": "npx jsr publish --allow-dirty --dry-run",
|
|
"change": "changeset",
|
|
"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\""
|
|
|
|
|
|
+ "test-gm-serve": "node --import tsx ./test/TestPage/server.mts",
|
|
|
|
+ "test-gm-dev": "cd test/TestScript && pnpm dev",
|
|
|
|
+ "test-gm": "concurrently \"pnpm test-gm-serve\" \"pnpm test-gm-dev\"",
|
|
|
|
+ "test": "vitest",
|
|
|
|
+ "test-dev": "vitest --watch"
|
|
},
|
|
},
|
|
"repository": {
|
|
"repository": {
|
|
"type": "git",
|
|
"type": "git",
|
|
@@ -56,6 +63,7 @@
|
|
"devDependencies": {
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.27.11",
|
|
"@changesets/cli": "^2.27.11",
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
"@eslint/eslintrc": "^3.2.0",
|
|
|
|
+ "@testing-library/dom": "^10.4.0",
|
|
"@types/express": "^4.17.21",
|
|
"@types/express": "^4.17.21",
|
|
"@types/greasemonkey": "^4.0.7",
|
|
"@types/greasemonkey": "^4.0.7",
|
|
"@types/node": "^22.10.5",
|
|
"@types/node": "^22.10.5",
|
|
@@ -67,11 +75,13 @@
|
|
"eslint": "^9.18.0",
|
|
"eslint": "^9.18.0",
|
|
"express": "^4.21.2",
|
|
"express": "^4.21.2",
|
|
"globals": "^15.14.0",
|
|
"globals": "^15.14.0",
|
|
|
|
+ "jsdom": "^26.0.0",
|
|
"kleur": "^4.1.5",
|
|
"kleur": "^4.1.5",
|
|
"tslib": "^2.8.1",
|
|
"tslib": "^2.8.1",
|
|
"tsup": "^8.3.5",
|
|
"tsup": "^8.3.5",
|
|
"tsx": "^4.19.2",
|
|
"tsx": "^4.19.2",
|
|
- "typescript": "^5.7.3"
|
|
|
|
|
|
+ "typescript": "^5.7.3",
|
|
|
|
+ "vitest": "^3.0.9"
|
|
},
|
|
},
|
|
"files": [
|
|
"files": [
|
|
"/dist/index.js",
|
|
"/dist/index.js",
|