-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 2.19 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
{
"name": "react-debounced",
"version": "1.1.2",
"description": "Universal debounce hook for react",
"main": "./dist/cjs/index.js",
"module": "./dist/esm5/index.js",
"es2015": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist",
"src/**/*.ts",
"tsconfig.json"
],
"repository": "git@github.com:dlavrenuek/react-debounced.git",
"author": "Dimitri Lavrenük <dimitri.lavr@gmail.com>",
"license": "MIT",
"keywords": [
"react",
"typescript",
"react-hooks",
"debounce"
],
"scripts": {
"build": "yarn build:clean && yarn build:compile",
"build:clean": "shx rm -rf dist",
"build:compile": "tsc -b ./config/tsconfig.cjs.json ./config/tsconfig.esm.json ./config/tsconfig.esm5.json ./config/tsconfig.types.json",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"lint": "eslint --ext ts --ext tsx src",
"test": "jest --config ./config/jest.config.ts --maxWorkers=2",
"test:watch": "yarn test --watch",
"test:coverage": "yarn test --coverage --colors"
},
"devDependencies": {
"@babel/core": "7.21.3",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "7.21.0",
"@testing-library/dom": "8.19.0",
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.4.3",
"@types/jest": "27.5.2",
"@types/react": "18.0.21",
"@types/react-dom": "18.0.6",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"babel-eslint": "10.1.0",
"babel-jest": "27.5.1",
"eslint": "8.25.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-flowtype": "8.0.3",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.10",
"eslint-plugin-react-hooks": "4.6.0",
"jest": "26.6.3",
"prettier": "2.7.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"shx": "0.3.4",
"ts-jest": "26.5.6",
"ts-node": "10.9.1",
"tslib": "2.5.0",
"typescript": "4.8.4"
},
"peerDependencies": {
"react": "^16.8.3 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.3 || ^17.0.0 || ^18.0.0"
}
}