Fix copy config in windows (#86)

This commit is contained in:
J Francisco Rader authored and GitHub committed 2021-02-13 14:25:43 -05:00
1 parent aebf496dbd
commit 8af43eca04
2 files changed
+158 -10

No files matched your search

+2 -1
View File
@@ -57,6 +57,7 @@
"babel-plugin-styled-components": "^1.10.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"copy-webpack-plugin": "6.2.1",
"cp-cli": "^2.0.0",
"cra-build-watch": "^3.2.0",
"cross-env": "^7.0.2",
"css-loader": "^2.1.1",
@@ -75,7 +76,7 @@
"webpack-cli": "^3.3.12"
},
"scripts": {
"copy:config": "cp ../config.json ./src/config.autogen.json",
"copy:config": "cp-cli ../config.json ./src/config.autogen.json",
"start": "yarn copy:config && react-scripts start",
"watch": "cra-build-watch --disable-chunks --build-path ../resources/html --output-filename dev.js",
"format": "prettier --write src/**/*.{js,jsx,ts,tsx,json,css,scss,md}",