-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 3.71 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
{
"name": "typescript-with-electron-react-kit",
"productName": "Videobox",
"main": "out/main.js",
"version": "2.0.0",
"description": "A photo-/videobox UI that controls OBS via Websocket plugin.",
"license": "MIT",
"private": true,
"author": {
"email": "[email protected]",
"name": "Dennis Schaller"
},
"repository": {
"type": "git",
"url": "https://github.com/schadenn/videobox-obs.git"
},
"scripts": {
"clean": "rm -rf .fusebox out dist coverage",
"compile": "NODE_ENV=production ts-node fuse",
"coverage:upload": "cat ./coverage/lcov.info | coveralls",
"coverage": "yarn test --coverage --no-cache",
"dist": "electron-builder --mac --win --linux --ia32 --x64",
"draft": "electron-builder -p always --draft --mac --win --linux --ia32 --x64",
"format": "prettier --write **/*.ts && tslint -p . --fix",
"lint": "tslint --project .",
"pack": "electron-builder --dir",
"postinstall": "electron-builder install-app-deps",
"precommit": "lint-staged",
"prepush": "npm-run-all typecheck lint",
"sanity": "npm-run-all clean typecheck lint test clean compile clean",
"start": "ts-node fuse",
"test": "jest",
"typecheck": "tsc -p . --noEmit --pretty"
},
"dependencies": {
"@types/styled-components": "^4.1.14",
"electron-is-dev": "^0.3.0",
"electron-log": "^2.2.13",
"electron-store": "^1.3.0",
"electron-updater": "^2.18.2",
"electron-window-state-manager": "^0.3.2",
"glamor": "^2.20.40",
"mousetrap": "^1.6.1",
"onedrive-api": "^0.3.1",
"onedrive-auth": "^1.1.1",
"onedrivejs": "^1.3.12",
"popmotion": "^8.1.7",
"popmotion-react": "^2.1.0",
"prop-types": "^15.6.0",
"ramda": "^0.25.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-transition-group": "^2.9.0",
"styled-components": "^4.2.0",
"typescript": "^3.4.5"
},
"devDependencies": {
"@types/electron-is-dev": "^0.3.0",
"@types/electron-store": "^1.2.0",
"@types/jest": "^22.0.1",
"@types/mousetrap": "^1.6.0",
"@types/react": "^16.0.34",
"@types/react-dom": "^16.0.3",
"@types/react-test-renderer": "^16.0.0",
"@types/storybook__react": "^3.0.6",
"babel-preset-react": "^6.24.1",
"coveralls": "^3.0.0",
"electron": "^1.7.10",
"electron-builder": "^19.52.1",
"fuse-box": "^3.0.2",
"husky": "^0.14.3",
"jest": "^22.0.4",
"jest-expect-contain-deep": "^1.0.1",
"lint-staged": "^6.0.0",
"npm-run-all": "^4.1.2",
"prettier": "^1.9.2",
"react-powerplug": "^0.1.2",
"react-test-renderer": "^16.2.0",
"ts-jest": "^22.0.1",
"ts-loader": "^3.2.0",
"ts-node": "^4.1.0",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0"
},
"jest": {
"setupFiles": [
"./test/setup.ts"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/mock-file.ts",
"\\.(css|less)$": "<rootDir>/test/mock-style.ts"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"coveragePathIgnorePatterns": [
"./node_modules",
"./out",
"./build",
"./dist",
"./test",
"./docs",
"\\.story.tsx$"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverage": false,
"mapCoverage": true
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"tslint --fix",
"git add"
]
}
}