summaryrefslogtreecommitdiffhomepage
path: root/gui/package.json
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-07-18 15:07:37 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-08-15 17:39:38 +0200
commit71592249b2dd669b6f24f37bfb7b0f4e43b74998 (patch)
treea6097dc7e5d94d06e99c65fdfe160e824395f50c /gui/package.json
parente84e87f4ce5a8c242f756566cdc6fb59a45f7bea (diff)
downloadmullvadvpn-71592249b2dd669b6f24f37bfb7b0f4e43b74998.tar.xz
mullvadvpn-71592249b2dd669b6f24f37bfb7b0f4e43b74998.zip
Add workspaces
Diffstat (limited to 'gui/package.json')
-rw-r--r--gui/package.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/gui/package.json b/gui/package.json
new file mode 100644
index 0000000000..f9788cc390
--- /dev/null
+++ b/gui/package.json
@@ -0,0 +1,27 @@
+{
+ "private": true,
+ "workspaces": [
+ "packages/*"
+ ],
+ "scripts": {
+ "flow": "flow",
+ "lint": "eslint \"packages/**/*.js\"",
+ "format": "yarn run private:format --write",
+ "check-format": "yarn run private:format --list-different",
+ "private:format": "prettier \"packages/**/*.{js,css}\"",
+ "pack:mac": "yarn workspace desktop pack:mac",
+ "pack:win": "yarn workspace desktop pack:win",
+ "pack:linux": "yarn workspace desktop pack:linux"
+ },
+ "devDependencies": {
+ "babel-eslint": "^8.2.6",
+ "eslint": "^5.2.0",
+ "eslint-config-prettier": "^2.9.0",
+ "eslint-plugin-flowtype": "^2.50.0",
+ "eslint-plugin-promise": "^3.8.0",
+ "eslint-plugin-react": "^7.10.0",
+ "flow-bin": "0.78",
+ "flow-typed": "^2.5.1",
+ "prettier": "1.13.7"
+ }
+}