Skip to content

Commit 46720e0

Browse files
Dieu HuynhJIB3377MaxWeisenmhmaidi789
authored andcommitted
removed extra config in TSconfig file, made changes to package.json that make Linux distribution possible when running npm run build
Co-authored-by: Justin Baik <bij3377@gmail.com> Co-authored-by: Max Weisenberger <germanbluemax@gmail.com> Co-authored-by: Mo Hmaidi <mhmaidi789@gmail.com>
1 parent 7662bbe commit 46720e0

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

package.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "spearmint",
33
"version": "0.6.0",
44
"description": "An open-source developer tool that simplifies testing and hopes to help increase awareness about web accessibility.",
5-
"author": "spearmintjs",
5+
"author": "Team Spearmint",
66
"build": {
77
"appId": "com.spearmint",
88
"files": [
@@ -12,9 +12,19 @@
1212
],
1313
"directories": {
1414
"buildResources": "build"
15+
},
16+
"linux": {
17+
"target": [
18+
"deb"
19+
],
20+
"maintainer": "Team Spearmint"
1521
}
1622
},
1723
"main": "public/electron.js",
24+
"bugs": {
25+
"url": "https://github.com/oslabs-beta/spearmint_LA42/issues",
26+
"email": "dieuhhuynh@gmail.com"
27+
},
1828
"homepage": "./",
1929
"private": true,
2030
"dependencies": {
@@ -28,7 +38,6 @@
2838
"concurrently": "^4.1.2",
2939
"cross-env": "^5.2.1",
3040
"dotenv": "^8.2.0",
31-
"electron": "^12.0.5",
3241
"electron-is-dev": "^1.1.0",
3342
"fibers": "^5.0.0",
3443
"js-beautify": "^1.10.0",
@@ -60,6 +69,7 @@
6069
"react-build": "NODE_ENV=production react-scripts build",
6170
"electron-build": "NODE_ENV=production electron-builder -mwl",
6271
"electron-rebuild": "electron-rebuild -f -w node-pty",
72+
"postinstall": "electron-builder install-app-deps",
6373
"release": "npm run react-build && electron-builder --publish=always",
6474
"start-windows": "cross-env NODE_ENV=development concurrently \"cross-env BROWSER=none react-app-rewired start\" \"wait-on http://localhost:3000 && electron .\"",
6575
"start": "NODE_ENV=development concurrently \"cross-env BROWSER=none react-app-rewired start\" \"wait-on http://localhost:3000 && electron .\""
@@ -86,6 +96,7 @@
8696
"@typescript-eslint/parser": "^2.33.0",
8797
"chai": "^4.3.4",
8898
"chai-as-promised": "^7.1.1",
99+
"electron": "^12.0.5",
89100
"electron-builder": "^22.6.1",
90101
"electron-devtools-installer": "^3.0.0",
91102
"electron-rebuild": "^2.3.5",

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
},
2323
"include": [
2424
"src/**/*",
25-
"public/electron.js",
2625
"src/context/__tests__",
2726
"__tests__/hello.test.js",
2827
"tests/spec.integra.js"

0 commit comments

Comments
 (0)