Skip to content

Commit

Permalink
Better development experience
Browse files Browse the repository at this point in the history
  • Loading branch information
yeegor committed Apr 22, 2021
1 parent 39c7a3a commit 4427e7c
Show file tree
Hide file tree
Showing 3 changed files with 945 additions and 12 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"description": "",
"main": "src/main.ts",
"scripts": {
"build": "webpack --config webpack.$NODE_ENV.js",
"start": "node dist/server"
"build": "tsc",
"start": "node dist/index.js",
"dev": "concurrently \"tsc -w\" \"nodemon dist/main.js\""
},
"keywords": [],
"author": "",
Expand All @@ -21,5 +22,9 @@
"webpack-cli": "^4.6.0",
"webpack-merge": "^5.7.3",
"webpack-node-externals": "^3.0.0"
},
"devDependencies": {
"concurrently": "^6.0.2",
"nodemon": "^2.0.7"
}
}
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"include": ["./src/**/*"],
"compilerOptions": {
"outDir": "./built",
"outDir": "./dist",
"allowJs": true,
"target": "es5",
"noImplicitAny": true
"noImplicitAny": true,
"esModuleInterop": true
}
}
Loading

0 comments on commit 4427e7c

Please sign in to comment.