npm fixes

This commit is contained in:
Filip Rojek 2022-01-13 11:43:47 +01:00
parent c988ef64c4
commit 00033fd439
3 changed files with 10 additions and 3 deletions

0
.npmignore Normal file
View File

View File

@ -1,15 +1,17 @@
{
"name": "nork",
"version": "3.0.0",
"version": "3.0.1",
"description": "The best node.js 'framework' :)",
"main": "dist/app.js",
"bin": "dist/app.js",
"types": "dist/app.d.ts",
"scripts": {
"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"
"test": "mocha --config .mocharc.json --watch src/**/*.test.ts",
"prepublish": "rimraf dist && tsc -p ."
},
"keywords": [
"node",

View File

@ -9,8 +9,13 @@
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"declaration": true,
},
"exclude": [
"_old"
"_old",
"node_modules",
"src/make-files",
"src/skeletons",
"src/tests"
]
}