2020-10-08 18:21:27 +02:00
|
|
|
{
|
2021-01-30 05:32:32 +01:00
|
|
|
"name": "focalboard",
|
2021-03-19 17:59:46 +01:00
|
|
|
"version": "0.6.1",
|
2020-10-08 18:21:27 +02:00
|
|
|
"private": true,
|
|
|
|
"description": "",
|
|
|
|
"scripts": {
|
|
|
|
"pack": "NODE_ENV=production webpack --config webpack.js",
|
|
|
|
"packdev": "NODE_ENV=dev webpack --config webpack.dev.js",
|
2020-10-14 08:51:37 +02:00
|
|
|
"watchdev": "NODE_ENV=dev webpack --watch --config webpack.dev.js",
|
2020-10-15 01:02:41 +02:00
|
|
|
"test": "jest",
|
|
|
|
"check": "eslint --ext .tsx,.ts . --quiet --cache",
|
2020-10-23 13:40:39 +02:00
|
|
|
"fix": "eslint --ext .tsx,.ts . --quiet --fix --cache",
|
2020-12-10 22:45:56 +01:00
|
|
|
"i18n-extract": "formatjs extract src/**/*.tsx src/**/*.ts --out-file i18n/tmp.json; formatjs compile i18n/tmp.json --out-file i18n/en.json; rm i18n/tmp.json",
|
2021-02-11 19:13:17 +01:00
|
|
|
"runserver-test": "cd cypress && FOCALBOARD_SINGLE_USER_TOKEN=TESTTOKEN ../../bin/focalboard-server -single-user",
|
2020-12-10 22:45:56 +01:00
|
|
|
"cypress:ci": "start-server-and-test runserver-test http://localhost:8088 cypress:run",
|
2020-12-10 23:31:20 +01:00
|
|
|
"cypress:run": "cypress run",
|
2021-01-07 01:09:36 +01: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"
|
|
|
|
},
|
2020-10-08 18:21:27 +02:00
|
|
|
"dependencies": {
|
2020-10-28 10:45:15 +01:00
|
|
|
"emoji-mart": "^3.0.0",
|
2021-02-11 22:09:46 +01:00
|
|
|
"marked": ">=2.0.0",
|
2020-10-28 17:56:27 +01:00
|
|
|
"nanoevents": "^5.1.10",
|
2020-10-08 18:21:27 +02:00
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-dom": "^16.13.1",
|
2020-10-23 13:40:39 +02:00
|
|
|
"react-intl": "^5.8.6",
|
2020-10-09 17:10:26 +02:00
|
|
|
"react-router-dom": "^5.2.0",
|
2020-10-30 15:22:11 +01:00
|
|
|
"react-select": "^3.1.0",
|
2020-10-08 18:21:27 +02:00
|
|
|
"react-simplemde-editor": "^4.1.3"
|
|
|
|
},
|
2020-10-14 08:51:37 +02:00
|
|
|
"jest": {
|
2021-03-19 13:41:11 +01:00
|
|
|
"moduleNameMapper": {
|
|
|
|
"\\.(scss)$": "<rootDir>/__mocks__/styleMock.js"
|
|
|
|
},
|
2021-01-07 01:09:36 +01:00
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
|
|
|
"tsConfig": "./src/tsconfig.json"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"transform": {
|
2020-10-14 08:51:37 +02:00
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
2020-12-01 20:31:20 +01:00
|
|
|
},
|
2020-12-07 23:50:22 +01:00
|
|
|
"collectCoverage": true,
|
|
|
|
"collectCoverageFrom": [
|
2020-12-10 22:45:56 +01:00
|
|
|
"src/**/*.{ts,tsx,js,jsx}",
|
|
|
|
"!src/test/**"
|
2020-12-07 23:50:22 +01:00
|
|
|
]
|
|
|
|
},
|
2020-10-08 18:21:27 +02:00
|
|
|
"devDependencies": {
|
2020-10-23 13:40:39 +02:00
|
|
|
"@formatjs/cli": "^2.13.2",
|
|
|
|
"@formatjs/ts-transformer": "^2.11.3",
|
2020-10-14 08:51:37 +02:00
|
|
|
"@testing-library/jest-dom": "^5.11.4",
|
|
|
|
"@testing-library/react": "^11.0.4",
|
2020-10-28 10:45:15 +01:00
|
|
|
"@types/emoji-mart": "^3.0.3",
|
2020-10-14 08:51:37 +02:00
|
|
|
"@types/jest": "^26.0.14",
|
2021-02-11 22:09:46 +01:00
|
|
|
"@types/marked": "^1.2.2",
|
2020-10-28 17:56:27 +01:00
|
|
|
"@types/nanoevents": "^1.0.0",
|
2020-10-08 18:21:27 +02:00
|
|
|
"@types/react": "^16.9.49",
|
|
|
|
"@types/react-dom": "^16.9.8",
|
2020-10-24 10:08:22 +02:00
|
|
|
"@types/react-intl": "^3.0.0",
|
2020-10-14 21:27:45 +02:00
|
|
|
"@types/react-router-dom": "^5.1.6",
|
2020-10-30 15:22:11 +01:00
|
|
|
"@types/react-select": "^3.0.22",
|
2020-10-15 01:02:41 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.4.1",
|
|
|
|
"@typescript-eslint/parser": "^4.4.1",
|
2020-10-08 18:21:27 +02:00
|
|
|
"copy-webpack-plugin": "^6.0.3",
|
2020-10-09 14:02:19 +02:00
|
|
|
"css-loader": "^4.3.0",
|
2020-10-15 01:02:41 +02:00
|
|
|
"eslint": "^7.11.0",
|
|
|
|
"eslint-import-resolver-webpack": "0.12.2",
|
|
|
|
"eslint-plugin-babel": "5.3.1",
|
|
|
|
"eslint-plugin-cypress": "2.11.1",
|
|
|
|
"eslint-plugin-header": "3.0.0",
|
|
|
|
"eslint-plugin-import": "2.22.0",
|
|
|
|
"eslint-plugin-jquery": "1.5.1",
|
|
|
|
"eslint-plugin-mattermost": "github:mattermost/eslint-plugin-mattermost#070ce792d105482ffb2b27cfc0b7e78b3d20acee",
|
|
|
|
"eslint-plugin-no-only-tests": "2.4.0",
|
|
|
|
"eslint-plugin-react": "7.20.6",
|
2020-10-08 18:21:27 +02:00
|
|
|
"file-loader": "^6.1.0",
|
|
|
|
"html-webpack-plugin": "^4.5.0",
|
2020-12-07 23:50:22 +01:00
|
|
|
"isomorphic-fetch": "^3.0.0",
|
2021-01-30 06:16:02 +01:00
|
|
|
"jest": "^26.6.3",
|
2020-10-09 14:02:19 +02:00
|
|
|
"sass": "^1.27.0",
|
|
|
|
"sass-loader": "^10.0.2",
|
2021-01-07 03:08:16 +01:00
|
|
|
"start-server-and-test": "^1.11.7",
|
2020-10-09 14:02:19 +02:00
|
|
|
"style-loader": "^1.3.0",
|
2020-10-08 18:21:27 +02:00
|
|
|
"terser-webpack-plugin": "^4.1.0",
|
2020-10-14 08:51:37 +02:00
|
|
|
"ts-jest": "^26.4.1",
|
2020-10-08 18:21:27 +02:00
|
|
|
"ts-loader": "^8.0.3",
|
|
|
|
"typescript": "^4.0.2",
|
|
|
|
"webpack": "^4.44.1",
|
|
|
|
"webpack-cli": "^3.3.12",
|
|
|
|
"webpack-merge": "^5.1.2"
|
2021-01-07 01:09:36 +01:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"cypress": "^6.2.1"
|
2020-10-08 18:21:27 +02:00
|
|
|
}
|
|
|
|
}
|