-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
115 lines (115 loc) · 3.23 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "react-log-hook",
"version": "1.2.2",
"description": "React hook for logging per component lifecycle",
"main": "dist/main.js",
"module": "dist/module.js",
"types": "dist/types.d.ts",
"engines": {
"node": ">= 12"
},
"scripts": {
"start:demo": "parcel demo/index.html --dist-dir ./build",
"build": "del-cli 'dist/*' && parcel build src/index.tsx --dist-dir ./dist && npm run size",
"test": "jest",
"lint": "eslint \"./**/*.ts\" --cache --cache-strategy content",
"type:check": "tsc --noEmit true",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook",
"release:check": "run-s lint type:check test",
"release:test": "npm publish --dry-run",
"release": "run-s release:check release:test build && np",
"size": "size-limit",
"prepare": "husky install"
},
"np": {
"yarn": false,
"testScript": "release:check"
},
"files": [
"dist/*.{js,mjs,ts,map}",
"LICENSE",
"README.md",
"package.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dolfbarr/react-log-hook.git"
},
"keywords": [
"react",
"parcel",
"typescript",
"hook",
"react-hook",
"log",
"logging",
"logger"
],
"author": "Dolf Barr <mail@dolf.me>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dolfbarr/react-log-hook/issues"
},
"homepage": "https://github.com/dolfbarr/react-log-hook#readme",
"devDependencies": {
"@babel/core": "^7.20.2",
"@jest/globals": "^29.3.1",
"@parcel/packager-ts": "^2.8.0",
"@parcel/transformer-typescript-types": "^2.8.0",
"@size-limit/preset-small-lib": "^8.1.0",
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-console": "^1.2.3",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-interactions": "^6.5.13",
"@storybook/addon-links": "^6.5.13",
"@storybook/builder-webpack4": "^6.5.13",
"@storybook/manager-webpack4": "^6.5.13",
"@storybook/react": "^7.4.6",
"@storybook/testing-library": "^0.0.13",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.3",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"babel-loader": "^8.3.0",
"del-cli": "^5.0.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^23.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.5.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.31.11",
"husky": "^8.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"np": "*",
"npm-run-all": "^4.1.5",
"parcel": "^2.8.0",
"prettier": "^2.8.0",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^8.1.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
},
"peerDependencies": {
"react": "^16.8.x || 17.x || 18.x",
"react-dom": "^16.8.x || 17.x || 18.x"
},
"size-limit": [
{
"path": "dist/main.js",
"limit": "2 kB"
},
{
"path": "dist/module.js",
"limit": "2 kB"
}
]
}