-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.51 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
{
"name": "phone",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"dev": "nodemon -L --ext 'ts, json' --watch 'src/**/*.ts' --ignore 'src/**/*.test.ts' --exec 'node --experimental-specifier-resolution=node --loader ts-node/esm src/index.ts'",
"start": "NODE_ENV=production node --experimental-modules --es-module-specifier-resolution=node dist/index.js",
"lint:es": "eslint --ext js --ext ts './'",
"lint:es:fix": "eslint --ext js --ext ts './' --fix",
"lint:etc": "prettier './**/*.{json,yaml,md}' --check",
"lint:etc:fix": "prettier './**/*.{json,yaml,md}' --write",
"lint": "npm run lint:es && npm run lint:etc",
"lint:fix": "npm run lint:es:fix && npm run lint:etc:fix",
"prepare": "husky install"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/express": "^4.17.13",
"@types/mongoose": "^5.11.97",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"eslint": "^8.4.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"nodemon": "^2.0.15",
"ts-node": "^10.4.0"
},
"dependencies": {
"express": "^4.17.1",
"mongoose": "^6.1.2"
},
"lint-staged": {
"**/*.{js,ts}": [
"eslint"
],
"**/*.{json,yaml,md}": [
"prettier --check"
]
}
}