regexp-generator: Add 'npm run clean' script

This commit is contained in:
Philip Chimento 2024-11-01 16:28:07 -07:00 committed by Philip Chimento
parent e8342c37d5
commit a65ca0e6a3
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rimraf ../../test/built-ins/RegExp/CharacterClassEscapes",
"prebuild": "mkdirp ../../test/built-ins/RegExp/CharacterClassEscapes",
"build": "node index.js"
},
@ -17,6 +18,7 @@
"slugify": "^1.3.0"
},
"devDependencies": {
"mkdirp": "^3.0.1"
"mkdirp": "^3.0.1",
"rimraf": "^6.0.1"
}
}