From 0cdc165ace53019371fc126d8d76817f1f2ed027 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Fri, 7 Dec 2018 13:47:00 +0100 Subject: fix(Spellchecker): Dictionaries are now part of app instead of dynamic download --- package.json | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 6c6adee5d..155be5f1d 100644 --- a/package.json +++ b/package.json @@ -17,12 +17,14 @@ "dev": "cross-env NODE_ENV=development gulp dev", "lint": "eslint src", "sign": "gulp sign", - "prebuild": "gulp build", + "compile": "gulp clean && gulp build", + "prebuild": "npm run compile && npm run dictionaries", "build": "node_modules/.bin/electron-builder --publish onTag", "rebuild": "node_modules/.bin/electron-rebuild", "commit": "git-cz", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", - "reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"" + "reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", + "dictionaries": "node ./build-helpers/installDictionaries.js" }, "keywords": [], "author": "Stefan Malzner ", @@ -44,7 +46,6 @@ "electron-window-state": "^4.1.0", "fs-extra": "7.0.1", "gulp-cli": "1.2.2", - "hunspell-dict-downloader": "1.0.0", "ini": "^1.3.4", "jshashes": "^1.0.6", "jsonwebtoken": "^7.4.1", @@ -84,7 +85,8 @@ }, "devDependencies": { "@adlk/misty": "^0.1.1", - "@babel/core": "^7.0.0", + "@babel/cli": "7.0.0", + "@babel/core": "7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-export-default-from": "^7.0.0", @@ -93,8 +95,8 @@ "@babel/plugin-transform-regenerator": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@babel/register": "^7.0.0", - "babel-eslint": "^10.0.1", + "@babel/register": "7.0.0", + "babel-eslint": "10.0.1", "cross-env": "^5.0.5", "cz-conventional-changelog": "^2.0.0", "dotenv": "^4.0.0", -- cgit v1.2.3-54-g00ecf