Skip to content

Commit

Permalink
drop unneeded config file, simplify naming of build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Feb 7, 2022
1 parent 04f77be commit 63cdee2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 28 deletions.
22 changes: 0 additions & 22 deletions babel.config.json

This file was deleted.

File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"license": "ISC",
"scripts": {
"all": "run-s clean build dist",
"build": "run-s build:css build:data build:modern",
"build": "run-s build:css build:data build:js",
"build:css": "node scripts/build_css.js",
"build:data": "shx mkdir -p dist/data && node scripts/build_data.js",
"build:stats": "esbuild-visualizer --metadata dist/esbuild.json --exclude *.png --filename docs/statistics.html",
"build:modern": "node config/esbuild.config.modern.mjs",
"build:modern:watch": "node config/esbuild.config.modern.mjs --watch",
"build:js": "node config/esbuild.config.mjs",
"build:js:watch": "node config/esbuild.config.mjs --watch",
"clean": "shx rm -f dist/esbuild.json dist/*.js dist/*.map dist/*.css dist/img/*.svg",
"dist": "run-p dist:**",
"dist:mapillary": "shx mkdir -p dist/mapillary-js && shx cp -R node_modules/mapillary-js/dist/* dist/mapillary-js/",
"dist:pannellum": "shx mkdir -p dist/pannellum-streetside && shx cp -R node_modules/pannellum/build/* dist/pannellum-streetside/",
"dist:min:modern": "node config/esbuild.config.modern-min.mjs",
"dist:min": "node config/esbuild.config.min.mjs",
"dist:svg:iD": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"iD-%s\" --symbol-sprite dist/img/iD-sprite.svg \"svg/iD-sprite/**/*.svg\"",
"dist:svg:community": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"community-%s\" --symbol-sprite dist/img/community-sprite.svg node_modules/osm-community-index/dist/img/*.svg",
"dist:svg:fa": "svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/fa-sprite.svg svg/fontawesome/*.svg",
Expand All @@ -34,8 +34,8 @@
"imagery": "node scripts/update_imagery.js",
"lint": "eslint scripts test/spec modules",
"lint:fix": "eslint scripts test/spec modules --fix",
"start": "run-s build:modern start:server",
"start:watch": "run-p build:modern:watch start:server",
"start": "run-s build:js start:server",
"start:watch": "run-p build:js:watch start:server",
"start:server": "node scripts/server.js",
"test": "npm-run-all -s lint build test:spec",
"test:spec": "karma start karma.conf.js",
Expand Down

0 comments on commit 63cdee2

Please sign in to comment.