Files
SCM-Manager/package.json
Eduard Heimbuch b85dc8f0e6 Split frontend code by routes (#1955)
Split large frontend components into own bundles. This way we decrease loading times and load the bundles right as they are used. We replace SystemJS with our own implementation to load the lazy modules right as there are required.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2022-02-18 14:47:37 +01:00

58 lines
1.6 KiB
JSON

{
"name": "root",
"private": true,
"workspaces": [
"scm-ui/*",
"scm-plugins/*"
],
"scripts": {
"build": "webpack-cli --mode=production --config=scm-ui/ui-scripts/src/webpack.config.js",
"build:dev": "webpack-cli --mode=development --config=scm-ui/ui-scripts/src/webpack.config.js",
"test": "lerna run --scope '@scm-manager/ui-*' test",
"e2e-tests": "lerna run --scope '@scm-manager/e2e-tests' ci",
"typecheck": "lerna run --scope '@scm-manager/ui-*' typecheck",
"lint": "lerna run --scope '@scm-manager/ui-*' lint",
"serve": "ui-scripts serve development",
"deploy": "ui-scripts publish",
"set-version": "ui-scripts version"
},
"dependencies": {},
"devDependencies": {
"@scm-manager/remark-preset-lint": "^1.0.0",
"babel-plugin-reflow": "^0.2.7",
"husky": "^4.2.5",
"lerna": "^3.17.0",
"lint-staged": "^10.2.11",
"remark-cli": "^9.0.0"
},
"resolutions": {
"babel-core": "7.0.0-bridge.0",
"gitdiff-parser": "https://github.com/scm-manager/gitdiff-parser#420d6cfa17a6a8f9bf1a517a2c629dcb332dbe13",
"refractor": "3.2.0",
"prismjs": "1.22.0"
},
"babel": {
"presets": [
"@scm-manager/babel-preset"
]
},
"jest": {
"preset": "@scm-manager/jest-preset"
},
"prettier": "@scm-manager/prettier-config",
"husky": {
"hooks": {
"pre-commit": "lint-staged --verbose"
}
},
"remarkConfig": {
"plugins": [
"@scm-manager/remark-preset-lint"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint",
"./docs/**/*.md": "remark --frail --"
}
}