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

134 lines
4.4 KiB
JSON
Raw Normal View History

2020-10-08 18:21:27 +02:00
{
2021-01-30 06:32:32 +02:00
"name": "focalboard",
2021-08-06 19:37:28 +02:00
"version": "0.9.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 --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-03-30 21:35:48 +02:00
"i18n-extract": "formatjs extract 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",
"runserver-test": "cd cypress && cross-env FOCALBOARD_SINGLE_USER_TOKEN=TESTTOKEN ../../bin/focalboard-server -single-user",
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",
"updatesnapshots": "jest --updateSnapshot"
2021-01-07 02:09:36 +02:00
},
2020-10-08 18:21:27 +02:00
"dependencies": {
"@mattermost/compass-icons": "^0.1.10",
"@reduxjs/toolkit": "^1.6.0",
"color": "^4.0.0",
Migrate webapp global state to redux (#737) * Migrating workspace tree to redux * More changes for use the redux store for boads and views * Taking into account the templates on websocket event updates * Fixing bug on boardTree maintenance * Websocket client now connects once and subscribe/desubscribe on the fly * Including usage of the new websocket client * More work around migrating to redux * WIP * WIP * WIP * WIP * WIP * WIP * Fixing some things * WIP * WIP * Another small fix * Restoring filtering, sorting and grouping * Fixing some other bugs * Add search text reducer * Fixing another drag and drop problem * Improve store names and api * Fixing small bgus * Some small fixes * fixing login * Fixing register page * Some other improvements * Removing unneeded old files * Removing the need of userCache * Fixing comments and fixing content ordering * Fixing sort * Fixing some TODOs * Fixing tests * Fixing snapshot * Fixing cypress tests * Fix eslint * Fixing server tests * Updating the add cards actions * Fixing some tiny navigation problems * Mocking the api calls to pass the tests * Migrating a new test to redux * Adding the card right after the insert of the block (not wait for ws event) * Showing the ws disconnect banner only after 5 seconds of disconnection * Fixing share view * Fix eslint * Fixing problem with sort/groupby modifications * Fixing some details on redirections and templates creation * Fixing small bugs around undo * Fix update properties on click outside the dialog * Improving the column resize look and feel * Removing the class based objects from the store (now they are all plain objects * Fix eslint * Fixing tests * Removing unneeded code
2021-08-02 17:46:00 +02:00
"easymde": "^2.15.0",
2021-03-25 20:40:50 +02:00
"emoji-mart": "^3.0.1",
"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": "^6.0.0",
"lodash": "^4.17.21",
2021-03-25 20:40:50 +02:00
"marked": ">=2.0.1",
"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-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",
2021-03-25 20:40:50 +02:00
"react-select": "^4.3.0",
Migrate webapp global state to redux (#737) * Migrating workspace tree to redux * More changes for use the redux store for boads and views * Taking into account the templates on websocket event updates * Fixing bug on boardTree maintenance * Websocket client now connects once and subscribe/desubscribe on the fly * Including usage of the new websocket client * More work around migrating to redux * WIP * WIP * WIP * WIP * WIP * WIP * Fixing some things * WIP * WIP * Another small fix * Restoring filtering, sorting and grouping * Fixing some other bugs * Add search text reducer * Fixing another drag and drop problem * Improve store names and api * Fixing small bgus * Some small fixes * fixing login * Fixing register page * Some other improvements * Removing unneeded old files * Removing the need of userCache * Fixing comments and fixing content ordering * Fixing sort * Fixing some TODOs * Fixing tests * Fixing snapshot * Fixing cypress tests * Fix eslint * Fixing server tests * Updating the add cards actions * Fixing some tiny navigation problems * Mocking the api calls to pass the tests * Migrating a new test to redux * Adding the card right after the insert of the block (not wait for ws event) * Showing the ws disconnect banner only after 5 seconds of disconnection * Fixing share view * Fix eslint * Fixing problem with sort/groupby modifications * Fixing some details on redirections and templates creation * Fixing small bugs around undo * Fix update properties on click outside the dialog * Improving the column resize look and feel * Removing the class based objects from the store (now they are all plain objects * Fix eslint * Fixing tests * Removing unneeded code
2021-08-02 17:46:00 +02:00
"react-simplemde-editor": "^5.0.1"
2020-10-08 18:21:27 +02:00
},
"jest": {
2021-03-25 19:47:02 +02:00
"moduleNameMapper": {
"\\.(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/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",
2021-03-25 20:40:50 +02:00
"@types/emoji-mart": "^3.0.4",
"@types/jest": "^26.0.21",
"@types/marked": "^2.0.0",
"@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",
"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": "^7.0.1",
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
}
}