Added Formatjs's built-in formatter called "simple". With this change, the intermediate Formatjs compile step is removed. Additionally, the npm command for Playbooks was standardised by replacing "extract" with "i18n-extract" to ensure consistency across all products.
148 строки
5.1 KiB
JSON
148 строки
5.1 KiB
JSON
{
|
|
"name": "boards",
|
|
"version": "7.9.1",
|
|
"private": true,
|
|
"description": "",
|
|
"scripts": {
|
|
"build": "webpack --mode=production",
|
|
"build:watch": "webpack --mode=production --watch",
|
|
"start:product": "webpack serve --mode=development",
|
|
"debug": "webpack --mode=none",
|
|
"debug:watch": "webpack --mode=development --watch",
|
|
"check-lint": "eslint --ignore-pattern ../.git-ignore --ignore-pattern dist --ext js,jsx,tsx,ts . --quiet --cache",
|
|
"check-lint:fix": "npm run check-lint -- --fix",
|
|
"check-style": "stylelint **/*.scss",
|
|
"check-style:fix": "npm run check-style -- --fix",
|
|
"check-style:fix:prettier": "prettier --write './src/**/*.scss'",
|
|
"check-types": "tsc -b",
|
|
"check-types:fix": "npm run check-types -- --noEmit --fix",
|
|
"check": "npm run check-lint && npm run check-style",
|
|
"i18n-extract": "formatjs extract \"src/**/*.{ts,tsx}\" --ignore \"**/*.d.ts\" --id-interpolation-pattern '[sha512:contenthash:base64:6]' --format simple --out-file i18n/en.json",
|
|
"fix": "npm run check-lint:fix && npm run check-style:fix",
|
|
"test": "cross-env TZ=Etc/UTC jest",
|
|
"test:watch": "cross-env TZ=Etc/UTC jest --watch",
|
|
"test:updatesnapshot": "cross-env TZ=Etc/UTC jest --updateSnapshot",
|
|
"test:debug": "cross-env TZ=Etc/UTC jest --forceExit --detectOpenHandles --verbose ",
|
|
"test-ci": "cross-env TZ=Etc/UTC jest --ci --maxWorkers=100%",
|
|
"clean": "rm -rf node_modules .eslintcache"
|
|
},
|
|
"dependencies": {
|
|
"@draft-js-plugins/editor": "^4.1.2",
|
|
"@draft-js-plugins/emoji": "^4.6.0",
|
|
"@draft-js-plugins/mention": "^5.1.2",
|
|
"@fullcalendar/core": "^5.10.1",
|
|
"@fullcalendar/daygrid": "^5.10.1",
|
|
"@fullcalendar/interaction": "^5.10.1",
|
|
"@fullcalendar/react": "^5.10.1",
|
|
"@mattermost/compass-icons": "^0.1.28",
|
|
"@reduxjs/toolkit": "^1.8.0",
|
|
"@tippyjs/react": "4.2.6",
|
|
"color": "^4.2.1",
|
|
"core-js": "3.21.1",
|
|
"draft-js": "^0.11.7",
|
|
"emoji-mart": "^3.0.1",
|
|
"fstream": "^1.0.12",
|
|
"fullcalendar": "^5.10.2",
|
|
"glob-parent": "6.0.2",
|
|
"lodash": "^4.17.21",
|
|
"marked": "4.0.17",
|
|
"moment": "^2.29.1",
|
|
"nanoevents": "^5.1.13",
|
|
"react": "17.0.2",
|
|
"react-beautiful-dnd": "^13.1.1",
|
|
"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",
|
|
"react-dom": "17.0.2",
|
|
"react-hot-keys": "^2.7.1",
|
|
"react-hotkeys-hook": "^3.4.4",
|
|
"react-intl": "*",
|
|
"react-redux": "^7.2.1",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-select": "5.5.9",
|
|
"trim-newlines": "^4.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.17.6",
|
|
"@babel/core": "7.17.8",
|
|
"@babel/plugin-proposal-class-properties": "7.16.7",
|
|
"@babel/plugin-proposal-object-rest-spread": "7.17.3",
|
|
"@babel/plugin-proposal-optional-chaining": "7.16.7",
|
|
"@babel/plugin-syntax-dynamic-import": "7.8.3",
|
|
"@babel/polyfill": "7.10.4",
|
|
"@babel/preset-env": "7.16.11",
|
|
"@babel/preset-react": "7.16.7",
|
|
"@babel/preset-typescript": "7.16.7",
|
|
"@babel/runtime": "7.17.8",
|
|
"@formatjs/cli": "^4.8.2",
|
|
"@formatjs/ts-transformer": "^3.9.2",
|
|
"@swc/core": "1.3.40",
|
|
"@swc/jest": "0.2.24",
|
|
"@testing-library/dom": "8.20.0",
|
|
"@testing-library/jest-dom": "5.16.5",
|
|
"@testing-library/react": "12.1.5",
|
|
"@testing-library/user-event": "14.4.3",
|
|
"@types/color": "^3.0.3",
|
|
"@types/draft-js": "^0.11.9",
|
|
"@types/emoji-mart": "^3.0.9",
|
|
"@types/enzyme": "3.10.11",
|
|
"@types/jest": "29.4.2",
|
|
"@types/lodash": "4.14.182",
|
|
"@types/marked": "^4.0.3",
|
|
"@types/nanoevents": "^1.0.0",
|
|
"@types/node": "16.11.7",
|
|
"@types/react": "17.0.53",
|
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
"@types/react-dom": "17.0.19",
|
|
"@types/react-redux": "^7.1.23",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/react-transition-group": "4.4.4",
|
|
"@types/redux-mock-store": "1.0.3",
|
|
"@typescript-eslint/eslint-plugin": "5.57.1",
|
|
"@typescript-eslint/parser": "5.57.1",
|
|
"babel-eslint": "10.1.0",
|
|
"css-loader": "6.7.1",
|
|
"eslint-import-resolver-webpack": "0.13.2",
|
|
"eslint-plugin-babel": "^5.3.1",
|
|
"eslint-plugin-header": "3.1.1",
|
|
"eslint-plugin-import": "2.25.4",
|
|
"eslint-plugin-import-newlines": "1.3.1",
|
|
"eslint-plugin-no-only-tests": "2.6.0",
|
|
"eslint-plugin-no-relative-import-paths": "1.5.2",
|
|
"eslint-plugin-react": "7.29.4",
|
|
"eslint-plugin-react-hooks": "4.3.0",
|
|
"eslint-plugin-unused-imports": "2.0.0",
|
|
"fetch-mock-jest": "1.5.1",
|
|
"identity-obj-proxy": "3.0.0",
|
|
"image-webpack-loader": "8.1.0",
|
|
"imagemin-gifsicle": "^7.0.0",
|
|
"imagemin-mozjpeg": "^10.0.0",
|
|
"imagemin-optipng": "^8.0.0",
|
|
"imagemin-pngquant": "^9.0.2",
|
|
"imagemin-svgo": "^10.0.1",
|
|
"imagemin-webp": "7.0.0",
|
|
"isomorphic-fetch": "3.0.0",
|
|
"jest": "29.5.0",
|
|
"jest-canvas-mock": "2.4.0",
|
|
"jest-environment-jsdom": "29.5.0",
|
|
"jest-fail-on-console": "3.0.2",
|
|
"jest-junit": "15.0.0",
|
|
"jest-mock": "29.4.3",
|
|
"prettier": "^2.6.1",
|
|
"redux-mock-store": "^1.5.4",
|
|
"sass": "1.49.9",
|
|
"sass-loader": "12.6.0",
|
|
"start-server-and-test": "^1.14.0",
|
|
"style-loader": "3.3.1",
|
|
"stylelint": "^14.6.1",
|
|
"stylelint-config-sass-guidelines": "^9.0.1",
|
|
"ts-loader": "9.4.2",
|
|
"typescript": "4.6.2",
|
|
"webpack": "5.74.0",
|
|
"webpack-cli": "4.10.0",
|
|
"webpack-dev-server": "4.10.0"
|
|
}
|
|
}
|