frontend-hamroun 1.1.28 → 1.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "frontend-hamroun",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "description": "A lightweight frontend framework with hooks and virtual DOM",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -6,8 +6,9 @@
6
6
  "scripts": {
7
7
  "dev": "vite",
8
8
  "build": "tsc && vite build",
9
- "start": "node dist/server.js",
10
- "build:ssr": "vite build --ssr src/server.ts"
9
+ "build:server": "tsc -p tsconfig.server.json",
10
+ "build:ssr": "npm run build && npm run build:server",
11
+ "start": "node dist/server.js"
11
12
  },
12
13
  "dependencies": {
13
14
  "express": "^4.18.2",
@@ -0,0 +1,25 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "ESNext",
5
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
+ "moduleResolution": "bundler",
7
+ "jsx": "preserve",
8
+ "jsxFactory": "jsx",
9
+ "jsxFragmentFactory": "Fragment",
10
+ "strict": true,
11
+ "esModuleInterop": true,
12
+ "skipLibCheck": true,
13
+ "forceConsistentCasingInFileNames": true,
14
+ "allowSyntheticDefaultImports": true,
15
+ "resolveJsonModule": true,
16
+ "isolatedModules": true,
17
+ "noEmit": true,
18
+ "types": ["node"],
19
+ "paths": {
20
+ "frontend-hamroun": ["./node_modules/frontend-hamroun"]
21
+ }
22
+ },
23
+ "include": ["src"],
24
+ "exclude": ["node_modules", "dist"]
25
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "module": "ESNext",
5
+ "outDir": "dist",
6
+ "noEmit": false,
7
+ "jsx": "preserve",
8
+ "moduleResolution": "bundler"
9
+ },
10
+ "include": ["src/server.ts"]
11
+ }