This repository has been archived on 2024-11-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mattermost-plugin-attachmen.../webapp/package.json
Jesse Hallam becbbc9685
Fix build issues (#104)
* fix linting issues on webpack.config.js

* sync with demo plugin, go mod tidy

* npm audit fix

There's a rash of lodash issues right now that have no available fix, but I'm fixing the remaining issues.

* use exact versions

* update webapp/package-lock.json too

* manually clean up go.mod/go.sum

* private package.json
2020-07-07 09:50:31 -03:00

110 lines
3.5 KiB
JSON

{
"private": true,
"scripts": {
"build": "webpack --mode=production",
"build:watch": "webpack --mode=production --watch",
"debug": "webpack --mode=none",
"debug:watch": "webpack --mode=development --watch",
"lint": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --cache",
"fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --fix --cache",
"test": "jest --forceExit --detectOpenHandles --verbose",
"test:watch": "jest --watch",
"test-ci": "jest --forceExit --detectOpenHandles --maxWorkers=2"
},
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.5",
"@babel/plugin-proposal-class-properties": "7.4.4",
"@babel/plugin-proposal-object-rest-spread": "7.5.5",
"@babel/plugin-proposal-optional-chaining": "7.10.4",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/polyfill": "7.4.4",
"@babel/preset-env": "7.4.5",
"@babel/preset-react": "7.0.0",
"@babel/preset-typescript": "7.3.3",
"@babel/runtime": "7.4.5",
"@emotion/babel-preset-css-prop": "10.0.27",
"@emotion/core": "10.0.28",
"@types/enzyme": "3.10.4",
"@types/jest": "24.0.25",
"@types/node": "12.12.24",
"@types/react": "16.9.17",
"@types/react-dom": "16.9.4",
"@types/react-intl": "2.3.18",
"@types/react-router-dom": "4.3.4",
"@types/react-transition-group": "4.2.2",
"@typescript-eslint/eslint-plugin": "1.13.0",
"@typescript-eslint/parser": "1.13.0",
"babel-eslint": "10.0.2",
"babel-jest": "26.1.0",
"babel-loader": "8.0.6",
"babel-plugin-typescript-to-proptypes": "0.17.1",
"css-loader": "3.6.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"enzyme-to-json": "3.4.3",
"eslint": "6.0.1",
"eslint-import-resolver-webpack": "0.11.1",
"eslint-plugin-import": "2.18.0",
"eslint-plugin-react": "7.14.2",
"file-loader": "4.0.0",
"identity-obj-proxy": "3.0.0",
"jest": "25.1.0",
"jest-canvas-mock": "2.2.0",
"jest-junit": "10.0.0",
"mattermost-webapp": "github:mattermost/mattermost-webapp#23f5f93d9f12a7e2b5623e5cee6814366abd9a0f",
"sass-loader": "8.0.2",
"style-loader": "1.2.1",
"webpack": "4.35.0",
"webpack-cli": "3.3.5"
},
"dependencies": {
"core-js": "3.6.2",
"react": "16.8.6",
"react-redux": "5.0.7",
"redux": "4.0.1",
"typescript": "3.5.3"
},
"jest": {
"snapshotSerializers": [
"<rootDir>/node_modules/enzyme-to-json/serializer"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/non_npm_dependencies/"
],
"clearMocks": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
],
"coverageReporters": [
"lcov",
"text-summary"
],
"moduleNameMapper": {
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy",
"^.+\\.(css|less|scss)$": "identity-obj-proxy",
"^.*i18n.*\\.(json)$": "<rootDir>/tests/i18n_mock.json",
"^bundle-loader\\?lazy\\!(.*)$": "$1"
},
"moduleDirectories": [
"",
"node_modules",
"non_npm_dependencies"
],
"reporters": [
"default",
"jest-junit"
],
"transformIgnorePatterns": [
"node_modules/(?!react-native|react-router|mattermost-webapp)"
],
"setupFiles": [
"jest-canvas-mock"
],
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.js"
],
"testURL": "http://localhost:8065"
}
}