|
|
|
|
@ -8,7 +8,7 @@
|
|
|
|
|
"homepage": "./",
|
|
|
|
|
"scripts": {
|
|
|
|
|
"start": "concurrently -k \"BROWSER=none PORT=3001 react-scripts start\" \"wait-on http://localhost:3001 && electron .\"",
|
|
|
|
|
"icon-gen": "mkdir -p icon-build && svg2png src/icon.svg -o ./icon-build/app-512.png -w 512 -h 512 && mkdir -p icns-build && icon-gen -i src/icon.svg -o ./icns-build --icns --icns-sizes 512,1024 && mkdir -p build-resources/appx && npx svg2png src/icon.svg --output=build-resources/appx/StoreLogo.png --width=50 --height=50 && npx svg2png src/icon.svg --output=build-resources/appx/Square150x150Logo.png --width=300 --height=300 && npx svg2png src/icon.svg --output=build-resources/appx/Square44x44Logo.png --width=44 --height=44 && npx svg2png src/icon.svg --output=build-resources/appx/Wide310x150Logo.png --width=620 --height=300",
|
|
|
|
|
"icon-gen": "mkdirp icon-build && svg2png src/icon.svg -o ./icon-build/app-512.png -w 512 -h 512 && mkdirp icns-build && icon-gen -i src/icon.svg -o ./icns-build --icns --icns-sizes 512,1024 && mkdirp build-resources/appx && npx svg2png src/icon.svg --output=build-resources/appx/StoreLogo.png --width=50 --height=50 && npx svg2png src/icon.svg --output=build-resources/appx/Square150x150Logo.png --width=300 --height=300 && npx svg2png src/icon.svg --output=build-resources/appx/Square44x44Logo.png --width=44 --height=44 && npx svg2png src/icon.svg --output=build-resources/appx/Wide310x150Logo.png --width=620 --height=300",
|
|
|
|
|
"build": "yarn icon-gen && react-scripts build",
|
|
|
|
|
"test": "react-scripts test",
|
|
|
|
|
"eject": "react-scripts eject",
|
|
|
|
|
@ -54,6 +54,7 @@
|
|
|
|
|
"i18next": "^19.3.2",
|
|
|
|
|
"icon-gen": "^2.0.0",
|
|
|
|
|
"lodash": "^4.17.13",
|
|
|
|
|
"mkdirp": "^1.0.3",
|
|
|
|
|
"moment": "^2.18.1",
|
|
|
|
|
"mousetrap": "^1.6.1",
|
|
|
|
|
"p-map": "^3.0.0",
|
|
|
|
|
|