-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.89 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.89 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
"name": "scriptloader-component",
"version": "2.1.0",
"description": "A React Component for reacting to scripts loading.",
"main": "./module/index.js",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./module/index.js",
"default": "./module/index.js"
},
"./*": {
"require": "./dist/*.js",
"import": "./module/*.js",
"default": "./module/*.js"
}
},
"files": [
"dist",
"module"
],
"scripts": {
"test": "eslint --quiet . && tsc --noEmit --project ./tsconfig.json && jest",
"build": "npm run build:dist && npm run build:module",
"build:dist": "tsc --project ./tsconfig.json",
"build:module": "tsc --project ./module-tsconfig.json",
"prepack": "npm run build",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/WTW-IM/scriptloader-component.git"
},
"keywords": [
"react",
"component",
"script",
"onload"
],
"author": "",
"lint-staged": {
"*.(j|t)s?(x)": [
"prettier --write",
"eslint --fix"
],
"*.md": [
"prettier --write --parser markdown"
]
},
"license": "ISC",
"bugs": {
"url": "https://github.com/WTW-IM/scriptloader-component/issues"
},
"homepage": "https://github.com/WTW-IM/scriptloader-component#readme",
"peerDependencies": {
"react": ">=16"
},
"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^11.0.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^10.0.6",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/node": "^14.14.9",
"@types/react": "^18.0.18",
"@typescript-eslint/eslint-plugin": "^5.45.1",
"@typescript-eslint/parser": "^5.45.0",
"babel-jest": "^29.3.1",
"commitlint-config-eslint": "^1.0.0",
"conventional-changelog-eslint": "^6.0.0",
"debug": "^4.3.1",
"eslint": "^8.29.0",
"eslint-plugin-jest": "^27.1.6",
"eslint-plugin-jest-dom": "^3.3.0",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"fs-extra": "^9.0.1",
"husky": "^8.0.2",
"issue-parser": "^6.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^13.1.0",
"lodash": "^4.17.20",
"msw": "^0.49.1",
"p-filter": "^2.1.0",
"prettier": "^2.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"semantic-release": "^24.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.1.3"
}
}