diff --git a/.travis.yml b/.travis.yml index a3ee5c3b..630e2413 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ before_script: - npm prune after_success: - - npm run pack + - npm run dist branches: except: diff --git a/app/yarn.lock b/app/yarn.lock index 600af7d0..5997b54e 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -267,6 +267,13 @@ node-fetch@1.6.3: encoding "^0.1.11" is-stream "^1.0.1" +node-pty@0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-0.4.1.tgz#a80b35fe57b64f055ab19b2d7aa604d836155c04" + dependencies: + extend "~1.2.1" + nan "2.2.1" + npm-run-path@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-1.0.0.tgz#f5c32bf595fe81ae927daec52e82f8b000ac3c8f" @@ -317,13 +324,6 @@ pseudomap@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" -"pty.js@https://github.com/Tyriar/pty.js/tarball/c75c2dcb6dcad83b0cb3ef2ae42d0448fb912642": - version "0.3.0" - resolved "https://github.com/Tyriar/pty.js/tarball/c75c2dcb6dcad83b0cb3ef2ae42d0448fb912642#a6ae3472bd63d7a5c489699fa7b50de160d97bd5" - dependencies: - extend "~1.2.1" - nan "2.2.1" - semver@5.3.0, semver@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" diff --git a/appveyor.yml b/appveyor.yml index e3eb3ee7..1619b596 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,5 +27,5 @@ test_script: - npm run test on_success: - - npm run pack + - npm run dist - ps: ls .\dist\win\*.exe | % { Push-AppveyorArtifact $_.FullName } diff --git a/package.json b/package.json index 3dbe5f78..f875f266 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "prepush": "npm test", "postinstall": "install-app-deps", "pack": "npm run build && build --dir && cross-env BABEL_ENV=production babel --out-file app/dist/bundle.js --no-comments --minified app/dist/bundle.js", + "dist": "npm run build && cross-env BABEL_ENV=production babel --out-file app/dist/bundle.js --no-comments --minified app/dist/bundle.js && build", "clean": "npm cache clear && rm -rf node_modules && rm -rf app/node_modules && rm -rf app/dist" }, "xo": {