Skip to content

Commit 22af709

Browse files
authored
fix: Adds the correct name and commands to package.json (#658)
* fix: Adds the correct name and commands to package.json Otherwise no output can be built. * fix: changes incorrect build command I copied and pasted and forgot to change the original value.
1 parent 09316b3 commit 22af709

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

‎samples/map-drawing-terradraw/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
2-
"name": "map-drawing-terradraw-basic",
2+
"name": "@js-api-samples/map-drawing-terradraw",
33
"version": "1.0.0",
44
"description": "Basic sample for Terra Draw with Google Maps API.",
5-
"private": true,
6-
"scripts": {
7-
"start": "vite",
8-
"build": "tsc && vite build",
9-
"test": "tsc && vite build"
5+
"scripts": {
6+
"build": "tsc && bash ../jsfiddle.sh map-drawing-terradraw && bash ../app.sh map-drawing-terradraw && bash ../docs.sh map-drawing-terradraw && npm run build:vite --workspace=. && bash ../dist.sh map-drawing-terradraw",
7+
"test": "tsc && npm run build:vite --workspace=.",
8+
"start": "tsc && vite build --base './' && vite",
9+
"build:vite": "vite build --base './'",
10+
"preview": "vite preview"
1011
},
1112
"dependencies": {
1213
"@googlemaps/js-api-loader": "^1.16.8",

0 commit comments

Comments
 (0)