2015-10-03 11:54:09 +03:00
|
|
|
{
|
2017-10-12 00:01:37 +03:00
|
|
|
"private": true,
|
2016-01-13 00:35:08 +03:00
|
|
|
"name": "redoc",
|
2017-10-12 00:01:37 +03:00
|
|
|
"version": "2.0.0",
|
|
|
|
"description": "ReDoc",
|
|
|
|
"main": "lib/index.js",
|
2015-10-03 11:54:09 +03:00
|
|
|
"scripts": {
|
2017-10-12 00:01:37 +03:00
|
|
|
"start": "webpack-dev-server --hot",
|
|
|
|
"start:perf": "webpack-dev-server --env.prod --env.perf",
|
|
|
|
"start:prod": "webpack-dev-server --env.prod",
|
|
|
|
"dev": "webpack-dashboard -- webpack-dev-server --hot",
|
|
|
|
"test": "jest",
|
|
|
|
"bundle": "webpack",
|
2017-11-14 18:51:56 +03:00
|
|
|
"bundle:prod": "webpack -p --env.prod",
|
2017-11-14 19:03:58 +03:00
|
|
|
"stats": "webpack -p --env.prod --json > stats.json",
|
2017-10-12 00:01:37 +03:00
|
|
|
"prettier": "prettier --write \"src/**/*.{ts,tsx}\""
|
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": {
|
2017-10-12 00:01:37 +03:00
|
|
|
"@types/enzyme": "^2.8.10",
|
|
|
|
"@types/enzyme-to-json": "^1.5.0",
|
|
|
|
"@types/jest": "^20.0.8",
|
|
|
|
"@types/json-pointer": "^1.0.30",
|
|
|
|
"@types/prismjs": "^1.6.4",
|
|
|
|
"@types/prop-types": "^15.5.2",
|
|
|
|
"@types/react": "^16.0.9",
|
|
|
|
"@types/react-dom": "^16.0.0",
|
|
|
|
"@types/react-hot-loader": "^3.0.3",
|
|
|
|
"@types/react-tabs": "^1.0.2",
|
|
|
|
"@types/recompose": "^0.24.1",
|
|
|
|
"@types/webpack": "^3.0.5",
|
|
|
|
"@types/webpack-env": "^1.13.0",
|
|
|
|
"awesome-typescript-loader": "^3.2.2",
|
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",
|
2017-10-12 00:01:37 +03:00
|
|
|
"extract-text-webpack-plugin": "^3.0.0",
|
|
|
|
"html-webpack-plugin": "^2.30.1",
|
|
|
|
"jest": "^21.1.0",
|
|
|
|
"mobx-react-devtools": "^4.2.15",
|
|
|
|
"postcss": "^6.0.8",
|
|
|
|
"postcss-cssnext": "^3.0.2",
|
|
|
|
"postcss-import": "^10.0.0",
|
|
|
|
"preact-deep-force-update": "^0.1.0",
|
|
|
|
"prettier": "^1.5.3",
|
|
|
|
"prettier-eslint": "^7.1.0",
|
|
|
|
"puppeteer": "^0.10.2",
|
2017-11-14 13:54:08 +03:00
|
|
|
"raf": "^3.4.0",
|
2017-10-12 00:01:37 +03:00
|
|
|
"react-dev-utils": "^4.1.0",
|
|
|
|
"react-hot-loader": "3.0.0-beta.6",
|
2017-05-05 12:44:41 +03:00
|
|
|
"source-map-loader": "^0.2.1",
|
2017-06-26 12:52:33 +03:00
|
|
|
"style-loader": "^0.18.2",
|
2017-10-12 00:01:37 +03:00
|
|
|
"ts-jest": "^21.0.1",
|
2017-09-21 11:48:10 +03:00
|
|
|
"tslint": "^5.7.0",
|
2017-10-12 00:01:37 +03:00
|
|
|
"typescript": "^2.4.2",
|
|
|
|
"webpack": "^3.4.1",
|
|
|
|
"webpack-dashboard": "^0.4.0",
|
|
|
|
"webpack-dev-server": "^2.6.1"
|
2017-03-15 18:50:10 +03:00
|
|
|
},
|
2017-04-23 17:43:18 +03:00
|
|
|
"dependencies": {
|
2017-10-12 00:01:37 +03:00
|
|
|
"css-loader": "^0.28.7",
|
|
|
|
"decko": "^1.2.0",
|
|
|
|
"eventemitter3": "^2.0.3",
|
|
|
|
"hastscript": "^3.1.0",
|
2017-05-08 11:24:25 +03:00
|
|
|
"json-pointer": "^0.6.0",
|
2017-09-21 11:48:10 +03:00
|
|
|
"json-schema-ref-parser": "^3.3.1",
|
2017-10-12 00:01:37 +03:00
|
|
|
"mobx": "^3.3.0",
|
|
|
|
"mobx-react": "^4.3.3",
|
|
|
|
"openapi-sampler": "^1.0.0-beta.1",
|
|
|
|
"postcss-loader": "^2.0.6",
|
|
|
|
"preact": "^8.2.5",
|
|
|
|
"preact-compat": "^3.17.0",
|
2017-09-21 11:48:10 +03:00
|
|
|
"prismjs": "^1.8.1",
|
2017-10-12 00:01:37 +03:00
|
|
|
"react": "^16.0.0",
|
|
|
|
"react-dom": "^16.0.0",
|
|
|
|
"react-dropdown": "^1.3.0",
|
|
|
|
"react-markdown": "^2.5.0",
|
|
|
|
"react-perfect-scrollbar": "^0.2.2",
|
|
|
|
"react-tabs": "^2.0.0",
|
|
|
|
"remarkable": "^1.7.1",
|
2017-09-21 11:48:10 +03:00
|
|
|
"slugify": "^1.2.1",
|
2017-10-12 00:01:37 +03:00
|
|
|
"styled-components": "^2.2.1"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"mapCoverage": true,
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
|
|
},
|
2017-11-14 13:54:08 +03:00
|
|
|
"setupTestFrameworkScriptFile": "<rootDir>/src/setupTests.ts",
|
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
|
|
|
}
|