From 3f32de30cac89cb6e0cf2d691aa75a9cd3d00abe Mon Sep 17 00:00:00 2001 From: mister-ben Date: Fri, 12 Apr 2024 12:54:17 -0400 Subject: [PATCH] fix(build): Use quoted dbl quotes to support Windows (#8681) --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 31879bb039..64881a050d 100644 --- a/package.json +++ b/package.json @@ -36,10 +36,10 @@ "copy:examples": "shx cp -R docs/examples dist/", "build:js": "rollup -c", "build:css": "npm-run-all build:css:*", - "build:css:cdn": "sass --load-path='./' --load-path='./node_modules/' --no-source-map src/css/vjs-cdn.scss dist/alt/video-js-cdn.css", + "build:css:cdn": "sass --load-path=\"./\" --load-path=\"./node_modules/\" --no-source-map src/css/vjs-cdn.scss dist/alt/video-js-cdn.css", "build:types": "tsc", "postbuild:css:cdn": "postcss --verbose --config postcss.config.js -d dist/alt dist/alt/video-js-cdn.css", - "build:css:default": "sass --load-path='./' --load-path='./node_modules/' --no-source-map src/css/vjs.scss dist/video-js.css", + "build:css:default": "sass --load-path=\"./\" --load-path=\"./node_modules/\" --no-source-map src/css/vjs.scss dist/video-js.css", "postbuild:css:default": "postcss --verbose --config postcss.config.js -d dist/ dist/video-js.css", "prebuild:lang": "npm-run-all -s prebuild:lang:*", "prebuild:lang:chinese-s": "shx cp lang/zh-CN.json lang/zh-Hans.json", @@ -62,7 +62,7 @@ "lint": "vjsstandard", "lint-errors": "vjsstandard --errors", "karma-server": "karma start test/karma.conf.js --singleRun=false --auto-watch", - "posttest": "[ \"$CI_TEST_TYPE\" != 'coverage' ] || shx cat test/dist/coverage/text.txt", + "posttest": "[ \"$CI_TEST_TYPE\" != \"coverage\" ] || shx cat test/dist/coverage/text.txt", "pretest": "npm run build-dev", "test": "npm-run-all -p test:*", "test:node-require": "node test/require/node.js", @@ -71,8 +71,8 @@ "docs": "npm-run-all clean docs:lint docs:api", "docs:api": "node ./build/doc-version.js && jsdoc -c .jsdoc.json", "postdocs:api": "node ./build/fix-api-docs.js", - "docs:lint": "remark -- './{,!(node_modules)/**/}!(CHANGELOG)*.md'", - "docs:fix": "remark --output -- './{,!(node_modules)/**/}!(CHANGELOG)*.md'", + "docs:lint": "remark -- \"./{,!(node_modules)/**/}!(CHANGELOG)*.md\"", + "docs:fix": "remark --output -- \"./{,!(node_modules)/**/}!(CHANGELOG)*.md\"", "docs:lang": "node build/translations.js", "netlify": "node ./build/netlify.js", "netlify-docs": "node ./build/netlify-docs.js",