Skip to content

Commit

Permalink
Base structure + package.json + tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
GusNitrous committed Jun 14, 2017
1 parent 94c83ec commit 739e3c1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
30 changes: 30 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "ts_node--example",
"version": "1.0.0",
"description": "Example nodejs-typescript application",
"main": "index.ts",
"scripts": {
"start": "tsc --watch",
"built:watch": "nodemon ./bin/index.js"
},
"keywords": [
"typescript",
"nodejs"
],
"author": "Sergius",
"license": "MIT",
"dependencies": {
"body-parser": "^1.17.2",
"express": "^4.15.3",
"express-session": "^1.15.3",
"nedb": "^1.8.0"
},
"devDependencies": {
"@types/body-parser": "^1.16.3",
"@types/express": "^4.0.35",
"@types/express-session": "^1.15.0",
"@types/nedb": "^1.8.3",
"@types/node": "^7.0.27",
"nodemon": "^1.11.0"
}
}
13 changes: 13 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "ES6",
"noImplicitAny": false,
"removeComments": true,
"outDir": "bin/",
"sourceMap": false
},
"include": [
"src/**/*"
]
}

0 comments on commit 739e3c1

Please sign in to comment.