-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
90 lines (90 loc) · 2.49 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
89
90
{
"name": "@rosskevin/ifvisible",
"version": "3.3.5",
"description": "Cross-browser, lightweight way to check if user is looking at the page or interacting with it. (wrapper around HTML5 visibility api)",
"packageManager": "[email protected]",
"prettier": "@alienfast/prettier-config",
"type": "module",
"main-types-note": "This is to appease tsc, types will be removed by clean-package. see https://github.com/rosskevin/ts-esm-workspaces/tree/bug-main-required-to-build#workaround ",
"main": "./dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "run-s clean build:ide build:tsup && cp -r dist/index.js* docs/.",
"build:ide": "echo 'tsc -b' && tsc -b",
"build:tsup": "tsup",
"clean": "node ./scripts/clean.js",
"clean:yarn": "node ./scripts/clean-yarn.js",
"reset": "node ./scripts/reset.js",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"test": "jest",
"release": "yarn auto shipit"
},
"repository": {
"type": "git",
"url": "git://github.com/rosskevin/ifvisible.git"
},
"keywords": [
"visibility",
"HTML5",
"cross",
"browser",
"api",
"UI",
"idle",
"status",
"mousemove",
"reading",
"mode",
"tab",
"change",
"typescript"
],
"author": "Kevin Ross <[email protected]> (https://alienfast.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/rosskevin/ifvisible/issues"
},
"homepage": "https://github.com/rosskevin/ifvisible",
"devDependencies": {
"@alienfast/eslint-config": "^5.1.6",
"@alienfast/prettier-config": "^1.0.0",
"@alienfast/tsconfig": "^1.0.1",
"@auto-it/all-contributors": "^11.1.6",
"@auto-it/first-time-contributor": "^11.1.6",
"@auto-it/released": "^11.1.6",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/jest": "^29.5.12",
"auto": "^11.1.6",
"deepmerge": "^4.3.1",
"eslint": "^9.6.0",
"execa": "^9.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^24.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"ts-jest": "^29.1.5",
"tsup": "^8.1.0",
"typescript": "^5.5.2",
"typescript-eslint": "^7.14.1"
},
"auto": {
"plugins": [
"npm",
"all-contributors",
"first-time-contributor",
"released"
]
}
}