Skip to content

Commit

Permalink
Cleanup dependencies and clean task
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Synowiec committed Mar 8, 2018
1 parent a11a980 commit 1924b48
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 15 deletions.
11 changes: 6 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,19 @@ const { rebuild } = require('electron-rebuild');
const gulp = require('gulp');
const gulpSequence = require('gulp-sequence');
const less = require('gulp-less');
const rimraf = promisify(require('rimraf'));
const del = require('del');
const ts = require('gulp-typescript');
const sourcemaps = require('gulp-sourcemaps');
const gulpTslint = require('gulp-tslint');
const tslint = require('tslint');
const useref = require('gulp-useref');

gulp.task('clean', (cb) => {
return Promise.all([
rimraf('out'),
rimraf('build'),
rimraf('coverage'),
return del([
'out',
'build',
'coverage',
'*.log',
]);
});

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@
"@types/react": "~16.0.36",
"@types/react-dom": "~16.0.2",
"@types/semver": "~5.5.0",
"del": "^3.0.0",
"devtron": "~1.4.0",
"electron": "1.8.3",
"electron-connect": "^0.6.2",
"electron-packager": "11.1.0",
"electron-rebuild": "1.7.3",
"electron-connect": "~0.6.3",
"electron-packager": "~11.1.0",
"electron-rebuild": "~1.7.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.1",
Expand All @@ -53,7 +54,6 @@
"jest": "^22.1.4",
"lint-staged": "^7.0.0",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"ts-jest": "^22.4.1",
"tslint": "^5.8.0",
"tslint-config-prettier": "^1.6.0",
Expand Down
55 changes: 49 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,13 @@ array-slice@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4"

array-uniq@^1.0.2:
array-union@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
dependencies:
array-uniq "^1.0.1"

array-uniq@^1.0.1, array-uniq@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6"

Expand Down Expand Up @@ -1261,6 +1267,17 @@ define-property@^2.0.2:
is-descriptor "^1.0.2"
isobject "^3.0.1"

del@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/del/-/del-3.0.0.tgz#53ecf699ffcbcb39637691ab13baf160819766e5"
dependencies:
globby "^6.1.0"
is-path-cwd "^1.0.0"
is-path-in-cwd "^1.0.0"
p-map "^1.1.1"
pify "^3.0.0"
rimraf "^2.2.8"

delayed-stream@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
Expand Down Expand Up @@ -1392,7 +1409,7 @@ ecc-jsbn@~0.1.1:
dependencies:
jsbn "~0.1.0"

electron-connect@^0.6.2:
electron-connect@~0.6.3:
version "0.6.3"
resolved "https://registry.yarnpkg.com/electron-connect/-/electron-connect-0.6.3.tgz#2e0d361cb1c2b0b88e9bd385732882578b055b6d"
dependencies:
Expand Down Expand Up @@ -1440,7 +1457,7 @@ electron-osx-sign@^0.4.1:
minimist "^1.2.0"
plist "^2.1.0"

[email protected]:
electron-packager@~11.1.0:
version "11.1.0"
resolved "https://registry.yarnpkg.com/electron-packager/-/electron-packager-11.1.0.tgz#90b5b41c952ccfc86f0bcb3a9c3fd30151978958"
dependencies:
Expand All @@ -1463,7 +1480,7 @@ [email protected]:
semver "^5.3.0"
yargs-parser "^9.0.2"

[email protected]:
electron-rebuild@~1.7.3:
version "1.7.3"
resolved "https://registry.yarnpkg.com/electron-rebuild/-/electron-rebuild-1.7.3.tgz#24ae06ad9dd61cb7e4d688961f49118c40a110eb"
dependencies:
Expand Down Expand Up @@ -2308,6 +2325,16 @@ globals@^9.18.0:
version "9.18.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"

globby@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c"
dependencies:
array-union "^1.0.1"
glob "^7.0.3"
object-assign "^4.0.1"
pify "^2.0.0"
pinkie-promise "^2.0.0"

globule@~0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/globule/-/globule-0.1.0.tgz#d9c8edde1da79d125a151b79533b978676346ae5"
Expand Down Expand Up @@ -2940,6 +2967,22 @@ is-odd@^2.0.0:
dependencies:
is-number "^4.0.0"

is-path-cwd@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d"

is-path-in-cwd@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz#6477582b8214d602346094567003be8a9eac04dc"
dependencies:
is-path-inside "^1.0.0"

is-path-inside@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036"
dependencies:
path-is-inside "^1.0.1"

is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
Expand Down Expand Up @@ -4644,7 +4687,7 @@ path-is-absolute@^1.0.0, path-is-absolute@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"

path-is-inside@^1.0.2:
path-is-inside@^1.0.1, path-is-inside@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"

Expand Down Expand Up @@ -5250,7 +5293,7 @@ right-align@^0.1.1:
dependencies:
align-text "^0.1.1"

rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2:
rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1:
version "2.6.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
dependencies:
Expand Down

0 comments on commit 1924b48

Please sign in to comment.