Fix build scripts

This commit is contained in:
Sebastian Rindom
2020-08-20 13:40:53 +02:00
parent b826bab1ee
commit 211b7b2e05
4 changed files with 5 additions and 5 deletions
@@ -23,7 +23,7 @@
"jest": "^25.5.2" "jest": "^25.5.2"
}, },
"scripts": { "scripts": {
"build": "babel src -d dist", "build": "babel src -d .",
"prepare": "cross-env NODE_ENV=production npm run build", "prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__" "watch": "babel -w src --out-dir . --ignore **/__tests__"
}, },
+1 -1
View File
@@ -26,7 +26,7 @@
"jest": "^25.5.2" "jest": "^25.5.2"
}, },
"scripts": { "scripts": {
"build": "babel src -d dist", "build": "babel src -d .",
"prepare": "cross-env NODE_ENV=production npm run build", "prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__", "watch": "babel -w src --out-dir . --ignore **/__tests__",
"test": "jest" "test": "jest"
@@ -29,7 +29,7 @@
"prettier": "^2.0.5" "prettier": "^2.0.5"
}, },
"scripts": { "scripts": {
"build": "babel src -d dist", "build": "babel src -d .",
"prepare": "cross-env NODE_ENV=production npm run build", "prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__", "watch": "babel -w src --out-dir . --ignore **/__tests__",
"test": "jest" "test": "jest"
@@ -26,7 +26,7 @@
"jest": "^25.5.2" "jest": "^25.5.2"
}, },
"scripts": { "scripts": {
"build": "babel src -d dist", "build": "babel src -d .",
"prepare": "cross-env NODE_ENV=production npm run build", "prepare": "cross-env NODE_ENV=production npm run build",
"watch": "babel -w src --out-dir . --ignore **/__tests__", "watch": "babel -w src --out-dir . --ignore **/__tests__",
"test": "jest" "test": "jest"