From 0ed1f9d84c5029d8fd83556ad085bb8e0cfd41c2 Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Fri, 24 May 2019 14:29:11 +0300 Subject: [PATCH] fix: windows compatibility scripts --- src/tasks/package.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tasks/package.js b/src/tasks/package.js index ae0c900..038efa2 100644 --- a/src/tasks/package.js +++ b/src/tasks/package.js @@ -71,7 +71,7 @@ module.exports = () => { start: 'npm run build -- -w', prebuild: 'npm run clean', build: - "cross-env NODE_ENV=production babel src -d dist --ignore 'src/**/*.test.js' --copy-files", + 'cross-env NODE_ENV=production babel src -d dist --ignore "src/**/*.test.js" --copy-files', clean: 'del-cli dist', commitlint: 'commitlint --from=master', lint: 'eslint --cache src test --ignore-path .gitignore', @@ -81,7 +81,7 @@ module.exports = () => { 'test:only': 'cross-env NODE_ENV=test jest', 'test:watch': 'cross-env NODE_ENV=test jest --watch', 'test:coverage': - "cross-env NODE_ENV=test jest --collectCoverageFrom='src/**/*.js' --coverage", + 'cross-env NODE_ENV=test jest --collectCoverageFrom="src/**/*.js" --coverage', pretest: 'npm run lint', test: 'cross-env NODE_ENV=test npm run test:coverage', defaults: existing.scripts.defaults || 'webpack-defaults',