From 1affadc535896c2ba8bbb2f319d2882761772729 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Tue, 3 Sep 2024 21:44:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=8E=20Adds=20cross=20env=20in=20build?= =?UTF-8?q?=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/package.json | 124 +++++++++++++++++++++++------------------------ 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/app/package.json b/app/package.json index d54990c1..784040d2 100644 --- a/app/package.json +++ b/app/package.json @@ -1,64 +1,64 @@ { - "name": "spot_micro_controller", - "version": "0.0.1", - "private": true, - "scripts": { - "dev": "vite dev --host", - "build": "vite build", - "build:embedded": "VITE_USE_HOST_NAME=true vite build", - "preview": "vite preview", - "test": "npm run test:integration && npm run test:unit", - "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "lint": "prettier --check . && eslint .", - "format": "prettier --write .", - "test:integration": "playwright test", - "test:unit": "vitest" - }, - "devDependencies": { - "@iconify-json/mdi": "^1.1.64", - "@iconify-json/tabler": "^1.1.109", - "@playwright/test": "^1.28.1", - "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/adapter-static": "^3.0.1", - "@sveltejs/kit": "^2.5.5", - "@sveltejs/vite-plugin-svelte": "^3.0.0", - "@types/eslint": "^8.56.0", - "@types/three": "^0.162.0", - "@typescript-eslint/eslint-plugin": "^7.0.0", - "@typescript-eslint/parser": "^7.0.0", - "autoprefixer": "^10.4.19", - "eslint": "^8.56.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-svelte": "^2.35.1", - "jsdom": "^24.0.0", - "postcss": "^8.4.38", - "prettier": "^3.1.1", - "prettier-plugin-svelte": "^3.1.2", - "svelte": "^4.2.7", - "svelte-check": "^3.6.0", - "svelte-focus-trap": "^1.2.0", - "tailwindcss": "^3.4.3", - "tslib": "^2.6.1", - "typescript": "^5.1.6", - "unplugin-icons": "^0.18.5", - "vite": "^5.0.3", - "vitest": "^1.2.0" - }, - "type": "module", - "dependencies": { - "@niku/vite-env-caster": "^1.0.2", - "chart.js": "^4.4.2", - "compare-versions": "^6.1.0", - "cross-env": "^7.0.3", - "daisyui": "^4.10.2", - "jwt-decode": "^4.0.0", - "nipplejs": "^0.10.1", - "svelte-dnd-list": "^0.1.8", - "svelte-modals": "^1.3.0", - "three": "^0.162.0", - "urdf-loader": "^0.12.1", - "uzip": "^0.20201231.0", - "xacro-parser": "^0.3.9" - } + "name": "spot_micro_controller", + "version": "0.0.1", + "private": true, + "scripts": { + "dev": "vite dev --host", + "build": "vite build", + "build:embedded": "cross-env VITE_USE_HOST_NAME=true vite build", + "preview": "vite preview", + "test": "npm run test:integration && npm run test:unit", + "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", + "lint": "prettier --check . && eslint .", + "format": "prettier --write .", + "test:integration": "playwright test", + "test:unit": "vitest" + }, + "devDependencies": { + "@iconify-json/mdi": "^1.1.64", + "@iconify-json/tabler": "^1.1.109", + "@playwright/test": "^1.28.1", + "@sveltejs/adapter-auto": "^3.0.0", + "@sveltejs/adapter-static": "^3.0.1", + "@sveltejs/kit": "^2.5.5", + "@sveltejs/vite-plugin-svelte": "^3.0.0", + "@types/eslint": "^8.56.0", + "@types/three": "^0.162.0", + "@typescript-eslint/eslint-plugin": "^7.0.0", + "@typescript-eslint/parser": "^7.0.0", + "autoprefixer": "^10.4.19", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-svelte": "^2.35.1", + "jsdom": "^24.0.0", + "postcss": "^8.4.38", + "prettier": "^3.1.1", + "prettier-plugin-svelte": "^3.1.2", + "svelte": "^4.2.7", + "svelte-check": "^3.6.0", + "svelte-focus-trap": "^1.2.0", + "tailwindcss": "^3.4.3", + "tslib": "^2.6.1", + "typescript": "^5.1.6", + "unplugin-icons": "^0.18.5", + "vite": "^5.0.3", + "vitest": "^1.2.0" + }, + "type": "module", + "dependencies": { + "@niku/vite-env-caster": "^1.0.2", + "chart.js": "^4.4.2", + "compare-versions": "^6.1.0", + "cross-env": "^7.0.3", + "daisyui": "^4.10.2", + "jwt-decode": "^4.0.0", + "nipplejs": "^0.10.1", + "svelte-dnd-list": "^0.1.8", + "svelte-modals": "^1.3.0", + "three": "^0.162.0", + "urdf-loader": "^0.12.1", + "uzip": "^0.20201231.0", + "xacro-parser": "^0.3.9" + } }