Skip to content

Commit

Permalink
fix string escapes so that serve command works on both windows and un…
Browse files Browse the repository at this point in the history
…ixes.
  • Loading branch information
PVautour committed Oct 10, 2024
1 parent 6159bc2 commit 4a51e7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
12 changes: 0 additions & 12 deletions common/config/rush/command-line.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
"summary": "Serves the page locally with hot-reload.",
"shellCommand": "npm run --prefix packages/geoview-core serve"
},
{
"commandKind": "global",
"name": "serve:mac",
"summary": "Serves the page locally with hot-reload for Mac users",
"shellCommand": "npm run --prefix packages/geoview-core serveMac"
},
{
"commandKind": "global",
"name": "host",
Expand All @@ -25,12 +19,6 @@
"summary": "Build the packages and move them to the dist directory",
"shellCommand": "npm run --prefix packages/geoview-core build"
},
{
"commandKind": "global",
"name": "build:mac",
"summary": "Build the packages and move them to the dist directory",
"shellCommand": "npm run --prefix packages/geoview-core buildMac"
},
{
"commandKind": "bulk",
"name": "build",
Expand Down
11 changes: 3 additions & 8 deletions packages/geoview-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,13 @@
"scripts": {
"serve": "npm run format && npm run fix && webpack serve --progress --color --config webpack.dev.js",
"build": "npm run format && npm run fix && npm run doc && webpack --progress --color --config webpack.prod.js && npm run generate.d.ts",
"serveMac": "npm run formatMac && npm run fixMac && webpack serve --progress --color --config webpack.dev.js",
"buildMac": "npm run formatMac && npm run fixMac && npm run doc && webpack --progress --color --config webpack.prod.js && npm run generate.d.ts",
"doc": "typedoc src/app.tsx --logLevel Error --out public/docs",
"deploy": "gh-pages -d dist",
"test": "jest",
"update_test": "jest --updateSnapshot",
"format": "prettier --write ../geoview-**/src/**/*.{ts,tsx,js}",
"lint": "eslint ../geoview-**/src/**/*.{ts,tsx,js}",
"fix": "eslint ../geoview-**/src/**/*.{ts,tsx,js} --fix",
"formatMac": "prettier --write '../geoview-**/src/**/*.{ts,tsx,js}'",
"lintMac": "eslint '../geoview-**/src/**/*.{ts,tsx,js}'",
"fixMac": "eslint '../geoview-**/src/**/*.{ts,tsx,js}' --fix",
"format": "prettier --write \"../geoview-**/src/**/*.{ts,tsx,js}\"",
"lint": "eslint \"../geoview-**/src/**/*.{ts,tsx,js}\"",
"fix": "eslint \"../geoview-**/src/**/*.{ts,tsx,js}\" --fix",
"generate.d.ts": "tsc --noEmit false --skipLibCheck true --declaration --allowJs --emitDeclarationOnly --outDir types"
},
"dependencies": {
Expand Down

0 comments on commit 4a51e7b

Please sign in to comment.