package.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. {
  2. "name": "davinci-webapp",
  3. "version": "0.3.0",
  4. "description": "Davinci Web Application",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/edp963/davinci"
  8. },
  9. "engines": {
  10. "npm": ">=5",
  11. "node": ">=8.15.1"
  12. },
  13. "license": "Apache-2.0",
  14. "scripts": {
  15. "analyze:clean": "rimraf stats.json",
  16. "preanalyze": "npm run analyze:clean",
  17. "analyze": "node ./internals/scripts/analyze.js",
  18. "extract-intl": "node ./internals/scripts/extract-intl.js",
  19. "npmcheckversion": "node ./internals/scripts/npmcheckversion.js",
  20. "preinstall": "npm run npmcheckversion",
  21. "prebuild": "npm run build:clean",
  22. "build:prod": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.dv.babel.js --color -p --progress --hide-modules --display-optimization-bailout",
  23. "build": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout",
  24. "build:clean": "rimraf ./build",
  25. "dev": "cross-env NODE_ENV=development webpack --config internals/webpack/webpack.dev.babel.js",
  26. "start": "cross-env NODE_ENV=development node server",
  27. "start:production": "npm run test && npm run build && npm run start:prod",
  28. "start:prod": "cross-env NODE_ENV=production node server",
  29. "clean:all": "npm run analyze:clean && npm run test:clean && npm run build:clean",
  30. "lint": "npm run lint:ts",
  31. "lint:eslint": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts",
  32. "lint:eslint:fix": "eslint --ignore-path .gitignore --ignore-pattern internals/scripts --fix",
  33. "lint:js": "npm run lint:eslint -- . ",
  34. "lint:ts": "npm run lint:tslint",
  35. "lint:tslint": "tslint --config ./tslint.json --project ./tsconfig.json",
  36. "lint:staged": "lint-staged",
  37. "pretest": "npm run test:clean",
  38. "test:clean": "rimraf ./coverage",
  39. "test": "cross-env NODE_ENV=test jest --coverage",
  40. "test:watch": "cross-env NODE_ENV=test jest --watchAll",
  41. "coveralls": "cat ./coverage/lcov.info | coveralls",
  42. "prettify": "prettier --write"
  43. },
  44. "lint-staged": {
  45. "*.js": [
  46. "npm run lint:eslint:fix",
  47. "git add --force"
  48. ],
  49. "*.json": [
  50. "prettier --write",
  51. "git add --force"
  52. ],
  53. "*.ts": "npm run lint:tslint",
  54. "*.tsx": "npm run lint:tslint"
  55. },
  56. "pre-commit": "lint:staged",
  57. "resolutions": {
  58. "babel-core": "7.0.0-bridge.0"
  59. },
  60. "dependencies": {
  61. "ace-builds": "^1.4.9",
  62. "antd": "^3.26.15",
  63. "axios": "^0.19.0",
  64. "bootstrap-datepicker": "^1.8.0",
  65. "chalk": "2.4.2",
  66. "classnames": "^2.2.6",
  67. "codemirror": "^5.49.0",
  68. "compression": "1.7.4",
  69. "connected-react-router": "6.5.2",
  70. "core-js": "^3.6.5",
  71. "cross-env": "5.2.0",
  72. "echarts": "^4.7.0",
  73. "echarts-wordcloud": "^1.1.3",
  74. "escape-html": "^1.0.3",
  75. "express": "4.16.4",
  76. "history": "4.9.0",
  77. "hoist-non-react-statics": "3.3.0",
  78. "html2canvas": "^1.0.0-rc.5",
  79. "immer": "^4.0.2",
  80. "immutable": "^4.0.0-rc.12",
  81. "intersection-observer": "^0.11.0",
  82. "intl": "1.2.5",
  83. "invariant": "2.2.4",
  84. "ip": "1.1.5",
  85. "lodash": "4.17.19",
  86. "memoize-one": "^5.0.0",
  87. "minimist": "1.2.3",
  88. "moment": "^2.24.0",
  89. "prop-types": "15.6.2",
  90. "react": "16.8.6",
  91. "react-ace": "^8.1.0",
  92. "react-color": "^2.17.3",
  93. "react-dnd": "^9.4.0",
  94. "react-dnd-html5-backend": "^9.4.0",
  95. "react-dom": "16.8.6",
  96. "react-draggable": "4.2.0",
  97. "react-grid-layout": "0.17.1",
  98. "react-helmet": "5.2.0",
  99. "react-hot-loader": "^4.12.17",
  100. "react-intl": "2.8.0",
  101. "react-redux": "7.1.3",
  102. "react-router": "5.1.2",
  103. "react-router-dom": "5.1.2",
  104. "react-split-pane": "^0.1.85",
  105. "react-use": "^13.27.1",
  106. "redux": "4.0.4",
  107. "redux-saga": "1.1.3",
  108. "redux-undo": "1.0.0-beta9-9-7",
  109. "reselect": "4.0.0",
  110. "reveal.js": "^4.1.0",
  111. "slate": "^0.57.1",
  112. "slate-history": "^0.57.1",
  113. "slate-hyperscript": "^0.57.1",
  114. "slate-react": "^0.57.1",
  115. "three": "^0.101.1",
  116. "ua-parser-js": "^0.7.20",
  117. "warning": "4.0.2"
  118. },
  119. "devDependencies": {
  120. "@babel/cli": "7.4.3",
  121. "@babel/core": "7.4.3",
  122. "@babel/plugin-proposal-class-properties": "7.4.0",
  123. "@babel/plugin-proposal-optional-chaining": "^7.9.0",
  124. "@babel/plugin-syntax-dynamic-import": "7.2.0",
  125. "@babel/plugin-transform-modules-commonjs": "7.4.3",
  126. "@babel/plugin-transform-react-constant-elements": "7.2.0",
  127. "@babel/plugin-transform-react-inline-elements": "7.2.0",
  128. "@babel/preset-env": "7.9.5",
  129. "@babel/preset-react": "7.9.4",
  130. "@babel/preset-typescript": "7.9.0",
  131. "@babel/register": "7.9.0",
  132. "@testing-library/jest-dom": "4.2.3",
  133. "@testing-library/react": "^11.0.4",
  134. "@types/classnames": "^2.2.9",
  135. "@types/codemirror": "^0.0.80",
  136. "@types/echarts": "4.4.1",
  137. "@types/jest": "^26.0.13",
  138. "@types/lodash": "^4.14.147",
  139. "@types/memoize-one": "^4.1.0",
  140. "@types/react": "16.9.11",
  141. "@types/react-color": "^3.0.1",
  142. "@types/react-dom": "16.9.4",
  143. "@types/react-grid-layout": "^0.16.7",
  144. "@types/react-helmet": "5.0.14",
  145. "@types/react-intl": "2.3.18",
  146. "@types/react-redux": "7.1.5",
  147. "@types/react-router-dom": "5.1.2",
  148. "@types/three": "^0.93.22",
  149. "@types/webpack": "^4.4.2",
  150. "@types/webpack-env": "^1.13.6",
  151. "add-asset-html-webpack-plugin": "3.1.3",
  152. "autoprefixer": "^9.7.6",
  153. "babel-core": "7.0.0-bridge.0",
  154. "babel-eslint": "10.0.1",
  155. "babel-jest": "^26.3.0",
  156. "babel-loader": "8.0.5",
  157. "babel-plugin-dynamic-import-node": "2.3.0",
  158. "babel-plugin-import": "^1.12.0",
  159. "babel-plugin-lodash": "3.3.4",
  160. "babel-plugin-react-intl": "3.0.1",
  161. "babel-plugin-react-transform": "3.0.0",
  162. "babel-plugin-transform-imports": "^2.0.0",
  163. "babel-plugin-transform-react-remove-prop-types": "0.4.24",
  164. "case-sensitive-paths-webpack-plugin": "^2.2.0",
  165. "circular-dependency-plugin": "5.0.2",
  166. "compare-versions": "3.4.0",
  167. "compression-webpack-plugin": "2.0.0",
  168. "coveralls": "3.0.3",
  169. "css-loader": "2.1.1",
  170. "eslint": "6.6.0",
  171. "eslint-config-prettier": "4.1.0",
  172. "eslint-config-standard": "14.1.0",
  173. "eslint-config-standard-react": "9.2.0",
  174. "eslint-import-resolver-webpack": "0.11.1",
  175. "eslint-plugin-import": "2.18.2",
  176. "eslint-plugin-jsx-a11y": "6.2.3",
  177. "eslint-plugin-node": "10.0.0",
  178. "eslint-plugin-prettier": "3.0.1",
  179. "eslint-plugin-promise": "4.2.1",
  180. "eslint-plugin-react": "7.16.0",
  181. "eslint-plugin-react-hooks": "^2.5.1",
  182. "eslint-plugin-redux-saga": "1.0.0",
  183. "eslint-plugin-standard": "4.0.1",
  184. "file-loader": "3.0.1",
  185. "fork-ts-checker-webpack-plugin": "^3.1.0",
  186. "happypack": "^5.0.1",
  187. "html-loader": "0.5.5",
  188. "html-webpack-plugin": "3.2.0",
  189. "http-proxy-middleware": "^0.19.1",
  190. "image-webpack-loader": "^4.6.0",
  191. "imports-loader": "0.8.0",
  192. "jest": "^26.4.2",
  193. "less": "^3.10.3",
  194. "less-loader": "^5.0.0",
  195. "lint-staged": "8.1.5",
  196. "null-loader": "0.1.1",
  197. "postcss-loader": "^3.0.0",
  198. "pre-commit": "1.2.2",
  199. "prettier": "^2.0.4",
  200. "react-test-renderer": "16.8.6",
  201. "redux-saga-test-plan": "^4.0.0-rc.3",
  202. "rimraf": "2.6.3",
  203. "shelljs": "0.8.3",
  204. "style-loader": "0.23.1",
  205. "svg-url-loader": "2.3.2",
  206. "terser-webpack-plugin": "^1.2.3",
  207. "ts-jest": "^26.3.0",
  208. "ts-node": "^7.0.0",
  209. "tsconfig-paths": "^3.4.1",
  210. "tsconfig-paths-webpack-plugin": "^3.2.0",
  211. "tslint": "5.11.0",
  212. "tslint-loader": "3.5.4",
  213. "tslint-react": "3.6.0",
  214. "typescript": "^4.0.2",
  215. "url-loader": "1.1.2",
  216. "webpack": "4.43.0",
  217. "webpack-bundle-analyzer": "^3.6.1",
  218. "webpack-cli": "3.3.0",
  219. "webpack-dev-middleware": "3.6.2",
  220. "webpack-hot-middleware": "2.24.3"
  221. }
  222. }