mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 21:53:08 +00:00
968eee6698
* chore: bump Playwright to v1.32.1
* test: fix locators, remove unnecessary awaits
* chore: bump Playwright in ci workflows
* test: better selectors for yAxis configs
- fix tests
* chore: bump Playwright to 1.32.3
* refactor: ensure openmct starts after plugins install
* fix: wait for domcontentloaded on initial nav
* test: fix autoscale snapshot test
* test: fix `--max-failures` argname typo
* test: update old locators
* test(fix): add missing await
* test: fix typo 😅
124 lines
5.3 KiB
JSON
124 lines
5.3 KiB
JSON
{
|
|
"name": "openmct",
|
|
"version": "2.2.3-SNAPSHOT",
|
|
"description": "The Open MCT core platform",
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "7.18.9",
|
|
"@braintree/sanitize-url": "6.0.2",
|
|
"@deploysentinel/playwright": "0.3.3",
|
|
"@percy/cli": "1.23.0",
|
|
"@percy/playwright": "1.0.4",
|
|
"@playwright/test": "1.32.3",
|
|
"@types/eventemitter3": "1.2.0",
|
|
"@types/jasmine": "4.3.1",
|
|
"@types/lodash": "4.14.192",
|
|
"babel-loader": "9.1.0",
|
|
"babel-plugin-istanbul": "6.1.1",
|
|
"codecov": "3.8.3",
|
|
"comma-separated-values": "3.6.4",
|
|
"copy-webpack-plugin": "11.0.0",
|
|
"css-loader": "6.7.3",
|
|
"d3-axis": "3.0.0",
|
|
"d3-scale": "3.3.0",
|
|
"d3-selection": "3.0.0",
|
|
"eslint": "8.37.0",
|
|
"eslint-plugin-compat": "4.1.4",
|
|
"eslint-plugin-playwright": "0.12.0",
|
|
"eslint-plugin-vue": "9.10.0",
|
|
"eslint-plugin-you-dont-need-lodash-underscore": "6.12.0",
|
|
"eventemitter3": "1.2.0",
|
|
"file-saver": "2.0.5",
|
|
"git-rev-sync": "3.0.2",
|
|
"html2canvas": "1.4.1",
|
|
"imports-loader": "4.0.1",
|
|
"jasmine-core": "4.5.0",
|
|
"karma": "6.3.20",
|
|
"karma-chrome-launcher": "3.1.1",
|
|
"karma-cli": "2.0.0",
|
|
"karma-coverage": "2.2.0",
|
|
"karma-coverage-istanbul-reporter": "3.0.3",
|
|
"karma-jasmine": "5.1.0",
|
|
"karma-junit-reporter": "2.0.1",
|
|
"karma-sourcemap-loader": "0.4.0",
|
|
"karma-spec-reporter": "0.0.36",
|
|
"karma-webpack": "5.0.0",
|
|
"kdbush": "3.0.0",
|
|
"location-bar": "3.0.1",
|
|
"lodash": "4.17.21",
|
|
"mini-css-extract-plugin": "2.7.5",
|
|
"moment": "2.29.4",
|
|
"moment-duration-format": "2.3.2",
|
|
"moment-timezone": "0.5.41",
|
|
"nyc": "15.1.0",
|
|
"painterro": "1.2.78",
|
|
"playwright-core": "1.32.3",
|
|
"plotly.js-basic-dist": "2.20.0",
|
|
"plotly.js-gl2d-dist": "2.20.0",
|
|
"printj": "1.3.1",
|
|
"resolve-url-loader": "5.0.0",
|
|
"sanitize-html": "2.10.0",
|
|
"sass": "1.62.0",
|
|
"sass-loader": "13.2.2",
|
|
"sinon": "15.0.1",
|
|
"style-loader": "3.3.2",
|
|
"typescript": "5.0.4",
|
|
"uuid": "9.0.0",
|
|
"vue": "2.6.14",
|
|
"vue-eslint-parser": "9.1.0",
|
|
"vue-loader": "15.9.8",
|
|
"vue-template-compiler": "2.6.14",
|
|
"webpack": "5.79.0",
|
|
"webpack-cli": "5.0.0",
|
|
"webpack-dev-server": "4.11.1",
|
|
"webpack-merge": "5.8.0"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf ./dist ./node_modules ./package-lock.json ./coverage ./html-test-results ./test-results ./.nyc_output ",
|
|
"clean-test-lint": "npm run clean; npm install; npm run test; npm run lint",
|
|
"start": "npx webpack serve --config ./.webpack/webpack.dev.js",
|
|
"start:coverage": "npx webpack serve --config ./.webpack/webpack.coverage.js",
|
|
"lint": "eslint example src e2e --ext .js,.vue openmct.js --max-warnings=0",
|
|
"lint:fix": "eslint example src e2e --ext .js,.vue openmct.js --fix",
|
|
"build:prod": "webpack --config ./.webpack/webpack.prod.js",
|
|
"build:dev": "webpack --config ./.webpack/webpack.dev.js",
|
|
"build:coverage": "webpack --config ./.webpack/webpack.coverage.js",
|
|
"build:watch": "webpack --config ./.webpack/webpack.dev.js --watch",
|
|
"info": "npx envinfo --system --browsers --npmPackages --binaries --languages --markdown",
|
|
"test": "karma start",
|
|
"test:debug": "KARMA_DEBUG=true karma start",
|
|
"test:e2e": "npx playwright test",
|
|
"test:e2e:couchdb": "npx playwright test --config=e2e/playwright-ci.config.js --project=chrome --grep @couchdb --workers=1",
|
|
"test:e2e:stable": "npx playwright test --config=e2e/playwright-ci.config.js --project=chrome --grep-invert \"@unstable|@couchdb\"",
|
|
"test:e2e:unstable": "npx playwright test --config=e2e/playwright-ci.config.js --project=chrome --grep @unstable",
|
|
"test:e2e:local": "npx playwright test --config=e2e/playwright-local.config.js --project=chrome",
|
|
"test:e2e:updatesnapshots": "npx playwright test --config=e2e/playwright-ci.config.js --project=chrome --grep @snapshot --update-snapshots",
|
|
"test:e2e:visual": "percy exec --config ./e2e/.percy.yml -- npx playwright test --config=e2e/playwright-visual.config.js --grep-invert @unstable",
|
|
"test:e2e:full": "npx playwright test --config=e2e/playwright-ci.config.js --grep-invert @couchdb",
|
|
"test:perf": "npx playwright test --config=e2e/playwright-performance.config.js",
|
|
"update-about-dialog-copyright": "perl -pi -e 's/20\\d\\d\\-202\\d/2014\\-2023/gm' ./src/ui/layout/AboutDialog.vue",
|
|
"update-copyright-date": "npm run update-about-dialog-copyright && grep -lr --null --include=*.{js,scss,vue,ts,sh,html,md,frag} 'Copyright (c) 20' . | xargs -r0 perl -pi -e 's/Copyright\\s\\(c\\)\\s20\\d\\d\\-20\\d\\d/Copyright \\(c\\)\\ 2014\\-2023/gm'",
|
|
"cov:e2e:report": "nyc report --reporter=lcovonly --report-dir=./coverage/e2e",
|
|
"cov:e2e:full:publish": "codecov --disable=gcov -f ./coverage/e2e/lcov.info -F e2e-full",
|
|
"cov:e2e:stable:publish": "codecov --disable=gcov -f ./coverage/e2e/lcov.info -F e2e-stable",
|
|
"cov:unit:publish": "codecov --disable=gcov -f ./coverage/unit/lcov.info -F unit",
|
|
"prepare": "npm run build:prod && npx tsc"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nasa/openmct.git"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.19.1"
|
|
},
|
|
"browserslist": [
|
|
"Firefox ESR",
|
|
"not IE 11",
|
|
"last 2 Chrome versions",
|
|
"unreleased Chrome versions",
|
|
"ios_saf >= 16",
|
|
"Safari >= 16"
|
|
],
|
|
"author": "",
|
|
"license": "Apache-2.0"
|
|
}
|