2015-10-03 11:54:09 +03:00
|
|
|
{
|
2016-01-13 00:35:08 +03:00
|
|
|
"name": "redoc",
|
2018-03-17 01:03:27 +03:00
|
|
|
"version": "2.0.0-alpha.15",
|
2017-10-12 00:01:37 +03:00
|
|
|
"description": "ReDoc",
|
2017-11-19 22:27:44 +03:00
|
|
|
"main": "bundles/redoc.lib.js",
|
2018-03-15 23:26:07 +03:00
|
|
|
"bin": "bin/cli.js",
|
2015-10-03 11:54:09 +03:00
|
|
|
"scripts": {
|
2018-03-17 18:58:28 +03:00
|
|
|
"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",
|
2018-01-22 21:30:53 +03:00
|
|
|
"test": "npm run lint && npm run unit && npm run e2e",
|
2017-11-19 13:51:59 +03:00
|
|
|
"unit": "jest",
|
2018-02-17 22:27:15 +03:00
|
|
|
"e2e": "cypress run",
|
2017-11-19 13:51:59 +03:00
|
|
|
"cy:open": "cypress open",
|
|
|
|
"bundle:clean": "rimraf bundles",
|
2018-03-17 18:58:28 +03:00
|
|
|
"bundle:standalone": "webpack --env.standalone --mode=production",
|
|
|
|
"bundle:lib": "webpack --mode=production",
|
2017-11-19 22:27:44 +03:00
|
|
|
"bundle": "npm run bundle:clean && npm run bundle:lib && npm run bundle:standalone",
|
2018-03-17 18:58:28 +03:00
|
|
|
"stats": "webpack --env.standalone --json --profile > stats.json",
|
2017-11-22 14:03:31 +03:00
|
|
|
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
|
2018-01-22 21:30:53 +03:00
|
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
|
2018-01-29 14:09:38 +03:00
|
|
|
"lint": "tslint --project tsconfig.json",
|
2018-03-13 13:58:22 +03:00
|
|
|
"benchmark": "node ./benchmark/benchmark.js",
|
2018-03-17 18:58:28 +03:00
|
|
|
"start:demo": "webpack-dev-server --hot --config demo/webpack.config.ts",
|
2018-03-14 09:24:45 +03:00
|
|
|
"compile:cli": "tsc bin/cli.ts --target es6 --module commonjs --types yargs"
|
2015-10-03 11:54:09 +03:00
|
|
|
},
|
2017-10-12 00:01:37 +03:00
|
|
|
"author": "",
|
2015-10-03 11:54:09 +03:00
|
|
|
"license": "MIT",
|
|
|
|
"devDependencies": {
|
2018-03-17 15:17:09 +03:00
|
|
|
"@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",
|
2018-03-17 18:58:28 +03:00
|
|
|
"@cypress/webpack-preprocessor": "RomanGotsiy/cypress-webpack-preprocessor",
|
2017-11-22 14:26:28 +03:00
|
|
|
"@types/dompurify": "^0.0.31",
|
2018-01-29 15:32:57 +03:00
|
|
|
"@types/enzyme": "^3.1.8",
|
2017-10-12 00:01:37 +03:00
|
|
|
"@types/enzyme-to-json": "^1.5.0",
|
2018-01-29 15:32:57 +03:00
|
|
|
"@types/jest": "^22.1.0",
|
2017-10-12 00:01:37 +03:00
|
|
|
"@types/json-pointer": "^1.0.30",
|
2018-01-30 17:45:52 +03:00
|
|
|
"@types/lodash": "^4.14.98",
|
2018-02-08 19:41:02 +03:00
|
|
|
"@types/lunr": "^2.1.5",
|
2017-10-12 00:01:37 +03:00
|
|
|
"@types/prismjs": "^1.6.4",
|
2017-11-23 13:23:46 +03:00
|
|
|
"@types/prop-types": "^15.5.2",
|
2017-12-15 13:15:30 +03:00
|
|
|
"@types/react": "^16.0.30",
|
2017-10-12 00:01:37 +03:00
|
|
|
"@types/react-dom": "^16.0.0",
|
|
|
|
"@types/react-hot-loader": "^3.0.3",
|
|
|
|
"@types/react-tabs": "^1.0.2",
|
2018-03-17 18:58:28 +03:00
|
|
|
"@types/webpack": "^4.1.1",
|
2017-10-12 00:01:37 +03:00
|
|
|
"@types/webpack-env": "^1.13.0",
|
2018-03-14 09:24:45 +03:00
|
|
|
"@types/yargs": "^11.0.0",
|
2018-03-17 15:17:09 +03:00
|
|
|
"babel-loader": "8.0.0-beta.2",
|
2018-01-29 14:09:38 +03:00
|
|
|
"beautify-benchmark": "^0.2.4",
|
2017-11-23 17:22:38 +03:00
|
|
|
"conventional-changelog-cli": "^1.3.5",
|
2017-11-19 22:27:44 +03:00
|
|
|
"core-js": "^2.5.1",
|
2018-03-17 18:58:28 +03:00
|
|
|
"css-loader": "^0.28.11",
|
2018-01-29 15:32:57 +03:00
|
|
|
"cypress": "~1.4.1",
|
2017-11-14 13:54:08 +03:00
|
|
|
"enzyme": "^3.1.1",
|
|
|
|
"enzyme-adapter-react-16": "^1.0.4",
|
|
|
|
"enzyme-to-json": "^3.2.2",
|
2018-03-17 16:11:52 +03:00
|
|
|
"fork-ts-checker-webpack-plugin": "^0.4.1",
|
2018-03-17 18:58:28 +03:00
|
|
|
"html-webpack-plugin": "^3.0.6",
|
2018-01-29 15:32:57 +03:00
|
|
|
"jest": "^22.1.4",
|
2018-01-30 17:45:52 +03:00
|
|
|
"lodash": "^4.17.4",
|
2017-10-12 00:01:37 +03:00
|
|
|
"mobx-react-devtools": "^4.2.15",
|
|
|
|
"prettier": "^1.5.3",
|
2018-01-29 15:32:57 +03:00
|
|
|
"prettier-eslint": "^8.8.1",
|
|
|
|
"puppeteer": "^1.0.0",
|
2017-11-14 13:54:08 +03:00
|
|
|
"raf": "^3.4.0",
|
2018-01-22 21:39:41 +03:00
|
|
|
"react": "^16.2.0",
|
|
|
|
"react-dom": "^16.2.0",
|
2017-11-19 22:27:44 +03:00
|
|
|
"rimraf": "^2.6.2",
|
2018-01-29 14:09:38 +03:00
|
|
|
"shelljs": "^0.8.1",
|
2017-05-05 12:44:41 +03:00
|
|
|
"source-map-loader": "^0.2.1",
|
2018-03-17 18:58:28 +03:00
|
|
|
"style-loader": "^0.20.3",
|
2018-01-29 15:32:57 +03:00
|
|
|
"ts-jest": "^22.0.1",
|
2018-03-17 18:58:28 +03:00
|
|
|
"ts-loader": "4.1.0",
|
2018-01-29 15:32:57 +03:00
|
|
|
"ts-node": "^4.1.0",
|
2017-09-21 11:48:10 +03:00
|
|
|
"tslint": "^5.7.0",
|
2018-01-22 21:30:53 +03:00
|
|
|
"tslint-react": "^3.4.0",
|
2018-03-16 18:02:12 +03:00
|
|
|
"typescript": "^2.8.0-dev.20180316",
|
2018-03-17 18:58:28 +03:00
|
|
|
"webpack": "^4.1.1",
|
|
|
|
"webpack-cli": "^2.0.12",
|
|
|
|
"webpack-dev-server": "^3.1.1",
|
2018-01-23 20:09:23 +03:00
|
|
|
"webpack-node-externals": "^1.6.0",
|
2018-03-06 14:10:08 +03:00
|
|
|
"workerize-loader": "^1.0.2",
|
2018-01-23 20:09:23 +03:00
|
|
|
"yaml-js": "^0.2.3"
|
2017-03-15 18:50:10 +03:00
|
|
|
},
|
2017-11-23 13:23:46 +03:00
|
|
|
"peerDependencies": {
|
|
|
|
"react": "^16.0.0",
|
|
|
|
"react-dom": "^16.0.0"
|
|
|
|
},
|
2017-04-23 17:43:18 +03:00
|
|
|
"dependencies": {
|
2018-03-17 15:17:09 +03:00
|
|
|
"@babel/plugin-syntax-jsx": "^7.0.0-beta.42",
|
2018-03-06 12:03:17 +03:00
|
|
|
"@types/mark.js": "^8.11.1",
|
2018-02-09 14:29:18 +03:00
|
|
|
"@types/marked": "^0.3.0",
|
2018-02-17 22:27:15 +03:00
|
|
|
"classnames": "^2.2.5",
|
2017-10-12 00:01:37 +03:00
|
|
|
"decko": "^1.2.0",
|
2017-11-22 14:26:28 +03:00
|
|
|
"dompurify": "^1.0.2",
|
2018-01-29 15:32:57 +03:00
|
|
|
"eventemitter3": "^3.0.0",
|
2017-05-08 11:24:25 +03:00
|
|
|
"json-pointer": "^0.6.0",
|
2017-12-07 14:52:06 +03:00
|
|
|
"json-schema-ref-parser": "^4.0.4",
|
2018-02-08 19:41:02 +03:00
|
|
|
"lunr": "^2.1.5",
|
2018-02-22 12:26:53 +03:00
|
|
|
"mark.js": "^8.11.1",
|
2018-02-09 14:29:18 +03:00
|
|
|
"marked": "^0.3.12",
|
2017-10-12 00:01:37 +03:00
|
|
|
"mobx": "^3.3.0",
|
|
|
|
"mobx-react": "^4.3.3",
|
2018-03-05 15:37:42 +03:00
|
|
|
"openapi-sampler": "1.0.0-beta.9",
|
2018-01-22 21:30:53 +03:00
|
|
|
"perfect-scrollbar": "^1.3.0",
|
2018-03-16 18:02:31 +03:00
|
|
|
"polished": "^1.9.2",
|
2017-09-21 11:48:10 +03:00
|
|
|
"prismjs": "^1.8.1",
|
2017-11-20 19:02:49 +03:00
|
|
|
"prop-types": "^15.6.0",
|
2017-10-12 00:01:37 +03:00
|
|
|
"react-dropdown": "^1.3.0",
|
2018-03-17 15:17:09 +03:00
|
|
|
"react-hot-loader": "^4.0.0",
|
2017-10-12 00:01:37 +03:00
|
|
|
"react-tabs": "^2.0.0",
|
2017-09-21 11:48:10 +03:00
|
|
|
"slugify": "^1.2.1",
|
2017-11-20 03:18:43 +03:00
|
|
|
"stickyfill": "^1.1.1",
|
2018-01-29 15:32:57 +03:00
|
|
|
"styled-components": "^3.1.0",
|
2018-03-13 17:56:38 +03:00
|
|
|
"swagger2openapi": "^2.11.0",
|
|
|
|
"yargs": "^11.0.0"
|
2017-10-12 00:01:37 +03:00
|
|
|
},
|
2018-02-17 22:27:15 +03:00
|
|
|
"resolutions": {
|
2018-03-17 18:58:28 +03:00
|
|
|
"@types/chai": "4.0.8",
|
|
|
|
"@types/tapable": "1.0.0"
|
2018-02-17 22:27:15 +03:00
|
|
|
},
|
2017-10-12 00:01:37 +03:00
|
|
|
"jest": {
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
|
|
},
|
2017-11-14 13:54:08 +03:00
|
|
|
"setupTestFrameworkScriptFile": "<rootDir>/src/setupTests.ts",
|
2018-01-29 14:09:38 +03:00
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/benchmark/"
|
|
|
|
],
|
2017-10-12 00:01:37 +03:00
|
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(css|less)$": "<rootDir>/empty.js"
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
|
|
|
"skipBabel": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "all",
|
|
|
|
"printWidth": 100,
|
|
|
|
"parser": "typescript"
|
2017-04-23 17:43:18 +03:00
|
|
|
}
|
2015-10-03 11:54:09 +03:00
|
|
|
}
|