Skip to content

Commit

Permalink
update test package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ienaga committed Feb 15, 2024
1 parent 51b75b1 commit bd66261
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@next2d/framework-typescript-template",
"description": "Next2D Framework default TypeScript template.",
"version": "2.0.8",
"version": "2.0.9",
"homepage": "https://next2d.app",
"bugs": "https://github.com/Next2D/framework-typescript-template/issues/new",
"author": "Toshiyuki Ienaga<[email protected]>",
Expand Down
26 changes: 13 additions & 13 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
"generate": "npx @next2d/view-generator"
},
"devDependencies": {
"@capacitor/android": "^5.5.1",
"@capacitor/cli": "^5.5.1",
"@capacitor/core": "^5.5.1",
"@capacitor/ios": "^5.5.1",
"@next2d/framework": "^2.0.1",
"@next2d/player": "^1.18.9",
"@capacitor/android": "^5.7.0",
"@capacitor/cli": "^5.7.0",
"@capacitor/core": "^5.7.0",
"@capacitor/ios": "^5.7.0",
"@next2d/framework": "^2.0.2",
"@next2d/player": "^1.18.11",
"@next2d/vite-auto-loader-plugin": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.53.0",
"jsdom": "^22.1.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vitest": "^0.34.6"
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"eslint": "^8.56.0",
"jsdom": "^24.0.0",
"typescript": "^5.3.3",
"vite": "^5.1.2",
"vitest": "^1.2.2"
}
}
7 changes: 3 additions & 4 deletions template/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { defineConfig } from "vite";
import path from "path";
import autoLoader from "@next2d/vite-auto-loader-plugin";

const port: number = 5173;
export default defineConfig({
"base": "./",
"optimizeDeps": {
Expand All @@ -27,14 +26,14 @@ export default defineConfig({
],
"server": {
"open": "index.html",
"port": port,
"port": 5173,
"proxy": {
"/content": {
"target": `http://localhost:${port}`,
"target": "http://localhost:5173",
"rewrite": (path) => path.replace(/^\/content/, "/mock/content")
},
"/api": {
"target": `http://localhost:${port}`,
"target": "http://localhost:5173",
"rewrite": (path) => path.replace(/^\/api/, "/mock/api")
}
}
Expand Down

0 comments on commit bd66261

Please sign in to comment.