Skip to content

Commit 0403d10

Browse files
NEXT-173 - added cross platform comands with the shx npm module (https://github.com/shelljs/shx)
1 parent 86fac56 commit 0403d10

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"yarn": ">= 0.18.0"
3434
},
3535
"scripts": {
36-
"clear": "rm -Rf tmp",
36+
"clear": "shx rm -Rf tmp",
3737
"test": "npm run eslint && npm run mocha",
3838
"eslint": "eslint server/. test/. --config .eslintrc.json",
3939
"start": "concurrently 'mongod' 'wait-on tcp:27017 && NODE_ENV=production node server/'",
@@ -96,6 +96,7 @@
9696
"eslint": "~4.16.0",
9797
"mocha": "~4.0.1",
9898
"nodemon": "~1.14.11",
99+
"shx": "^0.2.2",
99100
"wait-on": "~2.1.0"
100101
}
101102
}

yarn.lock

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,10 @@ error-ex@^1.2.0:
13261326
dependencies:
13271327
is-arrayish "^0.2.1"
13281328

1329+
es6-object-assign@^1.0.3:
1330+
version "1.1.0"
1331+
resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c"
1332+
13291333
13301334
version "3.2.1"
13311335
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-3.2.1.tgz#ec56233868032909207170c39448e24449dd1fc4"
@@ -2419,6 +2423,10 @@ inquirer@^3.0.6:
24192423
strip-ansi "^4.0.0"
24202424
through "^2.3.6"
24212425

2426+
interpret@^1.0.0:
2427+
version "1.1.0"
2428+
resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614"
2429+
24222430
invariant@^2.2.0:
24232431
version "2.2.2"
24242432
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360"
@@ -3644,6 +3652,10 @@ path-key@^2.0.0:
36443652
version "2.0.1"
36453653
resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
36463654

3655+
path-parse@^1.0.5:
3656+
version "1.0.5"
3657+
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
3658+
36473659
36483660
version "0.1.7"
36493661
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
@@ -3858,6 +3870,12 @@ readdirp@^2.0.0:
38583870
readable-stream "^2.0.2"
38593871
set-immediate-shim "^1.0.1"
38603872

3873+
rechoir@^0.6.2:
3874+
version "0.6.2"
3875+
resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
3876+
dependencies:
3877+
resolve "^1.1.6"
3878+
38613879
redent@^1.0.0:
38623880
version "1.0.0"
38633881
resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde"
@@ -4042,6 +4060,12 @@ resolve-url@^0.2.1:
40424060
version "0.2.1"
40434061
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
40444062

4063+
resolve@^1.1.6:
4064+
version "1.5.0"
4065+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
4066+
dependencies:
4067+
path-parse "^1.0.5"
4068+
40454069
restore-cursor@^2.0.0:
40464070
version "2.0.0"
40474071
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
@@ -4218,10 +4242,26 @@ shebang-regex@^1.0.0:
42184242
version "1.0.0"
42194243
resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
42204244

4245+
shelljs@^0.7.3:
4246+
version "0.7.8"
4247+
resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
4248+
dependencies:
4249+
glob "^7.0.0"
4250+
interpret "^1.0.0"
4251+
rechoir "^0.6.2"
4252+
42214253
shortid@~2.2.8:
42224254
version "2.2.8"
42234255
resolved "https://registry.yarnpkg.com/shortid/-/shortid-2.2.8.tgz#033b117d6a2e975804f6f0969dbe7d3d0b355131"
42244256

4257+
shx@^0.2.2:
4258+
version "0.2.2"
4259+
resolved "https://registry.yarnpkg.com/shx/-/shx-0.2.2.tgz#0a304d020b0edf1306ad81570e80f0346df58a39"
4260+
dependencies:
4261+
es6-object-assign "^1.0.3"
4262+
minimist "^1.2.0"
4263+
shelljs "^0.7.3"
4264+
42254265
sift@^5.0.0:
42264266
version "5.0.0"
42274267
resolved "https://registry.yarnpkg.com/sift/-/sift-5.0.0.tgz#212ecb410d8a51b83e7d969e49d53e6590285ffa"

0 commit comments

Comments
 (0)