2015-10-03 11:54:09 +03:00
|
|
|
{
|
2016-01-13 00:35:08 +03:00
|
|
|
"name": "redoc",
|
2020-05-10 22:12:16 +03:00
|
|
|
"version": "2.0.0-rc.29",
|
2017-10-12 00:01:37 +03:00
|
|
|
"description": "ReDoc",
|
2016-01-06 18:22:17 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2019-06-04 15:47:22 +03:00
|
|
|
"url": "git://github.com/Redocly/redoc"
|
2016-01-06 18:22:17 +03:00
|
|
|
},
|
2016-09-28 09:33:56 +03:00
|
|
|
"engines": {
|
2017-01-28 15:14:08 +03:00
|
|
|
"node": ">=6.9",
|
2016-09-28 09:33:56 +03:00
|
|
|
"npm": ">=3.0.0"
|
|
|
|
},
|
2018-03-21 18:32:28 +03:00
|
|
|
"author": "Roman Hotsiy <gotsijroman@gmail.com>",
|
|
|
|
"license": "MIT",
|
2015-10-03 11:54:09 +03:00
|
|
|
"keywords": [
|
2016-02-24 19:25:49 +03:00
|
|
|
"OpenAPI",
|
|
|
|
"OpenAPI Specification",
|
2015-10-03 11:54:09 +03:00
|
|
|
"Swagger",
|
|
|
|
"JSON-Schema",
|
|
|
|
"API",
|
2016-02-24 19:25:49 +03:00
|
|
|
"REST",
|
2015-10-03 11:54:09 +03:00
|
|
|
"documentation",
|
2018-03-21 18:32:28 +03:00
|
|
|
"React.js"
|
2015-10-03 11:54:09 +03:00
|
|
|
],
|
2017-11-19 22:27:44 +03:00
|
|
|
"main": "bundles/redoc.lib.js",
|
2018-05-16 12:44:36 +03:00
|
|
|
"types": "typings/index.d.ts",
|
2015-10-03 11:54:09 +03:00
|
|
|
"scripts": {
|
2018-03-21 19:58:58 +03:00
|
|
|
"start": "webpack-dev-server --mode=development --env.playground --hot --config demo/webpack.config.ts",
|
2018-03-17 18:58:28 +03:00
|
|
|
"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",
|
2019-07-29 15:39:33 +03:00
|
|
|
"test": "npm run lint && npm run unit && npm run license-check",
|
2018-03-17 23:06:25 +03:00
|
|
|
"unit": "jest --coverage",
|
2018-02-17 22:27:15 +03:00
|
|
|
"e2e": "cypress run",
|
2018-03-17 22:09:18 +03:00
|
|
|
"e2e-ci": "cypress run --record",
|
2018-09-25 17:50:56 +03:00
|
|
|
"bundlesize": "bundlesize",
|
2018-09-28 16:49:34 +03:00
|
|
|
"cy:open": "cypress open",
|
2017-11-19 13:51:59 +03:00
|
|
|
"bundle:clean": "rimraf bundles",
|
2018-03-17 18:58:28 +03:00
|
|
|
"bundle:standalone": "webpack --env.standalone --mode=production",
|
2019-05-10 18:03:28 +03:00
|
|
|
"bundle:lib": "webpack --mode=production && npm run declarations",
|
2017-11-19 22:27:44 +03:00
|
|
|
"bundle": "npm run bundle:clean && npm run bundle:lib && npm run bundle:standalone",
|
2018-05-18 15:10:16 +03:00
|
|
|
"declarations": "tsc --emitDeclarationOnly -p tsconfig.lib.json && cp -R src/types typings/",
|
2018-03-17 19:50:55 +03:00
|
|
|
"stats": "webpack --env.standalone --json --profile --mode=production > stats.json",
|
2020-01-10 15:29:09 +03:00
|
|
|
"prettier": "prettier --write \"cli/index.ts\" \"src/**/*.{ts,tsx}\"",
|
2018-01-22 21:30:53 +03:00
|
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
|
2020-03-17 14:18:23 +03:00
|
|
|
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
|
2018-03-13 13:58:22 +03:00
|
|
|
"benchmark": "node ./benchmark/benchmark.js",
|
2018-03-22 19:22:11 +03:00
|
|
|
"start:demo": "webpack-dev-server --hot --config demo/webpack.config.ts --mode=development",
|
2018-09-28 16:49:34 +03:00
|
|
|
"compile:cli": "tsc custom.d.ts cli/index.ts --target es6 --module commonjs --types yargs",
|
2018-03-21 20:28:51 +03:00
|
|
|
"build:demo": "webpack --mode=production --config demo/webpack.config.ts",
|
2018-05-14 11:00:07 +03:00
|
|
|
"deploy:demo": "npm run build:demo && deploy-to-gh-pages --update demo/dist",
|
2018-11-06 16:29:42 +03:00
|
|
|
"license-check": "license-checker --production --onlyAllow 'MIT;ISC;Apache-2.0;BSD;BSD-2-Clause;BSD-3-Clause' --summary",
|
|
|
|
"docker:build": "docker build -f config/docker/Dockerfile -t redoc ."
|
2015-10-03 11:54:09 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-03-16 17:38:18 +03:00
|
|
|
"@babel/core": "7.8.7",
|
|
|
|
"@babel/plugin-syntax-decorators": "7.8.3",
|
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
|
|
"@babel/plugin-syntax-jsx": "7.8.3",
|
|
|
|
"@babel/plugin-syntax-typescript": "7.8.3",
|
|
|
|
"@cypress/webpack-preprocessor": "4.1.3",
|
|
|
|
"@hot-loader/react-dom": "^16.12.0",
|
|
|
|
"@types/chai": "4.2.10",
|
|
|
|
"@types/dompurify": "^2.0.1",
|
|
|
|
"@types/enzyme": "^3.10.5",
|
2019-03-11 18:08:29 +03:00
|
|
|
"@types/enzyme-to-json": "^1.5.3",
|
2020-03-16 17:38:18 +03:00
|
|
|
"@types/jest": "^25.1.4",
|
2017-10-12 00:01:37 +03:00
|
|
|
"@types/json-pointer": "^1.0.30",
|
2019-12-12 13:46:17 +03:00
|
|
|
"@types/lodash": "^4.14.149",
|
2019-03-11 18:08:29 +03:00
|
|
|
"@types/lunr": "^2.3.2",
|
2019-12-12 13:46:17 +03:00
|
|
|
"@types/mark.js": "^8.11.5",
|
2020-03-16 17:38:18 +03:00
|
|
|
"@types/marked": "^0.7.3",
|
2019-07-29 18:41:57 +03:00
|
|
|
"@types/prismjs": "^1.16.0",
|
2019-09-30 10:34:49 +03:00
|
|
|
"@types/prop-types": "^15.7.3",
|
2020-03-16 17:38:18 +03:00
|
|
|
"@types/react": "^16.9.23",
|
|
|
|
"@types/react-dom": "^16.9.5",
|
2019-03-11 18:08:29 +03:00
|
|
|
"@types/react-tabs": "^2.3.1",
|
2019-12-12 13:46:17 +03:00
|
|
|
"@types/styled-components": "^4.4.1",
|
2020-03-16 17:38:18 +03:00
|
|
|
"@types/tapable": "1.0.5",
|
|
|
|
"@types/webpack": "^4.41.7",
|
|
|
|
"@types/webpack-env": "^1.15.1",
|
2019-09-30 10:34:49 +03:00
|
|
|
"@types/yargs": "^13.0.3",
|
2020-03-17 12:52:33 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^2.24.0",
|
|
|
|
"@typescript-eslint/parser": "^2.24.0",
|
2019-07-29 18:41:57 +03:00
|
|
|
"babel-loader": "8.0.6",
|
2020-03-16 17:38:18 +03:00
|
|
|
"babel-plugin-styled-components": "^1.10.7",
|
2018-01-29 14:09:38 +03:00
|
|
|
"beautify-benchmark": "^0.2.4",
|
2019-07-29 18:41:57 +03:00
|
|
|
"bundlesize": "^0.18.0",
|
2020-03-16 17:38:18 +03:00
|
|
|
"conventional-changelog-cli": "^2.0.31",
|
2019-12-12 13:46:17 +03:00
|
|
|
"copy-webpack-plugin": "^5.1.1",
|
|
|
|
"core-js": "^3.5.0",
|
|
|
|
"coveralls": "^3.0.9",
|
2020-03-16 17:38:18 +03:00
|
|
|
"css-loader": "^3.4.2",
|
2019-12-12 13:46:17 +03:00
|
|
|
"cypress": "~3.7.0",
|
2019-07-29 18:41:57 +03:00
|
|
|
"deploy-to-gh-pages": "^1.3.7",
|
2020-03-16 17:38:18 +03:00
|
|
|
"enzyme": "^3.11.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.15.2",
|
|
|
|
"enzyme-to-json": "^3.4.4",
|
2020-03-17 12:52:33 +03:00
|
|
|
"eslint": "^6.8.0",
|
|
|
|
"eslint-plugin-import": "^2.20.1",
|
|
|
|
"eslint-plugin-react": "^7.19.0",
|
2019-12-12 13:46:17 +03:00
|
|
|
"fork-ts-checker-webpack-plugin": "3.1.1",
|
2018-03-26 13:18:37 +03:00
|
|
|
"html-webpack-plugin": "^3.1.0",
|
2019-09-30 10:34:49 +03:00
|
|
|
"jest": "^24.9.0",
|
2019-03-11 18:08:29 +03:00
|
|
|
"license-checker": "^25.0.1",
|
2019-07-29 18:41:57 +03:00
|
|
|
"lodash": "^4.17.15",
|
2018-07-17 12:34:18 +03:00
|
|
|
"mobx": "^4.3.1",
|
2019-12-12 13:46:17 +03:00
|
|
|
"prettier": "^1.19.1",
|
2018-11-27 10:40:00 +03:00
|
|
|
"raf": "^3.4.1",
|
2020-03-16 17:38:18 +03:00
|
|
|
"react": "^16.13.0",
|
|
|
|
"react-dom": "^16.13.0",
|
|
|
|
"react-hot-loader": "^4.12.19",
|
|
|
|
"rimraf": "^3.0.2",
|
2018-11-27 10:40:00 +03:00
|
|
|
"shelljs": "^0.8.3",
|
2018-08-17 16:57:32 +03:00
|
|
|
"source-map-loader": "^0.2.4",
|
2020-03-16 17:38:18 +03:00
|
|
|
"style-loader": "^1.1.3",
|
2019-12-12 13:46:17 +03:00
|
|
|
"styled-components": "^4.4.1",
|
|
|
|
"ts-jest": "24.2.0",
|
|
|
|
"ts-loader": "6.2.1",
|
2020-03-16 17:38:18 +03:00
|
|
|
"ts-node": "^8.6.2",
|
|
|
|
"typescript": "^3.8.3",
|
2019-05-12 23:11:41 +03:00
|
|
|
"unfetch": "^4.1.0",
|
2020-03-16 17:38:18 +03:00
|
|
|
"url-polyfill": "^1.1.8",
|
|
|
|
"webpack": "^4.42.0",
|
|
|
|
"webpack-cli": "^3.3.11",
|
|
|
|
"webpack-dev-server": "^3.10.3",
|
2018-01-23 20:09:23 +03:00
|
|
|
"webpack-node-externals": "^1.6.0",
|
2019-09-30 10:34:49 +03:00
|
|
|
"workerize-loader": "^1.1.0",
|
2018-01-23 20:09:23 +03:00
|
|
|
"yaml-js": "^0.2.3"
|
2017-05-08 11:24:25 +03:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2019-08-01 10:34:53 +03:00
|
|
|
"core-js": "^3.1.4",
|
2019-01-31 04:55:27 +03:00
|
|
|
"mobx": "^4.2.0 || ^5.0.0",
|
2019-03-15 12:37:54 +03:00
|
|
|
"react": "^16.8.4",
|
|
|
|
"react-dom": "^16.8.4",
|
2019-07-29 18:41:57 +03:00
|
|
|
"styled-components": "^4.1.1"
|
2017-03-15 18:50:10 +03:00
|
|
|
},
|
2017-04-23 17:43:18 +03:00
|
|
|
"dependencies": {
|
2020-05-09 15:13:43 +03:00
|
|
|
"@types/node": "^13.11.1",
|
2018-06-25 09:55:35 +03:00
|
|
|
"classnames": "^2.2.6",
|
2017-10-12 00:01:37 +03:00
|
|
|
"decko": "^1.2.0",
|
2020-03-16 17:38:18 +03:00
|
|
|
"dompurify": "^2.0.8",
|
2019-07-29 18:41:57 +03:00
|
|
|
"eventemitter3": "^4.0.0",
|
2017-05-08 11:24:25 +03:00
|
|
|
"json-pointer": "^0.6.0",
|
2019-03-11 18:08:29 +03:00
|
|
|
"json-schema-ref-parser": "^6.1.0",
|
2019-12-12 13:46:17 +03:00
|
|
|
"lunr": "2.3.8",
|
2018-01-21 22:39:51 +03:00
|
|
|
"mark.js": "^8.11.1",
|
2019-07-29 18:41:57 +03:00
|
|
|
"marked": "^0.7.0",
|
2019-12-12 13:46:17 +03:00
|
|
|
"memoize-one": "~5.1.1",
|
2020-03-16 17:38:18 +03:00
|
|
|
"mobx-react": "6.1.5",
|
2019-07-29 18:41:57 +03:00
|
|
|
"openapi-sampler": "1.0.0-beta.15",
|
2018-06-25 09:55:35 +03:00
|
|
|
"perfect-scrollbar": "^1.4.0",
|
2020-03-16 17:38:18 +03:00
|
|
|
"polished": "^3.4.4",
|
|
|
|
"prismjs": "^1.19.0",
|
2019-03-11 18:08:29 +03:00
|
|
|
"prop-types": "^15.7.2",
|
2020-03-16 17:38:18 +03:00
|
|
|
"react-dropdown": "^1.7.0",
|
|
|
|
"react-tabs": "^3.1.0",
|
|
|
|
"slugify": "^1.4.0",
|
2017-11-20 03:18:43 +03:00
|
|
|
"stickyfill": "^1.1.1",
|
2020-03-16 17:38:18 +03:00
|
|
|
"swagger2openapi": "^5.3.4",
|
|
|
|
"tslib": "^1.11.1",
|
2019-09-30 10:12:26 +03:00
|
|
|
"url-template": "^2.0.8"
|
2017-10-12 00:01:37 +03:00
|
|
|
},
|
2018-03-17 20:56:08 +03:00
|
|
|
"bundlesize": [
|
|
|
|
{
|
|
|
|
"path": "./bundles/redoc.standalone.js",
|
|
|
|
"maxSize": "300 kB"
|
|
|
|
}
|
|
|
|
],
|
2017-10-12 00:01:37 +03:00
|
|
|
"jest": {
|
2019-03-15 13:03:47 +03:00
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/src/setupTests.ts"
|
|
|
|
],
|
2018-10-18 11:27:28 +03:00
|
|
|
"preset": "ts-jest",
|
2018-03-17 21:57:45 +03:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.{ts,tsx}"
|
|
|
|
],
|
2018-03-17 23:04:37 +03:00
|
|
|
"coverageReporters": [
|
|
|
|
"json",
|
|
|
|
"lcov",
|
|
|
|
"text-summary"
|
|
|
|
],
|
|
|
|
"coveragePathIgnorePatterns": [
|
2018-10-18 11:27:28 +03:00
|
|
|
"\\.d\\.ts$",
|
|
|
|
"/benchmark/",
|
|
|
|
"/node_modules/"
|
|
|
|
],
|
|
|
|
"modulePathIgnorePatterns": [
|
|
|
|
"/benchmark/"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(css|less)$": "<rootDir>/src/empty.js"
|
|
|
|
}
|
2017-10-12 00:01:37 +03:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all",
|
|
|
|
"printWidth": 100,
|
|
|
|
"parser": "typescript"
|
2017-04-23 17:43:18 +03:00
|
|
|
}
|
2018-03-23 06:44:41 +03:00
|
|
|
}
|