|
1 | 1 | { |
2 | | - "name": "react-screen-wake-lock", |
3 | | - "version": "0.0.0-development", |
4 | | - "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.", |
5 | | - "author": { |
6 | | - "name": "Joris", |
7 | | - |
8 | | - "url": "https://joris.re" |
9 | | - }, |
10 | | - "license": "MIT", |
11 | | - "homepage": "https://github.com/jorisre/react-screen-wake-lock#readme", |
12 | | - "repository": { |
13 | | - "type": "git", |
14 | | - "url": "https://github.com/jorisre/react-screen-wake-lock.git" |
15 | | - }, |
16 | | - "bugs": { |
17 | | - "url": "https://github.com/jorisre/react-screen-wake-lock/issues" |
18 | | - }, |
19 | | - "keywords": [ |
20 | | - "wakeLock", |
21 | | - "wake-lock", |
22 | | - "react", |
23 | | - "hook", |
24 | | - "Screen Wake Lock", |
25 | | - "navigator.wakeLock" |
26 | | - ], |
27 | | - "sideEffects": false, |
28 | | - "type": "module", |
29 | | - "source": "src/index.ts", |
30 | | - "main": "dist/react-screen-wake-lock.cjs", |
31 | | - "nodule": "./dist/react-screen-wake-lock.esm.js", |
32 | | - "exports": { |
33 | | - "types": "./dist/index.d.ts", |
34 | | - "require": "./dist/react-screen-wake-lock.cjs", |
35 | | - "default": "./dist/react-screen-wake-lock.esm.js" |
36 | | - }, |
37 | | - "umd:main": "dist/react-screen-wake-lock.umd.js", |
38 | | - "unpkg": "dist/react-screen-wake-lock.umd.js", |
39 | | - "typings": "dist/index.d.ts", |
40 | | - "files": [ |
41 | | - "dist", |
42 | | - "src" |
43 | | - ], |
44 | | - "engines": { |
45 | | - "node": ">=v14.21.3" |
46 | | - }, |
47 | | - "scripts": { |
48 | | - "prepare": "husky install", |
49 | | - "prepack": "pinst --disable", |
50 | | - "postpack": "pinst --enable", |
51 | | - "start": "microbundle watch", |
52 | | - "prebuild": "rimraf dist", |
53 | | - "build": "npm-run-all --parallel build:*", |
54 | | - "build:other": "microbundle --define process.env.NODE_ENV=production -f cjs,umd", |
55 | | - "build:es": "microbundle -f es", |
56 | | - "test": "jest", |
57 | | - "lint": "eslint --ignore-path .gitignore --ext .ts,.tsx ." |
58 | | - }, |
59 | | - "peerDependencies": { |
60 | | - "react": "^16.8.0 || ^17.0.0 || ^18.0.0" |
61 | | - }, |
62 | | - "devDependencies": { |
63 | | - "@testing-library/dom": "^9.3.1", |
64 | | - "@testing-library/react": "^14.0.0", |
65 | | - "@testing-library/react-hooks": "^8.0.1", |
66 | | - "@types/dom-screen-wake-lock": "^1.0.1", |
67 | | - "@types/jest": "^29.5.4", |
68 | | - "@types/react": "^18.2.21", |
69 | | - "@types/react-dom": "^18.2.7", |
70 | | - "@typescript-eslint/eslint-plugin": "^6.7.0", |
71 | | - "@typescript-eslint/parser": "^6.7.0", |
72 | | - "eslint": "^8.49.0", |
73 | | - "eslint-plugin-react": "^7.33.2", |
74 | | - "eslint-plugin-react-hooks": "^4.6.0", |
75 | | - "eslint-plugin-testing-library": "^6.0.1", |
76 | | - "husky": "^8.0.3", |
77 | | - "jest": "^29.7.0", |
78 | | - "jest-environment-jsdom": "^29.7.0", |
79 | | - "jest-wake-lock-mock": "^1.1.0", |
80 | | - "lodash": "^4.17.21", |
81 | | - "microbundle": "^0.15.1", |
82 | | - "nano-staged": "^0.8.0", |
83 | | - "npm-run-all": "^4.1.5", |
84 | | - "pinst": "^3.0.0", |
85 | | - "prettier": "^3.0.3", |
86 | | - "react": "18.2.0", |
87 | | - "react-dom": "18.2.0", |
88 | | - "react-test-renderer": "18.2.0", |
89 | | - "rimraf": "^5.0.1", |
90 | | - "ts-jest": "^29.1.1", |
91 | | - "ts-node": "^10.9.1", |
92 | | - "typescript": "^5.2.2" |
93 | | - }, |
94 | | - "nano-staged": { |
95 | | - "*.{ts,tsx}": "eslint --fix", |
96 | | - "*.{js,css,md}": "prettier --write" |
97 | | - }, |
98 | | - "dependencies": {} |
| 2 | + "name": "react-screen-wake-lock", |
| 3 | + "version": "0.0.0-development", |
| 4 | + "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.", |
| 5 | + "author": { |
| 6 | + "name": "Joris", |
| 7 | + |
| 8 | + "url": "https://joris.re" |
| 9 | + }, |
| 10 | + "license": "MIT", |
| 11 | + "homepage": "https://github.com/jorisre/react-screen-wake-lock#readme", |
| 12 | + "repository": { |
| 13 | + "type": "git", |
| 14 | + "url": "https://github.com/jorisre/react-screen-wake-lock.git" |
| 15 | + }, |
| 16 | + "bugs": { |
| 17 | + "url": "https://github.com/jorisre/react-screen-wake-lock/issues" |
| 18 | + }, |
| 19 | + "keywords": [ |
| 20 | + "wakeLock", |
| 21 | + "wake-lock", |
| 22 | + "react", |
| 23 | + "hook", |
| 24 | + "Screen Wake Lock", |
| 25 | + "navigator.wakeLock" |
| 26 | + ], |
| 27 | + "sideEffects": false, |
| 28 | + "type": "module", |
| 29 | + "source": "src/index.ts", |
| 30 | + "main": "dist/react-screen-wake-lock.cjs", |
| 31 | + "nodule": "./dist/react-screen-wake-lock.esm.js", |
| 32 | + "exports": { |
| 33 | + "types": "./dist/index.d.ts", |
| 34 | + "require": "./dist/react-screen-wake-lock.cjs", |
| 35 | + "default": "./dist/react-screen-wake-lock.esm.js" |
| 36 | + }, |
| 37 | + "umd:main": "dist/react-screen-wake-lock.umd.js", |
| 38 | + "unpkg": "dist/react-screen-wake-lock.umd.js", |
| 39 | + "typings": "dist/index.d.ts", |
| 40 | + "files": [ |
| 41 | + "dist", |
| 42 | + "src" |
| 43 | + ], |
| 44 | + "engines": { |
| 45 | + "node": ">=v14.21.3" |
| 46 | + }, |
| 47 | + "scripts": { |
| 48 | + "prepare": "husky install", |
| 49 | + "prepack": "pinst --disable", |
| 50 | + "postpack": "pinst --enable", |
| 51 | + "start": "microbundle watch", |
| 52 | + "prebuild": "rimraf dist", |
| 53 | + "build": "npm-run-all --parallel build:*", |
| 54 | + "build:other": "microbundle --define process.env.NODE_ENV=production -f cjs,umd", |
| 55 | + "build:es": "microbundle -f es", |
| 56 | + "test": "jest", |
| 57 | + "lint": "eslint --ignore-path .gitignore --ext .ts,.tsx ." |
| 58 | + }, |
| 59 | + "peerDependencies": { |
| 60 | + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" |
| 61 | + }, |
| 62 | + "devDependencies": { |
| 63 | + "@testing-library/dom": "^10.4.0", |
| 64 | + "@testing-library/react": "^16.2.0", |
| 65 | + "@types/dom-screen-wake-lock": "^1.0.3", |
| 66 | + "@types/jest": "^29.5.4", |
| 67 | + "@types/react": "^18.2.21", |
| 68 | + "@types/react-dom": "^18.2.7", |
| 69 | + "@typescript-eslint/eslint-plugin": "^6.7.0", |
| 70 | + "@typescript-eslint/parser": "^6.7.0", |
| 71 | + "eslint": "^8.49.0", |
| 72 | + "eslint-plugin-react": "^7.33.2", |
| 73 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 74 | + "eslint-plugin-testing-library": "^6.0.1", |
| 75 | + "husky": "^8.0.3", |
| 76 | + "jest": "^29.7.0", |
| 77 | + "jest-environment-jsdom": "^29.7.0", |
| 78 | + "jest-wake-lock-mock": "^1.1.0", |
| 79 | + "microbundle": "^0.15.1", |
| 80 | + "nano-staged": "^0.8.0", |
| 81 | + "npm-run-all": "^4.1.5", |
| 82 | + "pinst": "^3.0.0", |
| 83 | + "prettier": "^3.0.3", |
| 84 | + "react": "^19.0.0", |
| 85 | + "react-dom": "^19.0.0", |
| 86 | + "react-test-renderer": "18.2.0", |
| 87 | + "rimraf": "^5.0.1", |
| 88 | + "ts-jest": "^29.1.1", |
| 89 | + "ts-node": "^10.9.1", |
| 90 | + "typescript": "^5.2.2" |
| 91 | + }, |
| 92 | + "nano-staged": { |
| 93 | + "*.{ts,tsx}": "eslint --fix", |
| 94 | + "*.{js,css,md}": "prettier --write" |
| 95 | + }, |
| 96 | + "dependencies": {} |
99 | 97 | } |
0 commit comments