mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Replace mkdirp with built-in functionality (#7934)
This commit is contained in:
parent
171d50434a
commit
6c616b0d83
@ -1,3 +1,4 @@
|
||||
const fs = require('fs')
|
||||
const watchify = require('watchify')
|
||||
const browserify = require('browserify')
|
||||
const envify = require('envify/custom')
|
||||
@ -23,7 +24,6 @@ const rename = require('gulp-rename')
|
||||
const gulpMultiProcess = require('gulp-multi-process')
|
||||
const endOfStream = pify(require('end-of-stream'))
|
||||
const sesify = require('sesify')
|
||||
const mkdirp = require('mkdirp')
|
||||
const imagemin = require('gulp-imagemin')
|
||||
const { makeStringTransform } = require('browserify-transform-tools')
|
||||
|
||||
@ -679,7 +679,7 @@ function configureBundleForSesify ({
|
||||
browserifyOpts.fullPaths = true
|
||||
|
||||
// record dependencies used in bundle
|
||||
mkdirp.sync('./sesify')
|
||||
fs.mkdirSync('./sesify', { recursive: true })
|
||||
browserifyOpts.plugin.push(['deps-dump', {
|
||||
filename: `./sesify/deps-${bundleName}.json`,
|
||||
}])
|
||||
|
@ -31,7 +31,7 @@
|
||||
"test:flat:build": "yarn test:flat:build:ui && yarn test:flat:build:tests && yarn test:flat:build:locales",
|
||||
"test:flat:build:tests": "node test/integration/index.js",
|
||||
"test:flat:build:states": "node development/genStates.js",
|
||||
"test:flat:build:locales": "mkdirp dist/chrome && cp -R app/_locales dist/chrome/_locales",
|
||||
"test:flat:build:locales": "mkdir -p dist/chrome && cp -R app/_locales dist/chrome/_locales",
|
||||
"test:flat:build:ui": "yarn test:flat:build:states && browserify --transform babelify --transform brfs ./development/mock-dev.js -o ./development/bundle.js",
|
||||
"ganache:start": "./development/run-ganache",
|
||||
"sentry:publish": "node ./development/sentry-publish.js",
|
||||
@ -126,7 +126,6 @@
|
||||
"luxon": "^1.8.2",
|
||||
"metamask-inpage-provider": "^4.0.3",
|
||||
"metamask-logo": "^2.1.4",
|
||||
"mkdirp": "^0.5.1",
|
||||
"multihashes": "^0.4.12",
|
||||
"nanoid": "^2.1.6",
|
||||
"nonce-tracker": "^1.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user