1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 23:35:31 +02:00

feat(app): introduce react configurations [EE-1809] (#5953)

This commit is contained in:
Chaim Lev-Ari 2021-11-03 12:41:59 +02:00 committed by GitHub
parent b285219a58
commit 85a6a80722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 8974 additions and 599 deletions

View file

@ -34,11 +34,16 @@
"start:toolkit": "grunt start:toolkit",
"build:server:offline": "cd ./api/cmd/portainer && CGO_ENABLED=0 go build --installsuffix cgo --ldflags '-s' && mv -f portainer ../../../dist/portainer",
"clean:all": "grunt clean:all",
"format": "prettier --loglevel warn --write \"**/*.{js,css,html}\"",
"format": "prettier --loglevel warn --write \"**/*.{js,css,html,jsx,tsx,ts}\"",
"lint": "yarn lint:client; yarn lint:server",
"lint:server": "cd api && golangci-lint run -E exportloopref",
"lint:client": "eslint --cache --fix .",
"test:server": "cd api && go test ./..."
"lint:client": "eslint --cache --fix ./**/*.{js,jsx,ts,tsx}",
"lint:pr": "make lint-pr",
"test": "yarn test:client; yarn test:server",
"test:server": "cd api && go test ./...",
"test:client": "jest",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o ./dist/storybook"
},
"scriptsComments": {
"build": "Build the entire app (backend/frontend) in development mode",
@ -61,6 +66,8 @@
"@fortawesome/fontawesome-free": "^5.11.2",
"@nxmix/tokenize-ansi": "^3.0.0",
"@uirouter/angularjs": "1.0.11",
"@uirouter/react": "^1.0.7",
"@uirouter/react-hybrid": "^1.0.4",
"angular": "1.8.0",
"angular-clipboard": "^1.6.2",
"angular-file-saver": "^1.1.3",
@ -85,7 +92,7 @@
"chardet": "^1.3.0",
"chart.js": "~2.7.0",
"codemirror": "~5.30.0",
"core-js": "2",
"core-js": "^3.16.3",
"fast-json-patch": "^3.0.0-1",
"filesize": "~3.3.0",
"filesize-parser": "^1.5.0",
@ -96,6 +103,8 @@
"moment": "^2.21.0",
"ng-file-upload": "~12.2.13",
"parse-duration": "^1.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"source-map-loader": "^1.1.2",
"spinkit": "^2.0.1",
"splitargs": "github:deviantony/splitargs#semver:~0.2.0",
@ -110,20 +119,45 @@
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@storybook/addon-actions": "^6.3.11",
"@storybook/addon-essentials": "^6.3.11",
"@storybook/addon-links": "^6.3.11",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/react": "^6.3.11",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/angular": "^1.8.3",
"@types/jquery": "^3.5.6",
"@types/react": "^17.0.27",
"@types/react-dom": "^17.0.9",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"auto-ngtemplate-loader": "^2.0.1",
"autoprefixer": "^7.1.1",
"babel-jest": "^27.1.0",
"babel-loader": "^8.0.4",
"babel-plugin-lodash": "^3.3.4",
"clean-terminal-webpack-plugin": "^1.1.0",
"clean-webpack-plugin": "^0.1.19",
"css-loader": "^1.0.0",
"css-loader": "5",
"cssnano": "^4.1.10",
"cypress": "^5.2.0",
"cypress-wait-until": "^1.7.1",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-webpack-plugin": "^2.5.3",
"eslint": "^7.29.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb-typescript": "^14.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jest": "^24.4.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-webpack-plugin": "^2.5.4",
"file-loader": "^1.1.11",
"grunt": "^1.1.0",
"grunt-cli": "^1.3.2",
@ -141,17 +175,22 @@
"html-webpack-plugin": "^3.2.0",
"husky": ">=4",
"image-webpack-loader": "^4.5.0",
"jest": "^27.1.0",
"lint-staged": ">=10",
"load-grunt-tasks": "^3.5.2",
"lodash-webpack-plugin": "^0.11.5",
"mini-css-extract-plugin": "^0.4.4",
"mini-css-extract-plugin": "1",
"ngtemplate-loader": "^2.0.1",
"plop": "^2.6.0",
"postcss": "7",
"postcss-loader": "4",
"prettier": "^2.0.2",
"react-test-renderer": "^17.0.2",
"speed-measure-webpack-plugin": "^1.2.3",
"style-loader": "^0.23.1",
"storybook-css-modules-preset": "^1.1.1",
"style-loader": "2",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"typescript": "^4.4.3",
"url-loader": "^1.1.1",
"webpack": "^4.26.0",
"webpack-build-notifier": "^0.1.30",
@ -165,15 +204,14 @@
"lodash": "^4.17.21",
"js-yaml": "^3.14.0",
"minimist": "^1.2.5",
"http-proxy": "^1.18.1"
"http-proxy": "^1.18.1",
"**/@uirouter/react": "^1.0.7",
"**/@uirouter/angularjs": "1.0.11",
"**/css-loader": "5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md,html}": "prettier --write"
}
}
}