From 0215ff28b09f311090e81d11838e932a53dc7cdb Mon Sep 17 00:00:00 2001 From: casper Date: Tue, 1 Jun 2021 15:12:34 +0200 Subject: [PATCH] Make data directory before creating licenses.json #1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b22973d..69f1bc9 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "start-production": "NODE_ENV=production npm start", "lint": "eslint src/js", "dist:prepare": "npm run dist:licenses && mkdir -p dist && rimraf dist/*", - "dist:licenses": "node licenses-to-json.js . > data/licenses.json", + "dist:licenses": "mkdir -p data && node licenses-to-json.js . > data/licenses.json", "dist": "npm run dist:prepare && NODE_ENV=production webpack -p", "analyze": "NODE_ENV=production ANALYZE_BUNDLE=true webpack -p" },