mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-26 18:50:28 -06:00
f16498a8a7
Changes include: 1) Remove underscore-string and sprintf-js packages as we were using only %s. Instead, added a function to do the same. Also changed gettext to behave like sprintf directly. 2) backgrid.sizeable.columns was not used anywhere, removed. @babel/polyfill is deprecated, replaced it with core-js. 3) Moved few css to make sure they get minified and bundled. 4) Added Flask-Compress to send static files as compressed gzip. This will reduce network traffic and improve initial load time for pgAdmin. 5) Split few JS files to make code reusable. 6) Lazy load few modules like leaflet, wkx is required only if geometry viewer is opened. snapsvg loaded only when explain plan is executed. This will improve sqleditor initial opening time. Reviewed By: Khushboo Vashi Fixes #4701
118 lines
4.4 KiB
JSON
118 lines
4.4 KiB
JSON
{
|
|
"//": [
|
|
"IMPORTANT:",
|
|
"If runtime or build time dependencies are changed in this file, the ",
|
|
"committer *must* ensure the DEB and RPM package maintainers are informed ",
|
|
"as soon as possible."
|
|
],
|
|
"license": "PostgreSQL",
|
|
"devDependencies": {
|
|
"@babel/core": "~7.6.0",
|
|
"@babel/preset-env": "~7.6.0",
|
|
"axios-mock-adapter": "^1.17.0",
|
|
"babel-loader": "~8.0.5",
|
|
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
|
|
"core-js": "^3.2.1",
|
|
"cross-env": "^5.2.0",
|
|
"eclint": "^2.8.1",
|
|
"eslint": "5.15.1",
|
|
"file-loader": "^3.0.1",
|
|
"image-webpack-loader": "^4.6.0",
|
|
"is-docker": "^1.1.0",
|
|
"jasmine-core": "~3.3.0",
|
|
"karma": "^4.0.1",
|
|
"karma-babel-preprocessor": "^8.0.0",
|
|
"karma-browserify": "~6.0.0",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-jasmine": "~2.0.1",
|
|
"karma-jasmine-html-reporter": "^1.4.0",
|
|
"karma-requirejs": "~1.1.0",
|
|
"karma-source-map-support": "^1.4.0",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"karma-webpack": "~4.0.0-rc.6",
|
|
"mini-css-extract-plugin": "^0.5.0",
|
|
"node-sass": "^4.11.0",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
|
"popper.js": "^1.14.7",
|
|
"raw-loader": "^1.0.0",
|
|
"sass-loader": "^7.1.0",
|
|
"sass-resources-loader": "^2.0.0",
|
|
"style-loader": "^0.23.1",
|
|
"uglifyjs-webpack-plugin": "^2.1.2",
|
|
"url-loader": "^1.1.2",
|
|
"webpack": "^4.29.6",
|
|
"webpack-bundle-analyzer": "^3.5.1",
|
|
"webpack-cli": "^3.2.3",
|
|
"webpack-require-from": "^1.8.0",
|
|
"yarn-audit-html": "^1.1.0"
|
|
},
|
|
"dependencies": {
|
|
"acitree": "git+https://github.com/imsurinder90/jquery-aciTree.git#rc.7",
|
|
"alertifyjs": "1.7.1",
|
|
"axios": "^0.18.1",
|
|
"babel-plugin-transform-es2015-modules-amd": "^6.24.1",
|
|
"babel-preset-es2015-without-strict": "~0.0.4",
|
|
"babelify": "~10.0.0",
|
|
"backbone": "1.4.0",
|
|
"backform": "^0.2.0",
|
|
"backgrid-filter": "^0.3.7",
|
|
"backgrid-select-all": "^0.3.5",
|
|
"bignumber.js": "^8.1.1",
|
|
"bootstrap": "^4.3.1",
|
|
"bootstrap-datepicker": "^1.8.0",
|
|
"bootstrap4-toggle": "3.4.0",
|
|
"bowser": "2.1.2",
|
|
"browserify": "~16.2.3",
|
|
"codemirror": "^5.47.0",
|
|
"css-loader": "2.1.0",
|
|
"cssnano": "^4.1.10",
|
|
"dropzone": "^5.5.1",
|
|
"exports-loader": "~0.7.0",
|
|
"flotr2": "git+https://github.com/EnterpriseDB/Flotr2.git",
|
|
"font-awesome": "^4.7.0",
|
|
"immutability-helper": "^3.0.0",
|
|
"imports-loader": "^0.8.0",
|
|
"ip-address": "^5.8.9",
|
|
"jquery": "^3.4.0",
|
|
"jquery-contextmenu": "^2.8.0",
|
|
"jquery-ui": "^1.12.1",
|
|
"json-bignumber": "^1.0.1",
|
|
"leaflet": "^1.5.1",
|
|
"moment": "^2.24.0",
|
|
"moment-timezone": "^0.5.23",
|
|
"mousetrap": "^1.6.3",
|
|
"requirejs": "~2.3.6",
|
|
"select2": "^4.0.6-rc.1",
|
|
"shim-loader": "^1.0.1",
|
|
"slickgrid": "git+https://github.com/6pac/SlickGrid.git#2.3.16",
|
|
"snapsvg": "^0.5.1",
|
|
"spectrum-colorpicker": "^1.8.0",
|
|
"split.js": "^1.5.10",
|
|
"tablesorter": "^2.31.1",
|
|
"tempusdominus-bootstrap-4": "^5.1.2",
|
|
"tempusdominus-core": "^5.0.3",
|
|
"underscore": "^1.9.1",
|
|
"watchify": "~3.11.1",
|
|
"webcabin-docker": "git+https://github.com/EnterpriseDB/wcDocker/#c95d295382ac61159e571af9c3b8f4f8ae81746d",
|
|
"wkx": "^0.4.6"
|
|
},
|
|
"scripts": {
|
|
"linter": "yarn eslint --no-eslintrc -c .eslintrc.js --ext .js .",
|
|
"webpacker": "yarn run webpack --config webpack.config.js --progress",
|
|
"webpacker:watch": "yarn run webpack --config webpack.config.js --progress --watch",
|
|
"bundle:watch": "yarn run linter && yarn run webpacker:watch",
|
|
"bundle:dev": "yarn run linter && yarn run webpacker",
|
|
"bundle:analyze": "cross-env NODE_ENV=production ANALYZE=true yarn run bundle:dev",
|
|
"bundle": "cross-env NODE_ENV=production yarn run bundle:dev",
|
|
"test:karma-once": "yarn run linter && yarn run karma start --single-run",
|
|
"test:karma": "yarn run linter && yarn run karma start",
|
|
"test:feature": "yarn run bundle && python regression/runtests.py --pkg feature_tests",
|
|
"test": "yarn run test:karma-once && yarn run bundle && python regression/runtests.py",
|
|
"pep8": "pycodestyle --config=../.pycodestyle ../docs && pycodestyle --config=../.pycodestyle ../pkg && pycodestyle --config=../.pycodestyle ../tools && pycodestyle --config=../.pycodestyle ../web",
|
|
"auditjs-html": "yarn audit --json | yarn run yarn-audit-html --output ../auditjs.html",
|
|
"auditjs": "yarn audit",
|
|
"auditpy": "safety check --full-report",
|
|
"audit": "yarn run auditjs && yarn run auditpy"
|
|
}
|
|
}
|