diff --git a/package.json b/package.json new file mode 100644 index 0000000..818be65 --- /dev/null +++ b/package.json @@ -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" + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..6f324b0 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "module": "commonjs", + "target": "ES6", + "noImplicitAny": false, + "removeComments": true, + "outDir": "bin/", + "sourceMap": false + }, + "include": [ + "src/**/*" + ] +} \ No newline at end of file