Various tooling improvements from other plugins (#96)

This commit is contained in:
Jesse Hallam 2020-06-22 12:21:37 -03:00 committed by GitHub
parent c557d38b4d
commit a49d6f6dd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 693 additions and 201 deletions

View file

@ -5,9 +5,11 @@
"main": "src/index.js",
"scripts": {
"build": "webpack --mode=production",
"build:watch": "webpack --mode=production --watch",
"debug": "webpack --mode=none",
"lint": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet",
"fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --fix",
"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"
@ -39,6 +41,7 @@
"babel-jest": "24.9.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",
@ -52,6 +55,8 @@
"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"
},