-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
123 lines (123 loc) · 3.43 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
116
117
118
119
120
121
122
123
{
"name": "react-use-trigger",
"version": "0.3.4",
"description": "React effect trigger hook",
"scripts": {
"flow": "flow",
"flow:check": "flow check",
"test": "jest --silent",
"typescript": "tsc -p tsconfig.json --noEmit",
"check-size": "size-limit",
"lint": "eslint '**/*.{js,jsx}' --quiet",
"prepublish": "npm run flow:check && npm run test && npm run lint && npm run check-size && npm run typescript"
},
"keywords": [
"react",
"hook"
],
"eslintConfig": {
"extends": "@logux/eslint-config/browser",
"rules": {
"node/no-unpublished-require": "off",
"es5/no-es6-static-methods": "off",
"node/no-missing-require": "off",
"func-style": "off"
}
},
"jest": {
"setupTestFrameworkScriptFile": "./jest/setupTests.js",
"moduleNameMapper": {
"\\.(svg|png)$": "<rootDir>/__mocks__/fileMock.js"
}
},
"files": [
"types",
"index.js",
"index.js.flow",
"index.d.ts",
"useTrigger.js",
"useTrigger.js.flow",
"useTrigger.d.ts",
"useTriggerEffect.js",
"useTriggerEffect.js.flow",
"useTriggerEffect.d.ts"
],
"pre-commit": [
"lint",
"flow:check",
"test",
"check-size"
],
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/ilyalesik/react-use-trigger.git"
},
"size-limit": [
{
"path": "index.js",
"limit": "236 B"
},
{
"path": [
"index.js",
"useTrigger.js"
],
"limit": "305 B",
"ignore": [
"react"
]
},
{
"path": [
"index.js",
"useTrigger.js",
"useTriggerEffect.js"
],
"limit": "330 B",
"ignore": [
"react"
]
}
],
"author": "Ilya Lesik <ilialesik@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ilyalesik/react-use-trigger/issues"
},
"homepage": "https://github.com/ilyalesik/react-use-trigger#readme",
"dependencies": {
"nanoid": "^2.0.1"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.4.0",
"@babel/plugin-transform-runtime": "^7.4.0",
"@babel/preset-env": "^7.4.2",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@logux/eslint-config": "^28.2.0",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-es5": "^1.3.1",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-import-helpers": "^0.1.4",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-prefer-let": "^1.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-standard": "^4.0.0",
"flow-bin": "^0.95.1",
"jest": "^24.5.0",
"jest-dom": "^3.1.3",
"pre-commit": "^1.2.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-testing-library": "^6.0.3",
"size-limit": "^1.3.1",
"typescript": "^3.4.5"
}
}