-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
108 lines (104 loc) · 3.22 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
{
"private": true,
"name": "restaurantdelaposte",
"productName": "Restaurant de la Poste",
"author": "Guillaume Cisco <guillaumecisco@gmail.com>",
"version": "0.0.1",
"license": "MIT",
"description": "Restaurant de la Poste (Chez Robert)",
"repository": {
"type": "git",
"url": "https://github.com/GuillaumeCisco/restaurantdelaposte"
},
"engines": {
"node": ">=8.4.0",
"npm": ">=5.3.0"
},
"workspaces": [
"packages/*"
],
"scripts": {
"start": "cd packages/ssr && npm run start",
"start:prod": "cd packages/ssr && npm run start:prod",
"build:main": "cd packages/ssr && npm run build:main",
"test": "cd packages/test && npm run test",
"cover": "cd packages/test && npm run cover",
"jest-test": "cd packages/test && npm run jest-test",
"coverage": "cd packages/test && npm run coverage",
"eslint": "cd packages/eslint && npm run eslint",
"dev": "cd packages/electron && npm run dev",
"start-main-dev": "cd packages/electron && npm run start-main-dev",
"start:electron": "cd packages/electron && npm run start:electron",
"build:electron": "cd packages/electron && npm run build:electron",
"package": "cd packages/electron && npm run package",
"package-all": "cd packages/electron && npm run package-all",
"package-linux": "cd packages/electron && npm run package-linux",
"package-win": "cd packages/electron && npm run package-win",
"build-electron": "build --publish never",
"deploy": "tools/deploy.js",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0"
},
"resolutions": {
"webpack-sources": "1.0.1"
},
"pre-commit": [
"precommit-msg",
"test",
"eslint"
],
"jest": {
"setupFiles": [
"<rootDir>/test/shimSetup.js"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/setup.js",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"collectCoverageFrom": [
"src/**/*.js"
]
},
"browserslist": "electron 1.6",
"main": "./build/electron/index.js",
"build": {
"appId": "org.guillaumecisco.restaurantdelaposte",
"productName": "Restaurant de la Poste",
"directories": {
"buildResources": "resources",
"output": "release"
},
"files": [
"build/electron/**/*"
],
"linux": {
"target": [
"deb",
"AppImage"
]
},
"mac": {
"target": "dmg"
},
"win": {
"target": "nsis"
},
"nsis": {
"artifactName": "${productName}_${version}_win.${ext}"
},
"dmg": {
"artifactName": "${productName}_${version}_mac.${ext}",
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
}
}
}