-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 1.34 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
{
"name": "@josephmark/hooks",
"version": "1.2.2",
"description": "A collection of useful React Hooks",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"require": "./lib/cjs/index.js",
"import": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts"
}
},
"sideEffects": false,
"scripts": {
"test": "eslint ./src/* && tsc --noEmit",
"build": "npm run build:esm && npm run build:cjs",
"clean": "rm -r ./lib",
"prepare": "npm run build",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs"
},
"keywords": [
"react",
"hooks"
],
"files": [
"lib/**/*.js",
"lib/**/*.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/whoisjosephmark/hooks.git"
},
"author": "@floatingdino",
"license": "MIT",
"bugs": {
"url": "https://github.com/whoisjosephmark/hooks/issues"
},
"homepage": "https://github.com/whoisjosephmark/hooks#readme",
"peerDependencies": {
"@types/react": "^18.0.15",
"react": "^18.2.0"
},
"dependencies": {
"js-tokens": "^4.0.0",
"loose-envify": "^1.4.0"
},
"devDependencies": {
"@josephmark/eslint-config-react": "^1.0.11",
"eslint": "^8.54.0",
"prettier": "^3.1.0",
"typescript": "^5.3.2"
}
}