Skip to content

Commit

Permalink
Fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 committed Sep 27, 2023
1 parent 847e304 commit 37e8b01
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"prepare": "rimraf dist && npm run build",
"prestart": "npm run build",
"start": "node cli.js",
"dev": "npm run serve & BUILD_MODE=development npm run build:ui",
"dev": "BUILD_MODE=development && npm start",
"deploy": "rimraf dist/ui && IS_WEB=1 npm run build:ui && gh-pages --dist dist/ui",
"test": "jest"
},
Expand Down
16 changes: 16 additions & 0 deletions tsconfig.server.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"sourceMap": true,
"outDir": "dist/server",
"baseUrl": ".",

"paths": {
"*": [
"node_modules/*"
]
}
},
"exclude": [ "src/cli.ts", "src/ui.tsx" ]
}

0 comments on commit 37e8b01

Please sign in to comment.