Add postinstall script for building native dependencies

This commit is contained in:
Igor Gassmann 2017-12-04 21:39:02 -03:00
parent ce46c46708
commit 086b511154
3 changed files with 303 additions and 759 deletions

View file

@ -10,6 +10,7 @@
"scripts": { "scripts": {
"dev": "electron-webpack dev", "dev": "electron-webpack dev",
"compile": "electron-webpack", "compile": "electron-webpack",
"postinstall": "electron-builder install-app-deps",
"precommit": "lint-staged", "precommit": "lint-staged",
"prettier": "prettier --trailing-comma es5 --write js/**/*.{js,jsx}", "prettier": "prettier --trailing-comma es5 --write js/**/*.{js,jsx}",
"extract-langs": "node extractLocals.js" "extract-langs": "node extractLocals.js"
@ -130,16 +131,10 @@
"babel-preset-stage-2": "^6.18.0", "babel-preset-stage-2": "^6.18.0",
"devtron": "^1.4.0", "devtron": "^1.4.0",
"electron": "^1.7.9", "electron": "^1.7.9",
"electron-builder": "^11.7.0", "electron-builder": "^19.47.1",
"electron-debug": "^1.4.0", "electron-debug": "^1.4.0",
"electron-devtools-installer": "^2.2.1", "electron-devtools-installer": "^2.2.1",
"electron-webpack": "^1.11.0", "electron-webpack": "^1.11.0",
"eslint": "^3.10.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-loader": "^1.6.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.7.1",
"husky": "^0.13.4", "husky": "^0.13.4",
"i18n-extract": "^0.4.4", "i18n-extract": "^0.4.4",
"json-loader": "^0.5.4", "json-loader": "^0.5.4",
@ -155,7 +150,6 @@
"resolutions": { "resolutions": {
"webpack/webpack-sources": "1.0.1" "webpack/webpack-sources": "1.0.1"
}, },
"postinstall": "install-app-deps",
"license": "MIT", "license": "MIT",
"lint-staged": { "lint-staged": {
"src/renderer/js/**/*.{jsx,js}": [ "src/renderer/js/**/*.{jsx,js}": [

0
static/daemon/.gitkeep Normal file
View file

1052
yarn.lock

File diff suppressed because it is too large Load diff