-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpackage.json
45 lines (45 loc) · 2.93 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
{
"name": "msi-keyboard-gui",
"version": "0.2.3",
"description": "The First fully featured GUI MSI Keyboard controller for Linux (And Windows)",
"author": "Steve Lacy <me@slacy.me> http://slacy.me",
"repository": {
"type": "git",
"url": "https://github.com/stevelacy/msi-keyboard-gui"
},
"license": "MIT",
"scripts": {
"start": "npm run build:app:linux && electron ./dist/app",
"start:macos": "npm run build:app:macos && electron ./dist/app",
"start:windows": "npm run build:app:windows && electron ./dist/app",
"build:linux": "npm run build:app:linux && electron-packager ./dist/app/ --overwrite --out=dist --electron-version=1.8.8 --platform=linux --arch=x64 --app-bundle-id=com.stevelacy.msikeyboard --app-version=$npm_package_version && cd dist/ && tar -czvf ./msi-keyboard-gui-linux-${npm_package_version}.tar.gz msi-keyboard-gui-linux-x64/*",
"build:windows": "npm run build:app:windows && electron-packager ./dist/app/ --overwrite --out=dist --electron-version=1.7.8 --platform=win32 --arch=x64 --app-bundle-id=com.stevelacy.msikeyboard --app-version=%npm_package_version% && cd dist/",
"build:macos": "npm run build:app:macos && electron-packager ./dist/app/ --overwrite --out=dist --electron-version=1.8.4 --platform=darwin --arch=x64 --app-bundle-id=com.stevelacy.msikeyboard --app-version=%npm_package_version% && cd dist/",
"build:app:linux": "npm rebuild --runtime=electron --target=1.8.8 --disturl=https://atom.io/download/atom-shell --npm_config_build_from_source=true && babel src/ --out-dir ./dist/app/src/ && cp -t ./dist/app/src/ ./src/index.html ./src/index.css && cp -rt ./dist/app/ index.js package.json node_modules LICENSE",
"build:app:windows": "npm rebuild --runtime=electron --target=1.8.8 --disturl=https://atom.io/download/atom-shell --npm_config_build_from_source=true && babel src/ --out-dir .\\dist\\app\\src\\ && copy .\\src\\index.html .\\dist\\app\\src\\ && copy .\\src\\index.css .\\dist\\app\\src\\ && copy index.js .\\dist\\app\\ && copy package.json .\\dist\\app\\ && xcopy .\\node_modules .\\dist\\app\\node_modules\\ /e/i/h/y/a && copy LICENSE .\\dist\\app\\",
"build:app:macos": "npm rebuild --runtime=electron --target=1.8.8 --disturl=https://atom.io/download/atom-shell --npm_config_build_from_source=true && babel src/ --out-dir ./dist/app/src/ && cp ./src/index.html ./src/index.css ./dist/app/src/ && rm -rf ./dist/app/node_modules && cp -R index.js package.json node_modules LICENSE ./dist/app/"
},
"dependencies": {
"electron-debug": "^1.1.0",
"msi-keyboard": "^0.6.0",
"react": "^15.0.2",
"classnames": "^2.2.5",
"react-dom": "^15.0.2"
},
"devDependencies": {
"babel-cli": "^6.5.2",
"babel-preset-es2015": "^6.18.0",
"babel-preset-react": "^6.16.0",
"babel-register": "^6.8.0",
"electron": "^1.8.8",
"electron-packager": "^12.1.1"
},
"engines": {
"node": ">=6.0.0"
},
"os": [
"linux",
"win32",
"darwin"
]
}