mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 08:36:33 +03:00
199 lines
5.9 KiB
JSON
199 lines
5.9 KiB
JSON
{
|
|
"name": "redoc",
|
|
"version": "2.0.0-alpha.18",
|
|
"description": "ReDoc",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/Rebilly/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",
|
|
"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",
|
|
"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",
|
|
"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 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"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0-beta.40",
|
|
"@babel/plugin-syntax-decorators": "^7.0.0-beta.42",
|
|
"@babel/plugin-syntax-typescript": "^7.0.0-beta.42",
|
|
"@cypress/webpack-preprocessor": "2.0.0",
|
|
"@types/dompurify": "^0.0.31",
|
|
"@types/enzyme": "^3.1.8",
|
|
"@types/enzyme-to-json": "^1.5.0",
|
|
"@types/jest": "^22.2.0",
|
|
"@types/json-pointer": "^1.0.30",
|
|
"@types/lodash": "^4.14.105",
|
|
"@types/lunr": "^2.1.5",
|
|
"@types/prismjs": "^1.6.4",
|
|
"@types/prop-types": "^15.5.2",
|
|
"@types/react": "^16.0.30",
|
|
"@types/react-dom": "^16.0.0",
|
|
"@types/react-hot-loader": "^3.0.3",
|
|
"@types/react-tabs": "^1.0.2",
|
|
"@types/webpack": "^4.1.1",
|
|
"@types/webpack-env": "^1.13.0",
|
|
"@types/yargs": "^11.0.0",
|
|
"babel-loader": "8.0.0-beta.2",
|
|
"babel-plugin-styled-components": "^1.5.1",
|
|
"beautify-benchmark": "^0.2.4",
|
|
"conventional-changelog-cli": "^1.3.5",
|
|
"copy-webpack-plugin": "^4.5.1",
|
|
"core-js": "^2.5.1",
|
|
"coveralls": "^3.0.0",
|
|
"css-loader": "^0.28.11",
|
|
"cypress": "~2.1.0",
|
|
"deploy-to-gh-pages": "^1.3.6",
|
|
"enzyme": "^3.1.1",
|
|
"enzyme-adapter-react-16": "^1.0.4",
|
|
"enzyme-to-json": "^3.3.3",
|
|
"fork-ts-checker-webpack-plugin": "^0.4.1",
|
|
"html-webpack-plugin": "^3.0.6",
|
|
"jest": "^22.1.4",
|
|
"lodash": "^4.17.4",
|
|
"prettier": "^1.5.3",
|
|
"prettier-eslint": "^8.8.1",
|
|
"puppeteer": "^1.2.0",
|
|
"raf": "^3.4.0",
|
|
"react": "^16.3.0-alpha.2",
|
|
"react-dom": "^16.3.0-alpha.2",
|
|
"rimraf": "^2.6.2",
|
|
"shelljs": "^0.8.1",
|
|
"source-map-loader": "^0.2.1",
|
|
"style-loader": "^0.20.3",
|
|
"ts-jest": "^22.0.1",
|
|
"ts-loader": "4.1.0",
|
|
"ts-node": "^5.0.1",
|
|
"tslint": "^5.7.0",
|
|
"tslint-react": "^3.4.0",
|
|
"typescript": "^2.8.0-rc",
|
|
"webpack": "^4.1.1",
|
|
"webpack-cli": "^2.0.12",
|
|
"webpack-dev-server": "^3.1.1",
|
|
"webpack-node-externals": "^1.6.0",
|
|
"workerize-loader": "^1.0.2",
|
|
"yaml-js": "^0.2.3"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.3.0-alpha.2",
|
|
"react-dom": "^16.3.0-alpha.2"
|
|
},
|
|
"dependencies": {
|
|
"@babel/plugin-syntax-jsx": "^7.0.0-beta.42",
|
|
"@types/mark.js": "^8.11.1",
|
|
"@types/marked": "^0.3.0",
|
|
"bundlesize": "^0.16.0",
|
|
"classnames": "^2.2.5",
|
|
"decko": "^1.2.0",
|
|
"dompurify": "^1.0.2",
|
|
"eventemitter3": "^3.0.0",
|
|
"json-pointer": "^0.6.0",
|
|
"json-schema-ref-parser": "^4.0.4",
|
|
"lunr": "^2.1.5",
|
|
"mark.js": "^8.11.1",
|
|
"marked": "^0.3.12",
|
|
"mobx": "^4.1.0",
|
|
"mobx-react": "^5.0.0",
|
|
"openapi-sampler": "1.0.0-beta.9",
|
|
"perfect-scrollbar": "^1.3.0",
|
|
"polished": "^1.9.2",
|
|
"prismjs": "^1.12.2",
|
|
"prop-types": "^15.6.0",
|
|
"react-dropdown": "^1.3.0",
|
|
"react-hot-loader": "^4.0.0",
|
|
"react-tabs": "^2.0.0",
|
|
"slugify": "^1.2.1",
|
|
"stickyfill": "^1.1.1",
|
|
"styled-components": "^3.2.3",
|
|
"swagger2openapi": "^2.11.0",
|
|
"yargs": "^11.0.0"
|
|
},
|
|
"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"
|
|
}
|
|
}
|