forked from hupe1980/react-script-hook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.76 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
{
"name": "react-script-hook",
"version": "1.7.0",
"description": "React hook to dynamically load an external script and know when its loaded",
"keywords": [
"react",
"hook",
"script",
"loader"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hupe1980/react-script-hook"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "rimraf lib && tsc",
"build:watch": "rimraf lib && tsc -w",
"test": "jest",
"lint": "eslint '*/**/*.{js,ts,tsx}' --report-unused-disable-directives",
"prepare": "npm run build"
},
"peerDependencies": {
"react": "^16.8.6 || 17 - 18",
"react-dom": "^16.8.6 || 17 - 18"
},
"devDependencies": {
"@testing-library/react-hooks": "^7.0.0",
"@types/jest": "^27.0.1",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@typescript-eslint/eslint-plugin": "^4.26.1",
"@typescript-eslint/parser": "^4.26.1",
"babel-eslint": "^10.1.0",
"eslint": "^7.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.7.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^27.0.4",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.3",
"typescript": "^4.3.2"
}
}