-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "nodejs-boilerplate",
"version": "1.0.0",
"main": "dist/server.js",
"license": "MIT",
"scripts": {
"start": "node dist/server.js",
"dev": "nodemon",
"start:dev": "node -r dotenv/config -r tsconfig-paths/register -r ts-node/register ./index.ts",
"build": "yarn build:clean && yarn build:compile && yarn build:assets",
"build:assets": "echo build:assets",
"build:clean": "rimraf dist",
"build:compile": "ttsc -p tsconfig.json",
"build:docker": "docker-compose up",
"clean:modules": "rimraf node_modules",
"lint": "eslint --ext .ts .",
"lint:fix": "yarn lint --fix"
},
"author": "Radovan Pelka (Rado) <[email protected]>",
"description": "Clean Architecture inspired boilerplate for NodeJS (Eslint, Typescript, Husky, Prettier)",
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/node": "^13.13.2",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"@zerollup/ts-transform-paths": "^1.7.17",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"nodemon": "^2.0.3",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"ttypescript": "^1.5.10",
"typescript": "^3.8.3"
},
"nodemonConfig": {
"ignore": [
"**/*.test.ts",
"**/*.spec.ts",
".git",
"node_modules"
],
"watch": [
"src",
"index.ts"
],
"exec": "yarn start:dev",
"ext": "ts, js"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
}
}