-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
103 changed files
with
6,163 additions
and
2,411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
REACT_APP_VERSION=$npm_package_version | ||
REACT_APP_NAME=$npm_package_name | ||
BUILD_PATH='tomatic/ui-dist' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,77 @@ | ||
{ | ||
"name": "somenergia-tomatic", | ||
"version": "4.13.1", | ||
"description": "Phone Support helper", | ||
"main": "index.js", | ||
"description": "Phone Support Companion", | ||
"dependencies": { | ||
"@emotion/css": "^11.10.6", | ||
"@emotion/react": "^11.10.6", | ||
"@emotion/styled": "^11.10.6", | ||
"@mui/icons-material": "^5.11.9", | ||
"@mui/material": "^5.11.10", | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@testing-library/react": "^13.4.0", | ||
"@testing-library/user-event": "^13.5.0", | ||
"js-yaml": "^4.1.0", | ||
"js-yaml-loader": "^1.2.2", | ||
"mithril": "^2.2.2", | ||
"mmsvg": "^1.5.3", | ||
"mui-color-input": "^1.0.5", | ||
"polythene-mithril": "^1.7.5", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-scripts": "^5.0.1", | ||
"web-vitals": "^2.1.4" | ||
}, | ||
"scripts": { | ||
"start": "webpack --progress --watch --mode development", | ||
"deploy": "webpack --progress --mode production", | ||
"build": "webpack --progress --mode development", | ||
"server": "webpack-dev-server", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"start": "BUILD_PATH=tomatic/dist BROWSER=none react-app-rewired --openssl-legacy-provider start", | ||
"build": "BUILD_PATH=tomatic/dist react-app-rewired --openssl-legacy-provider build", | ||
"test": "BUILD_PATH=tomatic/dist react-app-rewired test", | ||
"eject": "react-scripts eject" | ||
}, | ||
"config-overrides-path": "tomatic/ui/config-overrides.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Som-Energia/somenergia-tomatic.git" | ||
}, | ||
"keywords": [ | ||
"phone", | ||
"asterisk", | ||
"scheduling" | ||
"scheduling", | ||
"crm" | ||
], | ||
"author": "David García Garzón", | ||
"license": "AGPL-3.0+", | ||
"author": "Som Energia SCCL", | ||
"license": "AGPL-3.0-or-later", | ||
"bugs": { | ||
"url": "https://github.com/Som-Energia/somenergia-tomatic/issues" | ||
}, | ||
"homepage": "https://github.com/Som-Energia/somenergia-tomatic#readme", | ||
"dependencies": { | ||
"js-yaml": "^3.14.1", | ||
"mithril": "^2.0.4", | ||
"polythene-core": "^1.7.5", | ||
"polythene-css": "^1.7.2", | ||
"polythene-mithril": "^1.7.2", | ||
"polythene-utilities": "^1.7.5", | ||
"webpack-roboto": "^1.0.0" | ||
"eslintConfig": { | ||
"extends": [ | ||
"react-app", | ||
"react-app/jest" | ||
] | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.18.9", | ||
"@emotion/css": "^11.9.0", | ||
"@emotion/babel-plugin": "^11.9.2", | ||
"babel-core": "^6.26.3", | ||
"babel-loader": "^8.2.5", | ||
"browserslist": "^4.21.2", | ||
"buffer": "^6.0.3", | ||
"clean-webpack-plugin": "^0.1.16", | ||
"css-loader": "^6.5.1", | ||
"html-webpack-plugin": "^5.5.0", | ||
"mini-css-extract-plugin": "^2.5.2", | ||
"mmsvg": "^1.5.3", | ||
"postcss": "^8.4.14", | ||
"style-loader": "^3.3.1", | ||
"stylus": "^0.54.5", | ||
"mini-css-extract-plugin": "^2.7.5", | ||
"prettier": "^2.8.4", | ||
"react-app-rewire-multiple-entry": "^2.2.3", | ||
"react-app-rewire-stylus-modules": "^0.0.2", | ||
"react-app-rewire-yaml": "^1.1.0", | ||
"react-app-rewired": "^2.2.1", | ||
"react-router-dom": "^6.8.2", | ||
"stylus-loader": "^7.1.0", | ||
"webpack": "^5.66.0", | ||
"webpack-bundle-analyzer": "^4.4.2", | ||
"webpack-cli": "^4.9.1", | ||
"webpack-dev-server": "^4.7.3" | ||
"webpack-cli": "^5.0.1", | ||
"yaml-loader": "^0.8.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# Requires convert from imagemagik and inkscape | ||
|
||
convert -density 300 -define icon:auto-resize=256,128,96,64,48,32,16 -background none tomatic/ui/public/tomatic-logo.svg tomatic/ui/public/tomatic-logo.ico | ||
inkscape -C tomatic/ui/public/tomatic-logo.svg --export-filename=tomatic/ui/public/tomatic-logo.png -h 512 -w 512 | ||
inkscape -C tomatic/ui/public/tomatic-logo.svg --export-filename=tomatic/ui/public/tomatic-logo-24.png -h 24 -w 24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.