mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-04 22:33:43 +03:00
201 lines
6.4 KiB
JSON
201 lines
6.4 KiB
JSON
{
|
|
"name": "redoc",
|
|
"version": "2.0.0-rc.39",
|
|
"description": "ReDoc",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/Redocly/redoc"
|
|
},
|
|
"engines": {
|
|
"node": ">=6.9",
|
|
"npm": ">=3.0.0"
|
|
},
|
|
"author": "Roman Hotsiy <gotsijroman@gmail.com>",
|
|
"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 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 && npm run declarations",
|
|
"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 \"cli/index.ts\" \"src/**/*.{ts,tsx}\"",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
|
|
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
|
|
"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",
|
|
"docker:build": "docker build -f config/docker/Dockerfile -t redoc ."
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.10.5",
|
|
"@babel/plugin-syntax-decorators": "^7.10.4",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
"@babel/plugin-syntax-jsx": "^7.10.4",
|
|
"@babel/plugin-syntax-typescript": "^7.10.4",
|
|
"@cypress/webpack-preprocessor": "^5.4.2",
|
|
"@hot-loader/react-dom": "^16.12.0",
|
|
"@types/chai": "^4.2.12",
|
|
"@types/dompurify": "^2.0.2",
|
|
"@types/enzyme": "^3.10.5",
|
|
"@types/enzyme-to-json": "^1.5.3",
|
|
"@types/jest": "^26.0.7",
|
|
"@types/json-pointer": "^1.0.30",
|
|
"@types/lodash": "^4.14.158",
|
|
"@types/lunr": "^2.3.3",
|
|
"@types/mark.js": "^8.11.5",
|
|
"@types/marked": "^1.1.0",
|
|
"@types/prismjs": "^1.16.1",
|
|
"@types/prop-types": "^15.7.3",
|
|
"@types/react": "^16.9.43",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-tabs": "^2.3.2",
|
|
"@types/styled-components": "^5.1.1",
|
|
"@types/tapable": "^1.0.6",
|
|
"@types/webpack": "^4.41.21",
|
|
"@types/webpack-env": "^1.15.2",
|
|
"@types/yargs": "^15.0.5",
|
|
"@typescript-eslint/eslint-plugin": "^3.7.0",
|
|
"@typescript-eslint/parser": "^3.7.0",
|
|
"babel-loader": "^8.1.0",
|
|
"babel-plugin-styled-components": "^1.10.7",
|
|
"beautify-benchmark": "^0.2.4",
|
|
"bundlesize": "^0.18.0",
|
|
"conventional-changelog-cli": "^2.0.34",
|
|
"copy-webpack-plugin": "^6.0.3",
|
|
"core-js": "^3.6.5",
|
|
"coveralls": "^3.1.0",
|
|
"css-loader": "^3.6.0",
|
|
"cypress": "^4.11.0",
|
|
"deploy-to-gh-pages": "^1.3.7",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-react-16": "^1.15.2",
|
|
"enzyme-to-json": "^3.5.0",
|
|
"eslint": "^7.5.0",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-plugin-react": "^7.20.3",
|
|
"fork-ts-checker-webpack-plugin": "^5.0.11",
|
|
"html-webpack-plugin": "^4.3.0",
|
|
"jest": "^26.1.0",
|
|
"license-checker": "^25.0.1",
|
|
"lodash": "^4.17.19",
|
|
"mobx": "^5.15.4",
|
|
"prettier": "^2.0.5",
|
|
"raf": "^3.4.1",
|
|
"react": "^16.13.1",
|
|
"react-dom": "^16.13.1",
|
|
"react-hot-loader": "^4.12.21",
|
|
"rimraf": "^3.0.2",
|
|
"shelljs": "^0.8.4",
|
|
"source-map-loader": "^1.0.1",
|
|
"style-loader": "^1.2.1",
|
|
"styled-components": "^5.1.1",
|
|
"ts-jest": "^26.1.3",
|
|
"ts-loader": "^8.0.1",
|
|
"ts-node": "^8.10.2",
|
|
"typescript": "^3.9.7",
|
|
"unfetch": "^4.1.0",
|
|
"url-polyfill": "^1.1.10",
|
|
"webpack": "^4.44.0",
|
|
"webpack-cli": "^3.3.12",
|
|
"webpack-dev-server": "^3.11.0",
|
|
"webpack-node-externals": "^2.5.0",
|
|
"workerize-loader": "^1.3.0",
|
|
"yaml-js": "^0.2.3"
|
|
},
|
|
"peerDependencies": {
|
|
"core-js": "^3.1.4",
|
|
"mobx": "^4.2.0 || ^5.0.0",
|
|
"react": "^16.8.4",
|
|
"react-dom": "^16.8.4",
|
|
"styled-components": "^4.1.1"
|
|
},
|
|
"dependencies": {
|
|
"@redocly/react-dropdown-aria": "^2.0.11",
|
|
"@types/node": "^13.11.1",
|
|
"classnames": "^2.2.6",
|
|
"decko": "^1.2.0",
|
|
"dompurify": "^2.0.12",
|
|
"eventemitter3": "^4.0.4",
|
|
"json-pointer": "^0.6.0",
|
|
"json-schema-ref-parser": "^6.1.0",
|
|
"lunr": "2.3.8",
|
|
"mark.js": "^8.11.1",
|
|
"marked": "^0.7.0",
|
|
"memoize-one": "~5.1.1",
|
|
"mobx-react": "^6.2.2",
|
|
"openapi-sampler": "^1.0.0-beta.16",
|
|
"perfect-scrollbar": "^1.4.0",
|
|
"polished": "^3.6.5",
|
|
"prismjs": "^1.20.0",
|
|
"prop-types": "^15.7.2",
|
|
"react-tabs": "^3.1.1",
|
|
"slugify": "^1.4.4",
|
|
"stickyfill": "^1.1.1",
|
|
"swagger2openapi": "^6.2.1",
|
|
"tslib": "^2.0.0",
|
|
"url-template": "^2.0.8"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "./bundles/redoc.standalone.js",
|
|
"maxSize": "300 kB"
|
|
}
|
|
],
|
|
"jest": {
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/src/setupTests.ts"
|
|
],
|
|
"preset": "ts-jest",
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{ts,tsx}"
|
|
],
|
|
"coverageReporters": [
|
|
"json",
|
|
"lcov",
|
|
"text-summary"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"\\.d\\.ts$",
|
|
"/benchmark/",
|
|
"/node_modules/"
|
|
],
|
|
"modulePathIgnorePatterns": [
|
|
"/benchmark/"
|
|
],
|
|
"moduleNameMapper": {
|
|
"\\.(css|less)$": "<rootDir>/src/empty.js"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true,
|
|
"trailingComma": "all",
|
|
"printWidth": 100,
|
|
"parser": "typescript"
|
|
}
|
|
}
|