-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
71 lines (71 loc) · 2.18 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
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "backend",
"version": "1.0.0",
"description": "MERN App Backend",
"main": "src/index.ts",
"private": false,
"author": "Asif Vora <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/asif-simform/MERN-Stack.git"
},
"bugs": {
"url": "https://github.com/asif-simform/MERN-Stack/issues"
},
"homepage": "https://github.com/asif-simform/MERN-Stack",
"scripts": {
"typesync": "typesync",
"dev": "nodemon src/index.ts",
"build": "rm -rf ./build && tsc",
"start": "node build/index.js",
"lint": "eslint . --ext .ts",
"prettier-format": "run-script-os",
"prettier-format:win32": "prettier --config .prettierrc \"./src/**/*.ts\" --write",
"prettier-format:darwin:linux": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prettier-format:default": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prettier-watch": "run-script-os",
"prettier-watch:win32": "onchange \"src/**/*.ts\" -- prettier --write {{changed}}",
"prettier-watch:darwin:linux": "onchange 'src/**/*.ts' -- prettier --write {{changed}}",
"prettier-watch:default": "onchange 'src/**/*.ts' -- prettier --write {{changed}}",
"test": "jest",
"test:dev": "jest --watchAll"
},
"husky": {
"hooks": {
"pre-commit": "npm run test && npm run prettier-format && npm run lint"
}
},
"keywords": [
"node",
"MERN"
],
"dependencies": {
"dotenv": "^16.0.3",
"express": "^4.18.2",
"typescript": "^4.8.4"
},
"devDependencies": {
"@types/eslint": "^8.4.6",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/express": "^4.17.14",
"@types/jest": "^29.2.0",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.2",
"@types/nodemon": "^1.19.2",
"@types/prettier": "^2.7.1",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jest": "^29.2.1",
"nodemon": "^2.0.20",
"onchange": "^7.1.0",
"prettier": "^2.7.1",
"run-script-os": "^1.1.6",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typesync": "^0.9.2"
}
}