This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
147 lines (147 loc) · 4.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "sweetgum.client",
"version": "0.0.1",
"description": "Sweetgum assists in the development and testing of APIs and applications that utilize APIs.",
"main": "./dist/main.js",
"scripts": {
"build-main": "cross-env NODE_ENV=production webpack --config webpack.main.prod.config.js",
"build-renderer": "cross-env NODE_ENV=production webpack --config webpack.renderer.prod.config.js",
"build": "npm run build-main && npm run build-renderer",
"start-renderer-dev": "webpack-dev-server --config webpack.renderer.dev.config.js",
"start-main-dev": "webpack --config webpack.main.config.js && electron ./dist/main.js",
"start-dev": "cross-env START_HOT=1 npm run start-renderer-dev",
"prestart": "npm run build",
"start": "electron .",
"lint": "tslint '{src,test,mocks}/**/*.{ts,tsx}' --project ./tsconfig.json",
"test": "jest '(\\/test\\/(?!e2e/)).*'",
"pretest:e2e": "npm run build",
"test:e2e": "jest '(\\/test\\/e2e/).*'",
"pack": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder",
"postinstall": "electron-builder install-app-deps"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test,mocks}/**/*.{js,ts,tsx,json,css,scss,md}": [
"prettier --config ./.prettierrc --write",
"git add"
],
"{src,test,mocks}/**/*.{js,ts,tsx}": [
"tslint --project ./tsconfig.json --fix",
"git add"
]
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/test/.+\\.spec)\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"node"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/mocks/fileMock.js",
"\\.(s?css|sass)$": "<rootDir>/mocks/styleMock.js"
}
},
"build": {
"productName": "Sweetgum",
"appId": "com.willowtreeapps.sweetgum",
"mac": {
"category": "public.app-category.developer-tools"
},
"directories": {
"output": "release"
},
"files": [
"dist/",
"node_modules/",
"package.json"
],
"linux": {
"target": "deb"
},
"win": {
"target": "nsis"
}
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:willowtreeapps/Sweetgum.Client.git"
},
"author": {
"name": "",
"email": ""
},
"license": "MIT",
"bugs": {
"url": "https://github.com/willowtreeapps/Sweetgum.Client/issues"
},
"homepage": "https://github.com/Robinfr/electron-react-typescript",
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@hot-loader/react-dom": "^16.8.6",
"@types/electron-devtools-installer": "^2.2.0",
"@types/jest": "^24.0.13",
"@types/react": "^16.8.18",
"@types/react-dom": "^16.8.4",
"@types/react-hot-loader": "^4.1.0",
"@types/react-redux": "^7.0.9",
"@types/react-test-renderer": "^16.8.1",
"@types/webdriverio": "^4.8.7",
"@types/webpack-env": "^1.13.3",
"babel-loader": "^8.0.6",
"cross-env": "^5.1.3",
"css-loader": "^2.1.1",
"electron": "^9.4.0",
"electron-builder": "^20.40.2",
"electron-devtools-installer": "^2.2.4",
"file-loader": "^3.0.1",
"fork-ts-checker-webpack-plugin": "^1.3.4",
"html-webpack-plugin": "^3.2.0",
"husky": "^2.3.0",
"image-webpack-loader": "^4.6.0",
"jest": "^24.8.0",
"lint-staged": "^8.1.7",
"node-sass": "^4.12.0",
"prettier": "^1.17.1",
"react-hot-loader": "^4.8.8",
"react-test-renderer": "^16.8.6",
"redux-devtools-extension": "^2.13.5",
"sass-loader": "^7.1.0",
"source-map-loader": "^0.2.4",
"spectron": "^5.0.0",
"style-loader": "^0.23.1",
"ts-jest": "^24.0.2",
"tslint": "^5.16.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"typescript": "^3.4.5",
"webpack": "^4.32.2",
"webpack-cli": "^3.3.2",
"webpack-dev-server": "^3.4.1",
"webpack-merge": "^4.2.1"
},
"dependencies": {
"axios": "^0.21.1",
"axios-mock-adapter": "^1.17.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-redux": "^7.0.3",
"redux": "^4.0.1"
}
}