Skip to content

Commit

Permalink
fix: add cmd for codesandbox in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AlitaBernachot committed Jul 4, 2024
1 parent f0bb33c commit b76a0c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"description": "OpenLayers Cesium integration and plugin library",
"scripts": {
"test": "node --enable-source-maps --import @swc-node/register/esm-register --test src/olcs/*.test.ts",
"build-examples": "rm -rf dist; parcel build --dist-dir dist/examples && npm run copy-static-dist",
"build-examples-sandbox": "rm -rf dist; parcel build; mkdir -p dist/examples/node_modules/ol; mkdir -p dist/examples/node_modules/cesium/Build/; mkdir -p dist/examples/rawjs/; cp -r examples/* dist/examples/rawjs; cp examples/inject_ol_cesium.js dist/examples/; cp node_modules/ol/ol.css dist/examples/node_modules/ol/; cp -R node_modules/cesium/Build/CesiumUnminified node_modules/cesium/Build/Cesium dist/examples/node_modules/cesium/Build/; cp -R examples/data dist/examples/",
"build-examples": "rm -rf dist; parcel build --dist-dir dist/examples && npm run copy-static-dist && npm run copy-rawjs-sandbox",
"prepare": "tsc --pretty && node buildtools/fix_paths_recast.js; npm run doc",
"typecheck": "tsc --pretty --noEmit",
"lint": "eslint src buildtools examples",
"checks": "npm run lint && npm run typecheck",
"doc": "typedoc --name ol-cesium --excludeExternals --out apidoc --entryPoints src/olcs.ts --tsconfig ./tsconfig.json",
"copy-static-dist": "mkdir -p dist/examples/node_modules/ol; mkdir -p dist/examples/node_modules/cesium/Build/; cp examples/inject_ol_cesium.js dist/examples/; cp node_modules/ol/ol.css dist/examples/node_modules/ol/; cp -R node_modules/cesium/Build/CesiumUnminified node_modules/cesium/Build/Cesium dist/examples/node_modules/cesium/Build/; cp -R examples/data dist/examples/",
"copy-rawjs-sandbox": "mkdir -p dist/examples/rawjs/; cp -r examples/* dist/examples/rawjs; ",
"prestart": "rm -rf dist; npm run copy-static-dist",
"start": "parcel serve ./examples/index.html --dist-dir dist/examples --no-autoinstall & tsc --watch",
"serve-built-examples": "python3 -m http.server --directory dist 12345"
Expand Down

0 comments on commit b76a0c8

Please sign in to comment.