Skip to content

Commit fe5d236

Browse files
committed
Add mkdirp and rimraf devDeps
Browserify won't create necessary directories. So they need to be created prior to running the builds. Which also means we need to use a cross-platform `mkdir` command. And we need to run the clean command as part of build/preparation so we need cross-platform rm-rf.
1 parent d5eae27 commit fe5d236

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,14 @@
110110
"core-assert": "^0.2.1",
111111
"headerify": "^1.0.1",
112112
"is-number": "^3.0.0",
113+
"mkdirp": "^0.5.1",
113114
"mocha": "^3.2.0",
114115
"mocha-given": "^0.1.3",
115116
"nyc": "^10.1.2",
116117
"power-assert": "^1.4.4",
117118
"pryjs": "^1.0.3",
118119
"require-globify": "^1.4.1",
120+
"rimraf": "^2.6.2",
119121
"standard": "^10.0.2",
120122
"teenytest": "^5.1.1",
121123
"testdouble": "3.2.6",

yarn.lock

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4163,7 +4163,7 @@ right-align@^0.1.1:
41634163
dependencies:
41644164
align-text "^0.1.1"
41654165

4166-
rimraf@2, rimraf@^2.2.8, rimraf@^2.3.3, rimraf@^2.4.4, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1:
4166+
rimraf@2, rimraf@^2.2.8, rimraf@^2.3.3, rimraf@^2.4.4, rimraf@^2.5.1, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2:
41674167
version "2.6.2"
41684168
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
41694169
dependencies:
@@ -5044,6 +5044,10 @@ yargs@~3.10.0:
50445044
decamelize "^1.0.0"
50455045
window-size "0.1.0"
50465046

5047+
yarn@^1.3.2:
5048+
version "1.3.2"
5049+
resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.3.2.tgz#5939762581b5b4ddcd3418c0f6be42df3aee195f"
5050+
50475051
50485052
version "0.1.2"
50495053
resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"

0 commit comments

Comments
 (0)