mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-13 02:37:57 +01:00
Refactor to parent dev dependencies.
This commit is contained in:
parent
14d9fbe100
commit
d8ded20330
22
package.json
22
package.json
@ -12,11 +12,27 @@
|
||||
},
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"cypress": "^12.3.0",
|
||||
"eslint-import-resolver-webpack": "^0.13.2",
|
||||
"@babel/core": "^7.20.12",
|
||||
"@babel/preset-env": "^7.14.7",
|
||||
"@babel/preset-typescript": "^7.16.5",
|
||||
"@babel/register": "^7.16.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.48.0 ",
|
||||
"@typescript-eslint/parser": "^5.48.0",
|
||||
"babel-loader": "^9.1.2",
|
||||
"eslint": "^8.4.1",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-nibble": "^8.0.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-react": "^7.31.10",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"husky": "4",
|
||||
"lerna": "^3.16.4",
|
||||
"lint-staged": "^10.5.4"
|
||||
"lint-staged": "^10.5.4",
|
||||
"typescript": "^4.8.4",
|
||||
"webpack": "^5.75.0"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
@ -20,11 +20,7 @@
|
||||
"dev": "webpack --mode development --config webpack.dev.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.20.12",
|
||||
"@babel/preset-env": "^7.14.7",
|
||||
"babel-loader": "^8.2.2",
|
||||
"core-js": "^3.15.2",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-cli": "^4.10.0"
|
||||
}
|
||||
}
|
||||
|
@ -31,8 +31,8 @@
|
||||
"@typescript-eslint/no-explicit-any": "error",
|
||||
"@typescript-eslint/explicit-module-boundary-types": "error",
|
||||
"@typescript-eslint/no-unused-vars": "error",
|
||||
"react-hooks/rules-of-hooks": "error", // Checks rules of Hooks
|
||||
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies
|
||||
"react-hooks/rules-of-hooks": "off", // Checks rules of Hooks
|
||||
"react-hooks/exhaustive-deps": "off", // Checks effect dependencies
|
||||
"no-restricted-imports": [
|
||||
"error",
|
||||
{
|
||||
|
@ -18,29 +18,19 @@
|
||||
"author": "Paulo Veiga <pveiga@gmail.com>, Ezequiel Bergamaschi <ezequielbergamaschi@gmail.com>",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"@babel/preset-env": "^7.19.4",
|
||||
"@formatjs/cli": "^5.1.3",
|
||||
"@testing-library/react": "^13.4.0",
|
||||
"@types/jest": "^29.0.0",
|
||||
"babel-plugin-transform-require-context": "^0.1.1",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"copy-webpack-plugin": "^10.2.1",
|
||||
"css-loader": "^6.7.1",
|
||||
"cypress": "^12.3.0",
|
||||
"cypress-image-snapshot": "^4.0.1",
|
||||
"eslint": "^7.14.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-react": "^7.31.10",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"jest-transform-stub": "^2.0.0",
|
||||
"prettier": "^2.7.1",
|
||||
"react": "^18.2.0",
|
||||
"style-loader": "^3.3.1",
|
||||
"ts-jest": "^29.0.3",
|
||||
"typescript": "^4.8.4",
|
||||
"webpack": "^5.75.0"
|
||||
"ts-jest": "^29.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@wisemapping/mindplot": "^5.0.15",
|
||||
|
@ -66,17 +66,17 @@
|
||||
],
|
||||
"implicit-arrow-linebreak": "off"
|
||||
},
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"webpack": {
|
||||
"config": "./webpack.common.js"
|
||||
},
|
||||
"node": {
|
||||
"extensions": [
|
||||
".js",
|
||||
".ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"node": {
|
||||
"extensions": [
|
||||
".js",
|
||||
".ts"
|
||||
]
|
||||
},
|
||||
"webpack": {
|
||||
"config": "./webpack.common.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -41,27 +41,14 @@
|
||||
"xml-formatter": "^2.6.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.20.12",
|
||||
"@babel/preset-env": "^7.14.7",
|
||||
"@babel/preset-typescript": "^7.16.5",
|
||||
"@babel/register": "^7.16.0",
|
||||
"@types/jest": "^29.2.5",
|
||||
"@types/node": "^18.11.9",
|
||||
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
||||
"@typescript-eslint/parser": "^5.9.1",
|
||||
"babel-loader": "^8.2.2",
|
||||
"blob-polyfill": "^6.0.20211015",
|
||||
"compression-webpack-plugin": "^9.2.0",
|
||||
"copy-webpack-plugin": "^10.0.0",
|
||||
"core-js": "^3.15.2",
|
||||
"cypress": "^12.3.0",
|
||||
"cypress-image-snapshot": "^4.0.1",
|
||||
"eslint": "^8.4.1",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-nibble": "^8.0.0",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"html-webpack-plugin": "^5.3.2",
|
||||
"jest-diff": "^29.3.1",
|
||||
"jest-environment-jsdom": "^29.3.1",
|
||||
@ -72,7 +59,6 @@
|
||||
"ts-jest": "^29.0.3",
|
||||
"ts-loader": "^9.2.6",
|
||||
"ts-node": "^10.4.0",
|
||||
"webpack": "^5.75.0",
|
||||
"webpack-bundle-analyzer": "^4.5.0",
|
||||
"webpack-cli": "^4.10.0",
|
||||
"webpack-dev-server": "^4.11.1"
|
||||
|
@ -1,26 +1,27 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true
|
||||
},
|
||||
"extends": [
|
||||
"airbnb-base",
|
||||
"plugin:cypress/recommended"
|
||||
],
|
||||
"rules": {
|
||||
"no-restricted-syntax": "off",
|
||||
"no-underscore-dangle": "off",
|
||||
"no-plusplus": "off",
|
||||
"max-len": [1,250],
|
||||
"import/no-extraneous-dependencies": ["warn", {
|
||||
"packageDir": ["./"],
|
||||
"devDependencies": ["!cypress/**/*.js"]
|
||||
}],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true
|
||||
},
|
||||
"extends": [
|
||||
"airbnb-base",
|
||||
"plugin:cypress/recommended"
|
||||
],
|
||||
"rules": {
|
||||
"no-restricted-syntax": "off",
|
||||
"no-underscore-dangle": "off",
|
||||
"no-plusplus": "off",
|
||||
"max-len": [
|
||||
1,
|
||||
250
|
||||
],
|
||||
// ignore errors when a line finishes with (setting this value to 0 ignores all errors)
|
||||
"operator-linebreak": [
|
||||
"error", "after", {
|
||||
"overrides": {
|
||||
"+": "ignore",
|
||||
"error",
|
||||
"after",
|
||||
{
|
||||
"overrides": {
|
||||
"+": "ignore",
|
||||
"-": "ignore",
|
||||
":": "ignore",
|
||||
"*": "ignore",
|
||||
@ -34,12 +35,18 @@
|
||||
],
|
||||
"object-curly-newline": "off",
|
||||
"indent": "off"
|
||||
},
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"webpack": {
|
||||
"config": "./webpack.common.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"node": {
|
||||
"extensions": [
|
||||
".js",
|
||||
".ts"
|
||||
]
|
||||
},
|
||||
"webpack": {
|
||||
"config": "./webpack.common.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -26,22 +26,11 @@
|
||||
"test": "yarn test:integration"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.20.12",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
|
||||
"@babel/preset-env": "^7.19.4",
|
||||
"babel-loader": "^8.2.2",
|
||||
"cypress": "12.3.0",
|
||||
"cypress-image-snapshot": "^4.0.1",
|
||||
"eslint": "^5.16.0",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-config-standard": "^17.0.0",
|
||||
"eslint-import-resolver-webpack": "^0.13.2",
|
||||
"eslint-plugin-cypress": "^2.12.1",
|
||||
"eslint-plugin-import": "^2.25.3",
|
||||
"html-webpack-plugin": "^5.3.2",
|
||||
"nodemon": "^2.0.12",
|
||||
"start-server-and-test": "^1.14.0",
|
||||
"webpack": "^5.75.0",
|
||||
"webpack-cli": "^4.10.0",
|
||||
"webpack-dev-server": "^4.11.1"
|
||||
},
|
||||
|
@ -30,8 +30,8 @@
|
||||
"@typescript-eslint/no-explicit-any": "error",
|
||||
"@typescript-eslint/explicit-module-boundary-types": "error",
|
||||
"@typescript-eslint/no-unused-vars": "error",
|
||||
"react-hooks/rules-of-hooks": "warn", // Checks rules of Hooks
|
||||
"react-hooks/exhaustive-deps": "warn", // Checks effect dependencies
|
||||
"react-hooks/rules-of-hooks": "off", // Checks rules of Hooks
|
||||
"react-hooks/exhaustive-deps": "off", // Checks effect dependencies
|
||||
"no-restricted-imports": [
|
||||
"error",
|
||||
{
|
||||
|
@ -25,21 +25,13 @@
|
||||
"@formatjs/cli": "^2.13.15",
|
||||
"@testing-library/cypress": "^8.0.3",
|
||||
"@types/testing-library__cypress": "^5.0.8",
|
||||
"@typescript-eslint/eslint-plugin": "^5.41.0",
|
||||
"@typescript-eslint/parser": "^5.41.0",
|
||||
"@welldone-software/why-did-you-render": "^7.0.1",
|
||||
"copy-webpack-plugin": "^7.0.0",
|
||||
"cypress": "^12.3.0",
|
||||
"cypress-image-snapshot": "^4.0.1",
|
||||
"eslint": "^7.14.0",
|
||||
"eslint-config-prettier": "^8.0.0",
|
||||
"eslint-plugin-react": "^7.21.5",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"html-webpack-plugin": "^5.1.0",
|
||||
"prettier": "^2.2.1",
|
||||
"start-server-and-test": "^1.12.0",
|
||||
"typescript": "^4.8.4",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-bundle-analyzer": "^4.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user