Skip to content

Commit

Permalink
Added new-line at end of file
Browse files Browse the repository at this point in the history
  • Loading branch information
filoscoder committed Aug 17, 2021
1 parent 13a63b1 commit e40f0bf
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 100 deletions.
158 changes: 79 additions & 79 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,80 +1,80 @@
{
"name": "ts-node-express-starter",
"version": "1.0.0",
"description": "Typescript Node Express Rest API server starter",
"private": true,
"authors": "filoscoder",
"license": "MIT",
"scripts": {
"precommit": "lint-staged",
"lint": "tslint -c tslint.json 'src/**/*.{ts,js}'; exit 0",
"lint:fix": "tslint --fix -c tslint.json 'src/**/*.ts'; exit 0",
"transpile": "tsc",
"clean": "rimraf dist",
"build": "NODE_ENV=production run-s prettify clean transpile",
"watch": "tsc --watch",
"start": "yarn prettify & transpile & nodemon",
"service:start": "pm2 start ecosystem.config.js",
"service:reload": "pm2 reload ecosystem.config.js",
"service:startup": "pm2 startup",
"service:stop": "pm2 stop ecosystem.config.js",
"service:list": "pm2 list ecosystem.config.js",
"service:delete": "pm2 delete ecosystem.config.js",
"service:logs": "pm2 logs",
"prettify": "prettier --single-quote --write \"src/**/*.{ts,js,json}\""
},
"lint-staged": {
"*.{ts,js}": [
"prettier --single-quote --write",
"tslint --fix -c tslint.json 'src/**/*.{ts,js}'; exit 0",
"git add"
]
},
"keywords": [
"typescript",
"node",
"express",
"rest",
"api",
"server"
],
"dependencies": {
"bcrypt": "^5.0.0",
"cors": "^2.8.3",
"dotenv": "^10.0.0",
"express": "^4.15.3",
"helmet": "^4.3.1",
"http-status": "^1.5.0",
"jsonwebtoken": "^8.5.1",
"morgan": "^1.8.2",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.1",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.11",
"@types/helmet": "^4.0.0",
"@types/http-status": "^1.1.2",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.167",
"@types/morgan": "^1.7.32",
"@types/node": "^16.4.13",
"eslint": "^7.18.0",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"pm2": "^5.1.0",
"prettier": "^2.2.1",
"ts-node": "^10.2.0",
"tsc": "^2.0.3",
"tsconfig-paths": "^3.10.1",
"tslint": "^6.1.3",
"typescript": "^4.1.3"
},
"engines": {
"node": ">= 12.0.0",
"npm": ">= 5.0.0"
}
}
"name": "ts-node-express-starter",
"version": "1.0.0",
"description": "Typescript Node Express Rest API server starter",
"private": true,
"authors": "filoscoder",
"license": "MIT",
"scripts": {
"precommit": "lint-staged",
"lint": "tslint -c tslint.json 'src/**/*.{ts,js}'; exit 0",
"lint:fix": "tslint --fix -c tslint.json 'src/**/*.ts'; exit 0",
"transpile": "tsc",
"clean": "rimraf dist",
"build": "NODE_ENV=production run-s prettify clean transpile",
"watch": "tsc --watch",
"start": "yarn prettify & transpile & nodemon",
"service:start": "pm2 start ecosystem.config.js",
"service:reload": "pm2 reload ecosystem.config.js",
"service:startup": "pm2 startup",
"service:stop": "pm2 stop ecosystem.config.js",
"service:list": "pm2 list ecosystem.config.js",
"service:delete": "pm2 delete ecosystem.config.js",
"service:logs": "pm2 logs",
"prettify": "prettier --single-quote --write \"src/**/*.{ts,js,json}\""
},
"lint-staged": {
"*.{ts,js}": [
"prettier --single-quote --write",
"tslint --fix -c tslint.json 'src/**/*.{ts,js}'; exit 0",
"git add"
]
},
"keywords": [
"typescript",
"node",
"express",
"rest",
"api",
"server"
],
"dependencies": {
"bcrypt": "^5.0.0",
"cors": "^2.8.3",
"dotenv": "^10.0.0",
"express": "^4.15.3",
"helmet": "^4.3.1",
"http-status": "^1.5.0",
"jsonwebtoken": "^8.5.1",
"morgan": "^1.8.2",
"rimraf": "^3.0.2"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.1",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.11",
"@types/helmet": "^4.0.0",
"@types/http-status": "^1.1.2",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.167",
"@types/morgan": "^1.7.32",
"@types/node": "^16.4.13",
"eslint": "^7.18.0",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"pm2": "^5.1.0",
"prettier": "^2.2.1",
"ts-node": "^10.2.0",
"tsc": "^2.0.3",
"tsconfig-paths": "^3.10.1",
"tslint": "^6.1.3",
"typescript": "^4.1.3"
},
"engines": {
"node": ">= 12.0.0",
"npm": ">= 5.0.0"
}
}
42 changes: 21 additions & 21 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"object-literal-sort-keys": false
},
"rules": {
"ordered-imports": false,
"object-literal-sort-keys": false,
"quotemark": [true, "single"],
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"arrow-parens": [true, "ban-single-arg-parens"],
"interface-name": [true, "never-prefix"]
},
"rulesDirectory": []
}
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {
"object-literal-sort-keys": false
},
"rules": {
"ordered-imports": false,
"object-literal-sort-keys": false,
"quotemark": [true, "single"],
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"arrow-parens": [true, "ban-single-arg-parens"],
"interface-name": [true, "never-prefix"]
},
"rulesDirectory": []
}

0 comments on commit e40f0bf

Please sign in to comment.