-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
134 lines (134 loc) · 4.28 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "ment",
"appName": "Ment",
"cleintVersion": "1.0.0",
"serverVersion": "1.0.0",
"version": "1.0.0",
"description": "A backend boilerplate for apps built using expressjs, node, mongodb using typescript",
"engines": {
"node": "11.5.x",
"npm": "6.4.x"
},
"scripts": {
"start": "npm run dev:server",
"watch": "nodemon --watch webpack.config.js --watch Gruntfile.js --exec grunt",
"dev:server": "nodemon ./dist/server.js",
"prod:server:start": "pm2 start ./dist/server.js",
"prod:server:stop": "pm2 stop ./dist/server.js",
"emit": "tsc",
"pretest": "npm run lint && npm run build:test && tsc",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --config .mocharc.json",
"test:dev": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --config .mocharc.dev.json",
"test:unit": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc -r lcov -e .ts -x \"*.spec.ts\" mocha --config .mocharc.json -r ts-node/register src/**/*.spec.ts && nyc report",
"upload_coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"lint": "tslint -c tslint.json '**/*.ts' --exclude '**/node_modules/**'",
"lint:fix": "npm run lint -- --fix",
"build": "grunt developProd",
"build:release": "grunt release",
"build:test": "grunt test",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"pre-commit": [
"emit",
"lint"
],
"repository": {
"type": "git",
"url": "https://github.com/mistaguy/ment"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mistaguy/ment/issues"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/classnames": "^2.2.11",
"@types/core-js": "^2.5.4",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.11",
"@types/express-serve-static-core": "^4.17.18",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.25",
"ajv": "^7.0.4",
"chai": "^4.3.0",
"check-dependencies": "^1.1.0",
"copy-webpack-plugin": "^7.0.0",
"core-js": "^3.8.3",
"coveralls": "^3.1.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"grunt": "^1.3.0",
"grunt-check-dependencies": "^1.0.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-compress": "^2.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-watch": "^1.0.1",
"grunt-file-append": "0.0.7",
"grunt-newer": "^1.3.0",
"grunt-webpack": "^4.0.2",
"istanbul": "^0.4.5",
"istanbul-instrumenter-loader": "^3.0.0",
"mocha": "^8.2.1",
"mocha-lcov-reporter": "^1.3.0",
"nodemon": "^2.0.7",
"npm-check": "^5.9.2",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"remap-istanbul": "^0.13.0",
"string-replace-loader": "^3.0.1",
"supertest": "^6.1.3",
"ts-loader": "^8.0.16",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^4.1.4",
"webpack": "^5.21.2",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.7.3",
"webpack-node-externals": "^2.5.2"
},
"dependencies": {
"@types/app-root-path": "^1.2.4",
"@types/bcryptjs": "^2.4.2",
"@types/bluebird": "^3.5.33",
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.9",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash": "^4.14.168",
"@types/mongodb": "^3.6.6",
"@types/mongoose": "^5.10.3",
"@types/morgan": "^1.9.2",
"@types/passport": "^1.0.6",
"@types/passport-jwt": "^3.0.4",
"@types/supertest": "^2.0.10",
"@types/swagger-ui-express": "^4.1.2",
"@types/winston": "^2.4.4",
"app-root-path": "^3.0.0",
"bcryptjs": "^2.4.3",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"classnames": "^2.2.5",
"cookie": "^0.4.1",
"cookie-session": "^2.0.0-beta.3",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.3",
"express-validator": "^6.0.0",
"jsonwebtoken": "^9.0.0",
"jwt-simple": "^0.5.6",
"moment": "^2.29.2",
"mongodb": "^3.6.4",
"mongoose": "^5.12.2",
"mongoose-data-seed": "^2.0.0",
"morgan": "^1.10.0",
"npm": "^7.21.0",
"passport": "^0.4.1",
"passport-jwt": "^4.0.0",
"request": "^2.88.2",
"requirejs": "^2.3.6",
"snyk": "^1.996.0",
"swagger-ui-express": "^4.1.6",
"winston": "^3.3.3"
},
"snyk": true
}