58 lines
1.2 KiB
JSON
58 lines
1.2 KiB
JSON
{
|
|
"name": "@wxt-dev/is-background",
|
|
"type": "module",
|
|
"version": "1.0.0",
|
|
"description": "Check if the current context is the background or not.",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "buildc -- tsdown",
|
|
"check": "bun run build && check",
|
|
"test": "buildc --deps-only -- vitest",
|
|
"test:coverage": "bun run test run --coverage",
|
|
"prepack": "bun run build"
|
|
},
|
|
"dependencies": {
|
|
"@wxt-dev/browser": "workspace:^"
|
|
},
|
|
"devDependencies": {
|
|
"oxlint": "catalog:",
|
|
"publint": "catalog:",
|
|
"tsdown": "catalog:",
|
|
"typescript": "catalog:",
|
|
"vitest": "catalog:"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/wxt-dev/wxt.git",
|
|
"directory": "packages/is-background"
|
|
},
|
|
"keywords": [
|
|
"wxt",
|
|
"chrome",
|
|
"web",
|
|
"extension",
|
|
"is",
|
|
"background",
|
|
"script",
|
|
"page",
|
|
"service",
|
|
"worker"
|
|
],
|
|
"author": {
|
|
"name": "Aaron Klinker",
|
|
"email": "aaronklinker1+wxt@gmail.com"
|
|
},
|
|
"funding": "https://github.com/sponsors/wxt-dev",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"types": "./dist/index.d.mts",
|
|
"module": "./dist/index.mjs",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
}
|
|
}
|
|
}
|