forked from diego3g/electron-typescript-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.35 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
{
"name": "electron-react-typescript",
"version": "1.0.0",
"description": "An Electron boilerplate including TypeScript, React, Jest and ESLint.",
"main": "./dist/main.js",
"scripts": {
"dev": "npm-run-all -p dev:react electron:serve",
"dev:electron": "cross-env NODE_ENV=development webpack --config webpack/electron.webpack.js --mode development && npm run start:electron",
"dev:react": "cross-env NODE_ENV=development webpack-dev-server --config webpack/react.webpack.js --mode development",
"electron:serve": "wait-on http-get://localhost:4000/ && npm run dev:electron",
"start:electron": "electron .",
"build": "npm-run-all build:electron build:react",
"build:run": "npm-run-all build start:electron",
"build:electron": "webpack --config webpack/electron.webpack.js",
"build:react": "webpack --config webpack/react.webpack.js",
"package": "npm-run-all build package:dist",
"package:dist": "electron-builder --dir",
"test": "jest"
},
"keywords": [],
"author": "Diego Fernandes <diego.schell.f@gmail.com>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"@commitlint/core": "^9.0.1",
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.3",
"@types/electron-devtools-installer": "^2.2.0",
"@types/jest": "^26.0.3",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@types/styled-components": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"babel-loader": "^8.1.0",
"commitizen": "^4.1.2",
"cross-env": "^7.0.2",
"cz-conventional-changelog": "3.2.0",
"electron": "^8.2.2",
"electron-builder": "^22.7.0",
"electron-devtools-installer": "^3.1.0",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.1",
"eslint-plugin-standard": "^4.0.1",
"html-webpack-plugin": "^4.2.0",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"ts-jest": "^26.1.1",
"typescript": "^3.9.5",
"wait-on": "^5.0.1",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3"
},
"dependencies": {
"react": "^16.13.1",
"react-dom": "^16.13.1",
"styled-components": "^5.1.1"
},
"build": {
"appId": "your.id",
"mac": {
"category": "public.app-category.video"
},
"directories": {
"output": "packages"
},
"files": [
"package.json",
"dist/**"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
}
}