-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.26 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "tranxpence-api",
"version": "1.0.0",
"description": "an expense tracker and analyser web app",
"main": "./server/index.ts",
"engines": {
"node": ">=10"
},
"scripts": {
"preinstall": "yarn global add rimraf",
"test": "dotenv mocha",
"coverage": "nyc mocha",
"test:coverage": "yarn run coverage",
"clean": "rimraf ./dist",
"build": "yarn run clean && tsc",
"start": "node ./dist/server/index.js",
"dev": "dotenv nodemon",
"lint": "eslint './server/**/*' --fix",
"prettify": "prettier './server/**/*' --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mycok/mern-skeleton.git"
},
"keywords": [
"MERN"
],
"author": "mycok",
"license": "ISC",
"bugs": {
"url": "https://github.com/mycok/mern-skeleton/issues"
},
"homepage": "https://github.com/mycok/mern-skeleton#readme",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.12",
"@types/chai-http": "^4.2.0",
"@types/compression": "^1.7.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.7",
"@types/helmet": "^0.0.47",
"@types/jsonwebtoken": "^8.5.0",
"@types/mocha": "^8.0.1",
"@types/mongoose": "^5.7.32",
"@types/node": "^14.0.24",
"@types/swagger-ui-express": "^4.1.2",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"dotenv-cli": "^3.2.0",
"eslint": "^7.4.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-plugin-import": "^2.22.0",
"husky": ">=4",
"lint-staged": ">=10",
"mocha": "^8.1.0",
"nodemon": "^2.0.4",
"nyc": "^15.0.0",
"prettier": "2.0.5",
"rimraf": "^3.0.2",
"ts-node": "^8.8.1",
"typescript": "^3.9.6"
},
"dependencies": {
"ajv": "^6.12.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^3.23.3",
"jsonwebtoken": "^8.5.1",
"mongoose": "^5.9.25",
"swagger-ui-express": "^4.1.4",
"winston": "^3.3.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
"*.{js,ts}": "yarn run lint",
"*.{js,css,md,ts,html}": "yarn run prettify"
}
}