-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
126 lines (126 loc) · 3.96 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
{
"name": "electron-chat-beerjs",
"version": "1.0.0",
"description": "Chat simple usado de base para implementar electron",
"main": "main.js",
"scripts": {
"start": "electron .",
"lint": "eslint 'main.js' 'app/assets/js/**/*.js' 'test/**/*.js'",
"format": "prettier-standard 'main.js' 'app/assets/js/**/*.js' 'test/**/*.js'",
"precommit": "lint-staged",
"pretest": "npm run lint -s && npm run format -s",
"test": "mocha",
"server": "live-server app",
"clean": "rm -rf ./dist",
"clean:osx": "rm -rf ./dist/chat-beerjs-darwin-x64 ./dist/mac",
"clean:win": "rm -rf ./dist/chat-beerjs-win32-x64 ./dist/win-unpacked ./dist/chat-beerjs*.exe",
"clean:linux": "rm -rf ./dist/chat-beerjs-linux-x64 ./dist/linux-unpacked",
"pack": "npm run pack:osx && npm run pack:win && npm run pack:linux",
"pack:osx": "npm run clean:osx && electron-packager . --out=dist --platform=darwin --arch=x64 --prune --asar --overwrite",
"pack:win": "npm run clean:win && electron-packager . --out=dist --platform=win32 --arch=x64 --prune --asar --overwrite",
"pack:linux": "npm run clean:linux && electron-packager . --out=dist --platform=linux --arch=x64 --prune --asar --overwrite",
"build": "npm run build:osx && npm run build:win && npm run build:linux",
"build:osx": "npm run pack:osx && build dist/chat-beerjs-darwin-x64/chat-beerjs.app --mac --x64",
"build:win": "npm run pack:win && build dist/chat-beerjs-win32-x64 --win --x64",
"build:linux": "npm run pack:linux && build dist/chat-beerjs-linux-x64 --linux --x64",
"publish": "npm run publish:osx && npm run publish:win && npm run publish:linux",
"publish:osx": "npm run pack:osx && build dist/chat-beerjs-darwin-x64/chat-beerjs.app --mac --x64 -p onTagOrDraft",
"publish:win": "npm run pack:win && build dist/chat-beerjs-win32-x64 --win --x64 -p onTagOrDraft",
"publish:linux": "npm run pack:linux && build dist/chat-beerjs-linux-x64 --linux --x64 -p onTagOrDraft"
},
"engines": {
"node": ">=6"
},
"repository": {
"type": "git",
"url": "https://github.com/lgaticaq/electron-chat-beerjs.git"
},
"keywords": [
"electron",
"chat",
"beerjs"
],
"author": "Leonardo Gatica <lgatica@protonmail.com> (https://about.me/lgatica)",
"license": "MIT",
"bugs": {
"url": "https://github.com/lgaticaq/electron-chat-beerjs/issues"
},
"homepage": "https://github.com/lgaticaq/electron-chat-beerjs#readme",
"dependencies": {},
"devDependencies": {
"electron": "1.8.8",
"electron-builder": "20.28.4",
"electron-packager": "11.2.0",
"eslint": "4.19.1",
"eslint-config-standard": "11.0.0",
"eslint-plugin-import": "2.13.0",
"eslint-plugin-node": "6.0.1",
"eslint-plugin-promise": "3.8.0",
"eslint-plugin-standard": "3.1.0",
"husky": "0.14.3",
"lint-staged": "6.1.1",
"live-server": "1.2.0",
"mocha": "5.2.0",
"prettier-standard": "8.0.1",
"spectron": "3.8.0"
},
"productName": "chat-beerjs",
"build": {
"appId": "com.electron.chat-beerjs",
"mac": {
"category": "public.app-category.social-networking",
"target": [
"dmg"
]
},
"linux": {
"category": "Chat",
"target": [
"deb",
"pacman"
]
},
"deb": {
"synopsis": "Chat simple usado de base para implementar electron"
},
"publish": [
{
"provider": "github"
}
]
},
"eslintConfig": {
"extends": "standard",
"parserOptions": {
"ecmaVersion": 2017
},
"env": {
"node": true,
"mocha": true,
"es6": true,
"browser": true
},
"rules": {
"no-console": [
"error"
]
}
},
"lint-staged": {
"main.js": [
"eslint --fix",
"prettier-standard",
"git add"
],
"app/assets/js/**/*.js": [
"eslint --fix",
"prettier-standard",
"git add"
],
"test/**/*.js": [
"eslint --fix",
"prettier-standard",
"git add"
]
}
}