regexp-generator: Ensure folder exists before generating

This commit is contained in:
Philip Chimento 2024-11-01 16:26:00 -07:00 committed by Philip Chimento
parent c8c800c845
commit e8342c37d5
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prebuild": "mkdirp ../../test/built-ins/RegExp/CharacterClassEscapes",
"build": "node index.js"
},
"author": "",
@ -14,5 +15,8 @@
"jsesc": "^2.5.1",
"regexpu-core": "^4.2.0",
"slugify": "^1.3.0"
},
"devDependencies": {
"mkdirp": "^3.0.1"
}
}