-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
99 lines (99 loc) · 2.91 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
91
92
93
94
95
96
97
98
99
{
"name": "react-screen-wake-lock",
"version": "0.0.0-development",
"description": "React implementation of the Screen Wake Lock API. It provides a way to prevent devices from dimming or locking the screen when an application needs to keep running.",
"author": {
"name": "Joris",
"email": "me@joris.re",
"url": "https://joris.re"
},
"license": "MIT",
"homepage": "https://github.com/jorisre/react-screen-wake-lock#readme",
"repository": {
"type": "git",
"url": "https://github.com/jorisre/react-screen-wake-lock.git"
},
"bugs": {
"url": "https://github.com/jorisre/react-screen-wake-lock/issues"
},
"keywords": [
"wakeLock",
"wake-lock",
"react",
"hook",
"Screen Wake Lock",
"navigator.wakeLock"
],
"sideEffects": false,
"type": "module",
"source": "src/index.ts",
"main": "dist/react-screen-wake-lock.cjs",
"nodule": "./dist/react-screen-wake-lock.esm.js",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/react-screen-wake-lock.cjs",
"default": "./dist/react-screen-wake-lock.esm.js"
},
"umd:main": "dist/react-screen-wake-lock.umd.js",
"unpkg": "dist/react-screen-wake-lock.umd.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=v14.21.3"
},
"scripts": {
"postinstall": "husky install",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
"start": "microbundle watch",
"prebuild": "rimraf dist",
"build": "npm-run-all --parallel build:*",
"build:other": "microbundle --define process.env.NODE_ENV=production -f cjs,umd",
"build:es": "microbundle -f es",
"test": "jest",
"lint": "eslint --ignore-path .gitignore --ext .ts,.tsx ."
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@testing-library/dom": "^9.3.1",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/dom-screen-wake-lock": "^1.0.1",
"@types/jest": "^29.5.4",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.49.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.0.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-wake-lock-mock": "^1.1.0",
"lodash": "^4.17.21",
"microbundle": "^0.15.1",
"nano-staged": "^0.8.0",
"npm-run-all": "^4.1.5",
"pinst": "^3.0.0",
"prettier": "^3.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"nano-staged": {
"*.{ts,tsx}": "eslint --fix",
"*.{js,css,md}": "prettier --write"
},
"dependencies": {}
}