@alessiofrittoli/react-hooks 3.2.0-alpha.3 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +134 -134
package/package.json CHANGED
@@ -1,134 +1,134 @@
1
- {
2
- "name": "@alessiofrittoli/react-hooks",
3
- "version": "3.2.0-alpha.3",
4
- "description": "TypeScript React utility Hooks",
5
- "author": {
6
- "name": "Alessio Frittoli",
7
- "email": "info@alessiofrittoli.it",
8
- "url": "https://alessiofrittoli.it"
9
- },
10
- "license": "MIT",
11
- "funding": [
12
- {
13
- "type": "github",
14
- "url": "https://github.com/sponsors/alessiofrittoli"
15
- }
16
- ],
17
- "keywords": [
18
- "react",
19
- "react-hooks"
20
- ],
21
- "homepage": "https://github.com/alessiofrittoli/react-hooks#readme",
22
- "bugs": {
23
- "url": "https://github.com/alessiofrittoli/react-hooks/issues",
24
- "email": "info@alessiofrittoli.it"
25
- },
26
- "repository": {
27
- "type": "git",
28
- "url": "git+https://github.com/alessiofrittoli/react-hooks.git"
29
- },
30
- "main": "./dist/index.js",
31
- "module": "./dist/index.mjs",
32
- "types": "./dist/index.d.ts",
33
- "files": [
34
- "dist"
35
- ],
36
- "exports": {
37
- ".": {
38
- "import": {
39
- "types": "./dist/index.d.mts",
40
- "default": "./dist/index.mjs"
41
- },
42
- "require": {
43
- "types": "./dist/index.d.ts",
44
- "default": "./dist/index.js"
45
- }
46
- },
47
- "./eslint": {
48
- "import": {
49
- "types": "./dist/eslint.d.mts",
50
- "default": "./dist/eslint.mjs"
51
- },
52
- "require": {
53
- "types": "./dist/eslint.d.ts",
54
- "default": "./dist/eslint.js"
55
- }
56
- }
57
- },
58
- "sideEffects": false,
59
- "scripts": {
60
- "//1a": "*********************************************************************",
61
- "//1b": "******************** DEV - BUILD - LINT - RELEASE *******************",
62
- "//1c": "*********************************************************************",
63
- "dev": "cross-env NODE_ENV=development tsup --watch",
64
- "build:prod": "cross-env NODE_ENV=production tsup",
65
- "build": "pnpm lint && pnpm test:ci && pnpm build:prod",
66
- "lint": "eslint",
67
- "release": "node scripts/publish.js --verbose --npm",
68
- "//2a": "*********************************************************************",
69
- "//2b": "***************************** UNIT TESTS ****************************",
70
- "//2c": "*********************************************************************",
71
- "test": "jest --verbose",
72
- "test:watch": "jest --watchAll --verbose",
73
- "test:ci": "jest --ci --verbose",
74
- "//3a": "*********************************************************************",
75
- "//3b": "************************ UNIT TESTS COVERAGE ************************",
76
- "//3c": "*********************************************************************",
77
- "test:coverage": "pnpm test:watch --coverage",
78
- "test:coverage:ci": "pnpm test:ci --coverage",
79
- "test:serve-coverage": "http-server ./coverage/lcov-report --gzip true -p 0 -o --silent",
80
- "test:coverage:serve": "concurrently --prefix none --kill-others \"pnpm test:coverage\" \"pnpm test:serve-coverage\"",
81
- "//4a": "*********************************************************************",
82
- "//4b": "************************ TARGETED UNIT TESTS ************************",
83
- "//4c": "*********************************************************************",
84
- "test:storage": "pnpm test:watch browser-api/storage/*",
85
- "test:browser-api": "pnpm test:watch --testPathPattern='browser-api/(?!storage/).*\\.test\\.(js|jsx|ts|tsx)'",
86
- "test:dom-api": "pnpm test:watch dom-api/*",
87
- "test:misc": "pnpm test:watch misc/*",
88
- "test:timers": "pnpm test:watch timers/*"
89
- },
90
- "devDependencies": {
91
- "@alessiofrittoli/event-emitter": "^1.5.0",
92
- "@alessiofrittoli/node-scripts": "^2.6.0",
93
- "@eslint/compat": "^1.3.1",
94
- "@eslint/eslintrc": "^3.3.1",
95
- "@eslint/js": "^9.30.1",
96
- "@jest/globals": "^30.0.4",
97
- "@testing-library/dom": "^10.4.0",
98
- "@testing-library/jest-dom": "^6.6.3",
99
- "@testing-library/react": "^16.3.0",
100
- "@testing-library/user-event": "^14.6.1",
101
- "@types/jest": "^30.0.0",
102
- "@types/node": "^24.0.10",
103
- "@types/react": "^19.1.8",
104
- "@types/react-dom": "^19.1.6",
105
- "concurrently": "^9.2.0",
106
- "cross-env": "^7.0.3",
107
- "dotenv": "^17.1.0",
108
- "eslint": "^9.30.1",
109
- "eslint-plugin-react": "^7.37.5",
110
- "eslint-plugin-react-hooks": "^5.2.0",
111
- "globals": "^16.3.0",
112
- "http-server": "^14.1.1",
113
- "jest": "^30.0.4",
114
- "jest-environment-jsdom": "^30.0.4",
115
- "react": "^19.1.0",
116
- "react-dom": "^19.1.0",
117
- "ts-jest": "^29.4.0",
118
- "ts-node": "^10.9.2",
119
- "tsup": "^8.5.0",
120
- "typescript": "^5.8.3",
121
- "typescript-eslint": "^8.36.0"
122
- },
123
- "dependencies": {
124
- "@alessiofrittoli/math-utils": "^1.14.0",
125
- "@alessiofrittoli/type-utils": "^1.8.0",
126
- "@alessiofrittoli/web-utils": "^1.12.0"
127
- },
128
- "peerDependencies": {
129
- "@types/react": "^19",
130
- "@types/react-dom": "^19",
131
- "react": "^19",
132
- "react-dom": "^19"
133
- }
134
- }
1
+ {
2
+ "name": "@alessiofrittoli/react-hooks",
3
+ "version": "3.2.0",
4
+ "description": "TypeScript React utility Hooks",
5
+ "author": {
6
+ "name": "Alessio Frittoli",
7
+ "email": "info@alessiofrittoli.it",
8
+ "url": "https://alessiofrittoli.it"
9
+ },
10
+ "license": "MIT",
11
+ "funding": [
12
+ {
13
+ "type": "github",
14
+ "url": "https://github.com/sponsors/alessiofrittoli"
15
+ }
16
+ ],
17
+ "keywords": [
18
+ "react",
19
+ "react-hooks"
20
+ ],
21
+ "homepage": "https://github.com/alessiofrittoli/react-hooks#readme",
22
+ "bugs": {
23
+ "url": "https://github.com/alessiofrittoli/react-hooks/issues",
24
+ "email": "info@alessiofrittoli.it"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/alessiofrittoli/react-hooks.git"
29
+ },
30
+ "main": "./dist/index.js",
31
+ "module": "./dist/index.mjs",
32
+ "types": "./dist/index.d.ts",
33
+ "files": [
34
+ "dist"
35
+ ],
36
+ "exports": {
37
+ ".": {
38
+ "import": {
39
+ "types": "./dist/index.d.mts",
40
+ "default": "./dist/index.mjs"
41
+ },
42
+ "require": {
43
+ "types": "./dist/index.d.ts",
44
+ "default": "./dist/index.js"
45
+ }
46
+ },
47
+ "./eslint": {
48
+ "import": {
49
+ "types": "./dist/eslint.d.mts",
50
+ "default": "./dist/eslint.mjs"
51
+ },
52
+ "require": {
53
+ "types": "./dist/eslint.d.ts",
54
+ "default": "./dist/eslint.js"
55
+ }
56
+ }
57
+ },
58
+ "sideEffects": false,
59
+ "scripts": {
60
+ "//1a": "*********************************************************************",
61
+ "//1b": "******************** DEV - BUILD - LINT - RELEASE *******************",
62
+ "//1c": "*********************************************************************",
63
+ "dev": "cross-env NODE_ENV=development tsup --watch",
64
+ "build:prod": "cross-env NODE_ENV=production tsup",
65
+ "build": "pnpm lint && pnpm test:ci && pnpm build:prod",
66
+ "lint": "eslint",
67
+ "release": "node scripts/publish.js --verbose --npm",
68
+ "//2a": "*********************************************************************",
69
+ "//2b": "***************************** UNIT TESTS ****************************",
70
+ "//2c": "*********************************************************************",
71
+ "test": "jest --verbose",
72
+ "test:watch": "jest --watchAll --verbose",
73
+ "test:ci": "jest --ci --verbose",
74
+ "//3a": "*********************************************************************",
75
+ "//3b": "************************ UNIT TESTS COVERAGE ************************",
76
+ "//3c": "*********************************************************************",
77
+ "test:coverage": "pnpm test:watch --coverage",
78
+ "test:coverage:ci": "pnpm test:ci --coverage",
79
+ "test:serve-coverage": "http-server ./coverage/lcov-report --gzip true -p 0 -o --silent",
80
+ "test:coverage:serve": "concurrently --prefix none --kill-others \"pnpm test:coverage\" \"pnpm test:serve-coverage\"",
81
+ "//4a": "*********************************************************************",
82
+ "//4b": "************************ TARGETED UNIT TESTS ************************",
83
+ "//4c": "*********************************************************************",
84
+ "test:storage": "pnpm test:watch browser-api/storage/*",
85
+ "test:browser-api": "pnpm test:watch --testPathPattern='browser-api/(?!storage/).*\\.test\\.(js|jsx|ts|tsx)'",
86
+ "test:dom-api": "pnpm test:watch dom-api/*",
87
+ "test:misc": "pnpm test:watch misc/*",
88
+ "test:timers": "pnpm test:watch timers/*"
89
+ },
90
+ "devDependencies": {
91
+ "@alessiofrittoli/event-emitter": "^1.5.0",
92
+ "@alessiofrittoli/node-scripts": "^2.6.0",
93
+ "@eslint/compat": "^1.3.1",
94
+ "@eslint/eslintrc": "^3.3.1",
95
+ "@eslint/js": "^9.30.1",
96
+ "@jest/globals": "^30.0.4",
97
+ "@testing-library/dom": "^10.4.0",
98
+ "@testing-library/jest-dom": "^6.6.3",
99
+ "@testing-library/react": "^16.3.0",
100
+ "@testing-library/user-event": "^14.6.1",
101
+ "@types/jest": "^30.0.0",
102
+ "@types/node": "^24.0.10",
103
+ "@types/react": "^19.1.8",
104
+ "@types/react-dom": "^19.1.6",
105
+ "concurrently": "^9.2.0",
106
+ "cross-env": "^7.0.3",
107
+ "dotenv": "^17.1.0",
108
+ "eslint": "^9.30.1",
109
+ "eslint-plugin-react": "^7.37.5",
110
+ "eslint-plugin-react-hooks": "^5.2.0",
111
+ "globals": "^16.3.0",
112
+ "http-server": "^14.1.1",
113
+ "jest": "^30.0.4",
114
+ "jest-environment-jsdom": "^30.0.4",
115
+ "react": "^19.1.0",
116
+ "react-dom": "^19.1.0",
117
+ "ts-jest": "^29.4.0",
118
+ "ts-node": "^10.9.2",
119
+ "tsup": "^8.5.0",
120
+ "typescript": "^5.8.3",
121
+ "typescript-eslint": "^8.36.0"
122
+ },
123
+ "dependencies": {
124
+ "@alessiofrittoli/math-utils": "^1.14.0",
125
+ "@alessiofrittoli/type-utils": "^1.8.0",
126
+ "@alessiofrittoli/web-utils": "^1.12.0"
127
+ },
128
+ "peerDependencies": {
129
+ "@types/react": "^19",
130
+ "@types/react-dom": "^19",
131
+ "react": "^19",
132
+ "react-dom": "^19"
133
+ }
134
+ }