Files
SCM-Manager/package.json
Sebastian Sdorra 1ef0b42eb5 Move plugin build modules to external repositories (#1462)
This pull request moves plugin build dependencies to separate repositories:

babel-preset -> https://github.com/scm-manager/babel-preset
eslint-config -> https://github.com/scm-manager/eslint-config
jest-preset -> https://github.com/scm-manager/jest-preset
prettier-config -> https://github.com/scm-manager/prettier-config
tsconfig -> https://github.com/scm-manager/tsconfig
This should speed up the build (a little bit) and prepare for gradle plugins.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-09 11:35:40 +01:00

49 lines
1.4 KiB
JSON

{
"name": "root",
"private": true,
"workspaces": [
"scm-ui/*",
"scm-plugins/*"
],
"scripts": {
"build": "webpack --mode=production --config=scm-ui/ui-scripts/src/webpack.config.js",
"build:dev": "webpack --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",
"serve": "NODE_ENV=development webpack-dev-server --hot --mode=development --config=scm-ui/ui-scripts/src/webpack.config.js",
"deploy": "ui-scripts publish",
"set-version": "ui-scripts version"
},
"dependencies": {},
"devDependencies": {
"babel-plugin-reflow": "^0.2.7",
"husky": "^4.2.5",
"lerna": "^3.17.0",
"lint-staged": "^10.2.11"
},
"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"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint"
}
}