Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions craco.config.js

This file was deleted.

8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = (config, { isProd, isDev, isTest }) => {
/**
* Customize the Jest by modifying the config object.
* Consult https://jestjs.io/docs/en/configuration for more information.
*/

return config;
}
55,124 changes: 29,642 additions & 25,482 deletions package-lock.json

Large diffs are not rendered by default.

53 changes: 12 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,64 +3,35 @@
"version": "0.0.0",
"private": true,
"scripts": {
"bootstrap": "flex-plugin check-start",
"prebuild": "rimraf build && npm run bootstrap",
"build": "flex-plugin build",
"clear": "flex-plugin clear",
"predeploy": "npm run build",
"deploy": "flex-plugin deploy",
"eject": "flex-plugin eject",
"postinstall": "npm run bootstrap",
"list": "flex-plugin list",
"remove": "flex-plugin remove",
"prestart": "npm run bootstrap",
"start": "flex-plugin start",
"test": "flex-plugin test --env=jsdom"
"postinstall": "flex-plugin pre-script-check",
"build": "twilio flex:plugins:build",
"start": "twilio flex:plugins:start",
"test": "twilio flex:plugins:test -- -- --env=jsdom",
"deploy": "twilio flex:plugins:deploy"
},
"dependencies": {
"@craco/craco": "^5.0.2",
"@material-ui/core": "^3.9.3",
"babel-polyfill": "^6.26.0",
"clsx": "^1.1.0",
"core-js": "^2.6.5",
"craco-config-flex-plugin": "^3",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"file-saver": "^2.0.5",
"flex-plugin": "^3",
"flex-plugin-scripts": "^3",
"flex-plugin-scripts": "4.3.4",
"immer": "1.10.0",
"jquery": "^3.6.0",
"jszip": "^3.6.0",
"jszip-utils": "^0.1.0",
"mailparser": "^3.2.0",
"mailparser": "3.5.0",
"moment": "^2.24.0",
"react": "16.5.2",
"react-dom": "16.5.2",
"react-emotion": "9.2.6",
"react-scripts": "3.4.1",
"react-test-renderer": "^16.8.6",
"react-text-truncate": "^0.16.0",
"react-tiny-popover": "^4.0.0",
"react-virtualized": "^9.22.3",
"xlsx": "^0.17.0"
},
"devDependencies": {
"@twilio/flex-ui": "1.29.3",
"babel-polyfill": "^6.26.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"rimraf": "^3.0.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
"@svgr/webpack": "5.5.0",
"@twilio/flex-ui": "^1",
"file-loader": "6.2.0",
"react-test-renderer": "16.5.2"
}
}
17 changes: 3 additions & 14 deletions public/appConfig.example.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
// your account sid
var accountSid = 'accountSid';

// set to /plugins.json for local dev
// set to /plugins.local.build.json for testing your build
// set to "" for the default live plugin loader
var pluginServiceUrl = '/plugins.json';

var appConfig = {
pluginService: {
enabled: true,
url: pluginServiceUrl
},
sso: {
accountSid: accountSid
url: '/plugins',
},
ytica: false,
logLevel: 'debug',
showSupervisorDesktopView: true
logLevel: 'info',
showSupervisorDesktopView: true,
};
33 changes: 0 additions & 33 deletions public/index.html

This file was deleted.

13 changes: 0 additions & 13 deletions public/plugins.json

This file was deleted.

13 changes: 0 additions & 13 deletions public/plugins.local.build.json

This file was deleted.

4 changes: 0 additions & 4 deletions public/pluginsService.js

This file was deleted.

20 changes: 20 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = (config, { isProd, isDev, isTest }) => {
/**
* Customize the webpack by modifying the config object.
* Consult https://webpack.js.org/configuration for more information
*/

config.module.rules = [
...config.module.rules,
{
test: /\.(png|jpe?g|gif|svg|woff|woff2|ttf|eot|ico)$/,
loader: "file-loader?name=assets/[name].[hash].[ext]",
},
{
test: /\.mjs$/,
type: "javascript/auto",
},
];

return config;
};
8 changes: 8 additions & 0 deletions webpack.dev.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = (config, { isProd, isDev, isTest }) => {
/**
* Customize the webpack dev-server by modifying the config object.
* Consult https://webpack.js.org/configuration/dev-server for more information.
*/

return config;
};