-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.07 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.07 KB
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
{
"name": "@terran-source/hooks",
"version": "0.1.3",
"description": "Some react hooks",
"license": "MIT",
"author": "Tamal Patra",
"repository": {
"type": "git",
"url": "https://github.com/Terran-Source/npm-pkgs"
},
"bugs": {
"url": "https://github.com/Terran-Source/npm-pkgs/issues"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=12"
},
"scripts": {
"clean": "rm -rf dist",
"clean-deep": "rm -rf dist node_modules .husky",
"refresh": "yarn run clean .husky yarn.lock yarn-error.log node_modules && yarn install",
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"husky:pre-commit": "husky add .husky/pre-commit 'yarn lint && yarn test'",
"prepare-once": "husky install && yarn run husky:pre-commit && yarn build",
"prepare": "yarn build",
"pre-size": "yarn run clean-deep && yarn install --frozen-lockfile --ignore-scripts && yarn build",
"size": "size-limit --json",
"analyze": "size-limit --why"
},
"peerDependencies": {
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn test"
}
},
"browserslist": "> 0.25%, not dead",
"prettier": {
"printWidth": 90,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"module": "dist/index.esm.js",
"size-limit": [
{
"path": "dist/_virtual/",
"limit": "10 KB"
},
{
"path": "dist/index.js",
"limit": "5 KB"
},
{
"path": "dist/index.esm.js",
"limit": "5 KB"
},
{
"path": "dist/useDebounce/index.js",
"limit": "10 KB"
},
{
"path": "dist/useDebounce/index.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^7.0.8",
"@types/react": "*",
"@types/react-dom": "*",
"husky": "^7.0.4",
"react": "*",
"react-dom": "*",
"size-limit": "^7.0.8",
"tsdx": "^0.14.1",
"tslib": "^2.4.0",
"typescript": "*"
}
}