-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 1.94 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": "@readme/variable",
"description": "React component for ReadMe user data variables",
"version": "16.2.0",
"main": "dist/index.js",
"author": "Dom Harrington <[email protected]>",
"license": "ISC",
"repository": {
"type": "git",
"url": "git://github.com/readmeio/variable.git"
},
"engines": {
"node": ">=16"
},
"scripts": {
"build": "webpack",
"lint": "eslint . --ext .jsx --ext .js",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"pretest": "npm run lint",
"prettier": "prettier --list-different --write \"./**/**.{js,jsx}\"",
"test": "jest --coverage"
},
"dependencies": {
"classnames": "^2.2.6",
"prop-types": "^15.8.1"
},
"peerDependencies": {
"react": "16.x || 17.x || 18.x",
"react-dom": "16.x || 17.x || 18.x"
},
"devDependencies": {
"@babel/preset-env": "^7.22.15",
"@babel/preset-react": "^7.22.15",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@readme/eslint-config": "^12.2.0",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^12.1.5",
"babel-jest": "^29.6.4",
"babel-loader": "^9.1.3",
"babel-polyfill": "^6.26.0",
"eslint": "^8.48.0",
"husky": "^8.0.3",
"jest": "^29.6.4",
"jest-environment-jsdom": "^29.6.4",
"prettier": "^3.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"terser-webpack-plugin": "^5.3.7",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"prettier": "@readme/eslint-config/prettier",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
0,
"always",
"Infinity"
],
"footer-max-line-length": [
0,
"always",
"Infinity"
]
}
},
"bundlewatch": {
"files": [
{
"path": "dist/index.js",
"maxSize": "6KB"
}
]
}
}