rewriting to oop and typescript

This commit is contained in:
2021-12-01 18:05:44 +01:00
parent 67d6029699
commit 1ebafbef49
123 changed files with 2129 additions and 5 deletions

View File

@@ -1,11 +1,15 @@
{
"name": "nork",
"version": "1.2.1",
"version": "2.0.0.1",
"description": "The best node.js 'framework' :)",
"main": "src/app.js",
"bin": "src/app.js",
"main": "dist/app.js",
"bin": "dist/app.js",
"scripts": {
"start": "node src/app.js"
"start": "npm run start:prod",
"start:dev": "ts-node src/app.ts",
"start:prod": "node dist/app.js",
"build": "rimraf dist && tsc -p .",
"test": "mocha --config .mocharc.json --watch src/**/*.test.ts"
},
"keywords": [
"node",
@@ -21,6 +25,20 @@
"inquirer": "^8.1.2",
"pad": "^3.2.0"
},
"devDependencies": {
"@types/chai": "^4.2.22",
"@types/fs-extra": "^9.0.13",
"@types/inquirer": "^8.1.3",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"chai": "^4.3.4",
"eslint": "^8.3.0",
"mocha": "^9.1.3",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/filiprojek/nork.git"
@@ -29,4 +47,4 @@
"url": "https://github.com/filiprojek/nork/issues"
},
"homepage": "https://github.com/filiprojek/nork/blob/master/README.md"
}
}