1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/webapp/package.json

148 lines
4.9 KiB
JSON
Raw Normal View History

2020-10-08 18:21:27 +02:00
{
2021-01-30 06:32:32 +02:00
"name": "focalboard",
"version": "0.15.0",
2020-10-08 18:21:27 +02:00
"private": true,
"description": "",
"scripts": {
"pack": "cross-env NODE_ENV=production webpack --config webpack.prod.js",
"packdev": "cross-env NODE_ENV=dev webpack --config webpack.dev.js",
"watchdev": "cross-env NODE_ENV=dev webpack --watch --progress --config webpack.dev.js",
2020-10-15 01:02:41 +02:00
"test": "jest",
"updatesnapshot": "jest --updateSnapshot",
"check": "eslint --ext .tsx,.ts . --quiet --cache && stylelint **/*.scss",
"fix": "eslint --ext .tsx,.ts . --quiet --fix --cache && stylelint --fix **/*.scss",
"fix:scss": "prettier --write './src/**/*.scss'",
2021-10-22 18:13:31 +02:00
"i18n-extract": "formatjs extract ../mattermost-plugin/webapp/src/*/*/*.ts? src/*/*/*.ts? src/*/*.ts? src/*.ts? --out-file i18n/tmp.json; formatjs compile i18n/tmp.json --out-file i18n/en.json; rm i18n/tmp.json",
[GH-42] Cypress tests for login actions (#1679) * Testing API added to server: - registered only if `enableTestingAPI` is set to `true` in the config file - has only one route `test/reset` - reset clears the tables in db for blocks, users, sessions - functions `DeleteAllBlocks` and `DeleteAllUsers` added to `Store` interface - new functions implemented for `SQLStore` * Cypress tests (initial version) for login actions added: - redirect to login page, - register user, - test for loading home page deleted, - allow js in `tsconfig.json` for cypress tests. * Cypress tests for login actions: - check that main page with workspace is visible after registration, - initial version of test for login of register user. * Cypress tests for login actions: - function for checking that workspace is available added, - functions for login and logout added, - test for password change added, - session parameters added to server config for cypress testing. * Switch Cypress tests to typescript. * Use ids for inputs instead of placeholder text. * Use cypress request for login without loading login page. * Cypress custom command for login added. * Cypress tests fixed: - new cypress commands for server reset, register/login user - single test for "create and delete board/card" - fixes for `BoardPage` component useEffect callbacks - npm script `runserver-test` doesn't use single user mode * Deletion of all blocks changed: - also deletes blocks from history - public function renamed to DeleteAllBlocksPermanently - code for mocks and public methods generated * Server tests for files fixed on windows. * Cypress tests for the registration of second user via invite link added. * Added `baseUrl` in main `tsconfig.json` (required by cypress configuration). * Cypress test fixed. Comments as well as log messages added. * Log a message if testing API is enabled. * Single cypress test for register/login actions. * Revert changes to server. * More convenient cypress commands: - all API calls made as separate commands - declarations for commands moved to separate global.d.ts file - utility functions moved after test actions in 'Login actions' test
2021-11-22 17:59:01 +02:00
"runserver-test": "cd cypress && \"../../bin/focalboard-server\"",
2020-12-10 23:45:56 +02:00
"cypress:ci": "start-server-and-test runserver-test http://localhost:8088 cypress:run",
2020-12-11 00:31:20 +02:00
"cypress:run": "cypress run",
2021-01-07 02:09:36 +02:00
"cypress:run:chrome": "cypress run --browser chrome",
"cypress:run:firefox": "cypress run --browser firefox",
"cypress:run:edge": "cypress run --browser edge",
"cypress:run:electron": "cypress run --browser electron",
"cypress:open": "cypress open"
2021-01-07 02:09:36 +02:00
},
2020-10-08 18:21:27 +02:00
"dependencies": {
"@draft-js-plugins/editor": "^4.1.0",
"@draft-js-plugins/emoji": "^4.5.5",
"@draft-js-plugins/mention": "^5.0.0",
Implementation of Calendar MVP (#1741) * initial commit * turn on featureflag * additional fixes * update for using FullCalendar * update to allow both calendars * fix dnd, remove log messages * fix lint, unit tests * dates should use themselves for timezone offset * fix for tests * remove react-big-calendar * remove react-big-calendar * fix for handling feature flags changing * clean up * remove unit test * update tests * fix tests * lint fixes * add creating event, fixes * linter fixes * clean up * add unit tests * fixes * update snapshots * update test * update snapshot * disable test for now, timezone changes labels * remove test to get to build * remove snapshot * feedback updates * use getConfig instead * linter fix * more linter * revert changes * some fixes for issues * fix for displaying new calendar * fix for displaying new calendar * add properties to cards * add properties to cards * read only implementation * i18-extract * implement unit tests * implement unit tests * fix test * remove log statements * remove feature flag from config * updated icons * Updating icons for calendar mvp * Revert "Updating icons for calendar mvp" This reverts commit e16e715e8a7687d81d538e3473207453191be4a4. * Revert "updated icons" This reverts commit 120b7b0b96a1145be6b2367a7a359da55a6bb293. * update for code reviews * fix linter * more feedback updates * fix some styling * fix lint errors * Updating css * Updating calendar css * update for lint errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-24 23:00:20 +02:00
"@fullcalendar/core": "^5.10.0",
"@fullcalendar/daygrid": "^5.10.0",
"@fullcalendar/interaction": "^5.10.0",
"@fullcalendar/react": "^5.10.0",
"@mattermost/compass-icons": "^0.1.10",
"@reduxjs/toolkit": "^1.6.0",
Merge Onboarding feature branch into main (#2406) * Persistent user config (#2133) * Added user config API * Add unit tests * lint fix * Fixed webapp tests * Fixed webapp tests * Updated props in store after updating * Minor fixes * Removed redundent data from audit logs * Onboarding Tour (#2287) * Created private board * Roughly displayed tour * Synced with Dhama's changes * WIP * Trying to add GIF * Added 3 tour steps * WIP * WIP * WIP * checked in missed file * Synced with feature branch * WIp * Adde skip tour option * Fixed image loading for on-prem * Made tour work on presonal server: * Adde missed file * Adding telemetry * Adding telemetry * Added tour tip telemetry * Fixed pulsating dot styling for personal server * reverted personal config * Added reset tour button * Displayed share tour tip of feature is enabled * Lint fixes * Fixed webapp tests * Fixed webapp tests * Completed webapp tests * Completed webapp tests * Webapp lint fixes * Added server tests * Testing cypress skip tour fix * Fixed Cypress tests * Added share board tour step * Added share board tour step * webapp lint fixes * Updated logic to pick welcome board * Updated tests: * lint fixes * Updating UI changes * Fixed a bug causing card tour to re-appear * FIxed minor issue * FIxed bug where card tour didn't start in clickingh on card * Fixed tests * Make update user props use string instead of interface * Fixed a value type * Updating gif size * Updating resolution breakpoint * Updating tutorial tip * Updating view selector * Refactored tour components * Misc fixes * minor refactoring * GH-2258: allow date range to overflow (#2268) * allow date range to overflow * Fixed issue with date overflowing into neighbouring column Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Update readme with accurate Linux standalone app build instructions (#2351) * Bump follow-redirects from 1.14.7 to 1.14.8 in /experiments/webext (#2339) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Switch component style fixed: selector specificity increased by adding additional class. (#2179) * Adding sever side undelete endpoint (#2222) * Adding sever side undelete endpoint * Removing long lines golangci-lint errors * Fixing linter errors * Fixing a test problem * Fixing tests Co-authored-by: Mattermod <mattermod@users.noreply.github.com> * Removing transactions from sqlite backend (#2361) * Removing transactions from sqlite backend * Skipping tests in sqlite because the lack of transactions * Generating the mocks * Fixing golangci-lint * Fixing problem opening the tour tooltip on card open * Fixing texts missmatch * Adding the Product Tour entry in the user settings menu * Fixing some tests * Fixing tests Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com> Co-authored-by: Scott Bishel <scott.bishel@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kamre <eremchenko@gmail.com> Co-authored-by: Jesús Espino <jespinog@gmail.com> * Restored package json * Restored package json Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com> Co-authored-by: Scott Bishel <scott.bishel@mattermost.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Doug Lauder <wiggin77@warpmail.net> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: kamre <eremchenko@gmail.com> Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-02-28 13:28:16 +02:00
"@tippyjs/react": "^4.2.6",
"color": "^4.0.0",
"draft-js": "^0.11.7",
2021-03-25 20:40:50 +02:00
"emoji-mart": "^3.0.1",
"fstream": "^1.0.12",
Implementation of Calendar MVP (#1741) * initial commit * turn on featureflag * additional fixes * update for using FullCalendar * update to allow both calendars * fix dnd, remove log messages * fix lint, unit tests * dates should use themselves for timezone offset * fix for tests * remove react-big-calendar * remove react-big-calendar * fix for handling feature flags changing * clean up * remove unit test * update tests * fix tests * lint fixes * add creating event, fixes * linter fixes * clean up * add unit tests * fixes * update snapshots * update test * update snapshot * disable test for now, timezone changes labels * remove test to get to build * remove snapshot * feedback updates * use getConfig instead * linter fix * more linter * revert changes * some fixes for issues * fix for displaying new calendar * fix for displaying new calendar * add properties to cards * add properties to cards * read only implementation * i18-extract * implement unit tests * implement unit tests * fix test * remove log statements * remove feature flag from config * updated icons * Updating icons for calendar mvp * Revert "Updating icons for calendar mvp" This reverts commit e16e715e8a7687d81d538e3473207453191be4a4. * Revert "updated icons" This reverts commit 120b7b0b96a1145be6b2367a7a359da55a6bb293. * update for code reviews * fix linter * more feedback updates * fix some styling * fix lint errors * Updating css * Updating calendar css * update for lint errors Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2021-11-24 23:00:20 +02:00
"fullcalendar": "^5.10.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-mozjpeg": "^9.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-pngquant": "^9.0.2",
"imagemin-svgo": "^8.0.0",
"imagemin-webp": "^7.0.0",
"lodash": "^4.17.21",
"marked": "^4.0.12",
"moment": "^2.29.1",
2021-03-25 20:40:50 +02:00
"nanoevents": "^5.1.13",
"react": "^17.0.2",
"react-day-picker": "^7.4.10",
"react-dnd": "^14.0.2",
"react-dnd-html5-backend": "^14.0.0",
"react-dnd-scrolling": "^1.2.1",
"react-dnd-touch-backend": "^14.0.0",
2021-03-25 20:40:50 +02:00
"react-dom": "^17.0.2",
"react-hot-keys": "^2.6.2",
"react-hotkeys-hook": "^3.3.0",
2021-03-25 20:40:50 +02:00
"react-intl": "^5.13.5",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-select": "^4.3.0",
"trim-newlines": "^4.0.2"
2020-10-08 18:21:27 +02:00
},
"jest": {
2021-03-25 19:47:02 +02:00
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(scss|css)$": "<rootDir>/__mocks__/styleMock.js"
2021-03-25 19:47:02 +02:00
},
2021-01-07 02:09:36 +02:00
"globals": {
"ts-jest": {
2021-06-18 18:08:15 +02:00
"tsconfig": "./src/tsconfig.json"
2021-01-07 02:09:36 +02:00
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest"
2020-12-01 21:31:20 +02:00
},
2020-12-08 00:50:22 +02:00
"collectCoverage": true,
"collectCoverageFrom": [
2020-12-10 23:45:56 +02:00
"src/**/*.{ts,tsx,js,jsx}",
"!src/test/**"
2020-12-08 00:50:22 +02:00
]
},
2020-10-08 18:21:27 +02:00
"devDependencies": {
2021-03-25 20:40:50 +02:00
"@formatjs/cli": "^3.2.0",
"@formatjs/ts-transformer": "^3.2.1",
"@testing-library/cypress": "^8.0.2",
"@testing-library/dom": "^7.31.2",
2021-03-25 20:40:50 +02:00
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^13.1.9",
"@types/color": "^3.0.2",
"@types/draft-js": "^0.11.6",
2021-03-25 20:40:50 +02:00
"@types/emoji-mart": "^3.0.4",
"@types/jest": "^26.0.21",
"@types/marked": "^4.0.1",
"@types/nanoevents": "^1.0.0",
2021-03-25 20:40:50 +02:00
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-intl": "^3.0.0",
"@types/react-redux": "^7.1.16",
2021-03-25 20:40:50 +02:00
"@types/react-router-dom": "^5.1.7",
"@types/react-select": "^4.0.13",
"@types/redux-mock-store": "^1.0.3",
2021-03-25 20:40:50 +02:00
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
2021-03-25 19:47:02 +02:00
"copy-webpack-plugin": "^8.1.0",
"cross-env": "^7.0.3",
2021-03-25 20:40:50 +02:00
"css-loader": "^5.2.0",
"cypress-real-events": "^1.6.0",
2021-03-25 20:40:50 +02:00
"eslint": "^7.22.0",
"eslint-import-resolver-webpack": "0.13.0",
2021-03-26 12:51:01 +02:00
"eslint-plugin-babel": "^5.3.1",
2021-03-25 20:40:50 +02:00
"eslint-plugin-cypress": "2.11.2",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.22.1",
2020-10-15 01:02:41 +02:00
"eslint-plugin-jquery": "1.5.1",
"eslint-plugin-mattermost": "github:mattermost/eslint-plugin-mattermost#070ce792d105482ffb2b27cfc0b7e78b3d20acee",
"eslint-plugin-no-only-tests": "2.4.0",
2021-03-25 20:40:50 +02:00
"eslint-plugin-react": "7.23.1",
"fetch-mock-jest": "^1.5.1",
2021-03-25 20:40:50 +02:00
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"image-webpack-loader": "^8.1.0",
2020-12-08 00:50:22 +02:00
"isomorphic-fetch": "^3.0.0",
2021-01-30 07:16:02 +02:00
"jest": "^26.6.3",
"prettier": "^2.2.1",
"redux-mock-store": "^1.5.4",
2021-03-25 20:40:50 +02:00
"sass": "^1.32.8",
"sass-loader": "^11.0.1",
"start-server-and-test": "^1.12.1",
"style-loader": "^2.0.0",
"stylelint": "^13.13.1",
"stylelint-config-sass-guidelines": "^8.0.0",
2021-03-25 19:47:02 +02:00
"terser-webpack-plugin": "^5.1.1",
2021-03-25 20:40:50 +02:00
"ts-jest": "^26.5.4",
"ts-loader": "^8.0.18",
"typescript": "^4.2.3",
"webpack": "^5.28.0",
"webpack-cli": "^4.5.0",
"webpack-merge": "^5.7.3"
2021-01-07 02:09:36 +02:00
},
"optionalDependencies": {
2021-03-25 20:40:50 +02:00
"cypress": "^6.8.0"
2020-10-08 18:21:27 +02:00
}
}