forked from Redocly/redoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
206 lines (206 loc) · 6.28 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{
"name": "redoc",
"version": "2.0.0-alpha.36",
"description": "ReDoc",
"repository": {
"type": "git",
"url": "git://github.com/Rebilly/ReDoc"
},
"engines": {
"node": ">=6.9",
"npm": ">=3.0.0"
},
"author": "Roman Hotsiy <[email protected]>",
"license": "MIT",
"keywords": [
"OpenAPI",
"OpenAPI Specification",
"Swagger",
"JSON-Schema",
"API",
"REST",
"documentation",
"React.js"
],
"main": "bundles/redoc.lib.js",
"types": "typings/index.d.ts",
"scripts": {
"start": "webpack-dev-server --mode=development --env.playground --hot --config demo/webpack.config.ts",
"start:prod": "webpack-dev-server --env.playground --mode=production --config demo/webpack.config.ts",
"start:benchmark": "webpack-dev-server --mode=production --env.bench --config demo/webpack.config.ts",
"test": "npm run lint && npm run unit && npm run bundlesize && npm run license-check",
"unit": "jest --coverage",
"e2e": "cypress run",
"e2e-ci": "cypress run --record",
"bundlesize": "bundlesize",
"cy:open": "cypress open",
"bundle:clean": "rimraf bundles",
"bundle:standalone": "webpack --env.standalone --mode=production",
"bundle:lib": "webpack --mode=production",
"bundle": "npm run bundle:clean && npm run bundle:lib && npm run bundle:standalone",
"declarations": "tsc --emitDeclarationOnly -p tsconfig.lib.json && cp -R src/types typings/",
"stats": "webpack --env.standalone --json --profile --mode=production > stats.json",
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"lint": "tslint --project tsconfig.json",
"benchmark": "node ./benchmark/benchmark.js",
"start:demo": "webpack-dev-server --hot --config demo/webpack.config.ts --mode=development",
"compile:cli": "tsc custom.d.ts cli/index.ts --target es6 --module commonjs --types yargs",
"build:demo": "webpack --mode=production --config demo/webpack.config.ts",
"deploy:demo": "npm run build:demo && deploy-to-gh-pages --update demo/dist",
"license-check": "license-checker --production --onlyAllow 'MIT;ISC;Apache-2.0;BSD;BSD-2-Clause;BSD-3-Clause' --summary"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.47",
"@babel/plugin-syntax-decorators": "7.0.0-beta.47",
"@babel/plugin-syntax-jsx": "7.0.0-beta.47",
"@babel/plugin-syntax-typescript": "7.0.0-beta.47",
"@cypress/webpack-preprocessor": "2.0.1",
"@types/chai": "4.1.4",
"@types/dompurify": "^0.0.31",
"@types/enzyme": "^3.1.11",
"@types/enzyme-to-json": "^1.5.0",
"@types/jest": "^23.1.6",
"@types/json-pointer": "^1.0.30",
"@types/lodash": "^4.14.112",
"@types/lunr": "^2.1.5",
"@types/mark.js": "^8.11.1",
"@types/marked": "^0.4.0",
"@types/prismjs": "^1.6.4",
"@types/prop-types": "^15.5.3",
"@types/react": "^16.4.6",
"@types/react-dom": "^16.0.6",
"@types/react-hot-loader": "^4.1.0",
"@types/react-tabs": "^1.0.2",
"@types/tapable": "1.0.4",
"@types/webpack": "^4.4.6",
"@types/webpack-env": "^1.13.0",
"@types/yargs": "^11.1.0",
"babel-loader": "8.0.0-beta.2",
"babel-plugin-styled-components": "^1.5.1",
"beautify-benchmark": "^0.2.4",
"bundlesize": "^0.17.0",
"conventional-changelog-cli": "^2.0.1",
"copy-webpack-plugin": "^4.5.2",
"core-js": "^2.5.7",
"coveralls": "^3.0.2",
"css-loader": "^1.0.0",
"cypress": "~3.0.2",
"deploy-to-gh-pages": "^1.3.6",
"enzyme": "^3.1.1",
"enzyme-adapter-react-16": "^1.0.4",
"enzyme-to-json": "^3.3.4",
"fork-ts-checker-webpack-plugin": "^0.4.3",
"html-webpack-plugin": "^3.1.0",
"jest": "^23.4.1",
"license-checker": "^20.1.0",
"lodash": "^4.17.10",
"mobx": "^4.3.1",
"prettier": "^1.13.7",
"prettier-eslint": "^8.8.2",
"puppeteer": "^1.6.0",
"raf": "^3.4.0",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rimraf": "^2.6.2",
"shelljs": "^0.8.1",
"source-map-loader": "^0.2.1",
"style-loader": "^0.21.0",
"swagger2openapi": "^3.2.8",
"ts-jest": "^23.0.0",
"ts-loader": "4.4.2",
"ts-node": "^7.0.0",
"tslint": "^5.7.0",
"tslint-react": "^3.4.0",
"typescript": "^3.0.0-dev.20180712",
"webpack": "^4.16.1",
"webpack-cli": "^3.0.8",
"webpack-dev-server": "^3.1.1",
"webpack-node-externals": "^1.6.0",
"workerize-loader": "^1.0.3",
"yaml-js": "^0.2.3"
},
"peerDependencies": {
"mobx": "^4.2.0",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"dependencies": {
"classnames": "^2.2.6",
"decko": "^1.2.0",
"dompurify": "^1.0.6",
"eventemitter3": "^3.0.0",
"json-pointer": "^0.6.0",
"json-schema-ref-parser": "^5.1.1",
"lunr": "^2.3.0",
"mark.js": "^8.11.1",
"marked": "0.3.18",
"memoize-one": "^4.0.0",
"mobx-react": "^5.2.3",
"openapi-sampler": "1.0.0-beta.13",
"perfect-scrollbar": "^1.4.0",
"polished": "^1.9.3",
"prismjs": "^1.15.0",
"prop-types": "^15.6.2",
"react-dropdown": "^1.3.0",
"react-hot-loader": "^4.3.3",
"react-tabs": "^2.0.0",
"slugify": "^1.2.1",
"stickyfill": "^1.1.1",
"styled-components": "^3.3.3",
"tslib": "^1.9.3"
},
"resolutions": {
"@types/chai": "4.0.8",
"@types/tapable": "1.0.0"
},
"bundlesize": [
{
"path": "./bundles/redoc.standalone.js",
"maxSize": "300 kB"
}
],
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"setupTestFrameworkScriptFile": "<rootDir>/src/setupTests.ts",
"testPathIgnorePatterns": [
"/node_modules/",
"/benchmark/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/src/empty.js"
},
"globals": {
"ts-jest": {
"skipBabel": true
}
},
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"coverageReporters": [
"json",
"lcov",
"text-summary"
],
"coveragePathIgnorePatterns": [
"\\.d\\.ts$"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100,
"parser": "typescript"
}
}