-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.06 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
{
"name": "electron-next-boilerplate",
"version": "0.2.3",
"main": "app/main/main.js",
"description": "A boilerplate for Electron + Next.",
"scripts": {
"start": "electron .",
"next:build": "run-s renderer:build renderer:export",
"renderer:build": "next build app/renderer",
"renderer:export": "next export app/renderer",
"dist": "run-s next:build \"electron:build {@}\" --",
"electron:build": "build --dir --x64 --publish=never",
"lint": "tslint app/**/*.ts{,x}",
"test": "run-s next:build \"test:jest {@}\" --",
"test:jest": "jest"
},
"author": "shamofu",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/shamofu/electron-next-boilerplate.git"
},
"build": {
"files": [
"app/**",
"!app/main/tests/**",
"!app/renderer/**",
"app/renderer/out/**",
"!app/**/*.map"
]
},
"jest": {
"verbose": true,
"collectCoverageFrom": [
"app/renderer/**",
"!app/renderer/next.config.js",
"!app/renderer/out/**",
"!app/renderer/tests/**",
"!app/renderer/.next/**"
],
"coverageDirectory": ".coverage",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
"globals": {
"ts-jest": {
"useBabelrc": true
}
}
},
"devDependencies": {
"@types/jest": "^23.3.1",
"@types/next": "^6.1.4",
"@types/react": "^16.4.13",
"@types/styled-jsx": "^2.2.5",
"@zeit/next-typescript": "^1.1.0",
"electron": "^2.0.8",
"electron-builder": "^20.28.3",
"jest": "^23.5.0",
"next": "^6.1.1",
"npm-run-all": "^4.1.3",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-test-renderer": "^16.4.2",
"spectron": "^4.0.0",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"tslint-react": "^3.6.0",
"typescript": "^3.0.3"
},
"dependencies": {
"app-root-path": "^2.1.0",
"electron-is-dev": "^0.3.0",
"electron-next": "^3.1.4"
}
}