-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 2.12 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
{
"name": "use-input-file",
"description": "React hook for creating input file",
"version": "1.0.5",
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"changeset": "changeset",
"dev": "microbundle watch",
"build": "trash dist/ && microbundle --no-sourcemap",
"test": "jest",
"test:cov": "jest --coverage",
"lint": "eslint src --ext .ts,.tsx",
"release": "npm run build && changeset publish",
"prepublishOnly": "make lint && make test && make build"
},
"author": "Peng Jie <im@jiepeng.me> (https://github.com/neighborhood999)",
"keywords": [
"react",
"hooks",
"typescript",
"input",
"input-files"
],
"repository": {
"type": "git",
"url": "git+https://github.com/neighborhood999/useInputFile"
},
"bugs": {
"url": "https://github.com/neighborhood999/useInputFile/issues"
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.4",
"@changesets/cli": "^2.22.0",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^13.0.0",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.4.1",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-testing-library": "^5.1.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.7",
"microbundle": "^0.14.2",
"prettier": "^2.6.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-test-renderer": "^18.0.0",
"trash-cli": "^5.0.0",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"peerDependencies": {
"react": ">=17"
},
"engines": {
"node": ">=12"
},
"license": "MIT"
}