This repository has been archived by the owner on Nov 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpackage.json
116 lines (116 loc) · 3.1 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "api-explorer",
"version": "0.0.0",
"private": true,
"description": "Open source components that make up ReadMe's API explorer",
"author": "Dom Harrington <[email protected]>",
"license": "ISC",
"repository": {
"type": "git",
"url": "[email protected]:readme/api-explorer.git"
},
"engines": {
"npm": "^7"
},
"workspaces": [
"./packages/*"
],
"scripts": {
"build": "npm run build --workspaces --if-present",
"clean": "lerna clean",
"lint": "eslint example/ lib/ scripts/ *.js --ext js --ext jsx",
"postinstall": "npm rebuild node-sass",
"publish": "lerna publish",
"pretest": "npm run update:examples; npm run lint",
"start": "npm run update:examples; webpack-dev-server --open",
"test": "lerna run test --stream",
"update:examples": "node scripts/update-example-swagger-files",
"watch": "lerna run watch --stream",
"version": "conventional-changelog --pkg lerna.json -i CHANGELOG.md -s && git add CHANGELOG.md"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.0.1",
"@readme/emojis": "^3.0.0",
"@readme/oas-extensions": "^13.5.0",
"@readme/ui": "^1.17.8",
"babel-polyfill": "^6.26.0",
"oas": "^13.0.4",
"prop-types": "^15.7.2",
"react-hot-loader": "^4.12.16",
"swagger2openapi": "^7.0.0",
"whatwg-fetch": "^3.0.0",
"yaml": "^1.8.3"
},
"peerDependencies": {
"react": "16.x",
"react-dom": "16.x"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^12.1.4",
"@readme/eslint-config": "^4.0.0",
"@svgr/webpack": "^5.5.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.0.1",
"babel-loader": "^8.0.6",
"conventional-changelog-cli": "^2.0.34",
"css-loader": "^4.3.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.3.0",
"eslint": "^7.0.0",
"husky": "^4.2.5",
"identity-obj-proxy": "^3.0.0",
"lerna": "^3.14.1",
"node-sass": "^4.12.0",
"prettier": "^2.0.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"sass-loader": "^10.0.2",
"style-loader": "^1.0.0",
"terser-webpack-plugin": "^4.1.0",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.8.2",
"webpack-merge": "^5.1.3"
},
"prettier": "@readme/eslint-config/prettier",
"bundlewatch": {
"files": [
{
"path": "packages/api-explorer/dist/index.js",
"maxSize": "1.2MB"
},
{
"path": "packages/api-logs/dist/index.js",
"maxSize": "15KB"
}
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"body-max-line-length": [
0,
"always",
"Infinity"
],
"footer-max-line-length": [
0,
"always",
"Infinity"
]
}
}
}