-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
134 lines (134 loc) · 4.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
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": "node-boilerplate-api",
"version": "1.0.0",
"description": "Boilerplate project for Nodejs API's",
"author": "Christiaan Maks <[email protected]>",
"main": "index.ts",
"private": false,
"engines": {
"node": "8",
"npm": "6"
},
"scripts": {
"start": "npm run build && node dist/server/index",
"build": "npm run clean && tsc && npm run build:copy-testfiles && npm run build:copy-templates && npm run build:copy-scripts",
"build:copy-testfiles": "copyfiles tests/files/* dist/",
"build:copy-templates": "copyfiles email-templates/* dist/",
"build:copy-scripts": "copyfiles scripts/deployment/* dist/",
"dev": "echo 'Please enter your password to run docker commands:' && npm run dev:container",
"dev:debug": "nodemon --inspect server/index.ts",
"dev:container": "sudo docker-compose run start npm run dev:debug",
"deploy": "git push heroku master",
"deploy:aws": "git pull && git checkout production && git merge master && npm run build && npm run test:all && git push && git checkout master && git push",
"release": "standard-version --no-verify",
"lint": "tslint --project .",
"clean": "rm -rf dist/",
"test": "sudo docker-compose run start npm run pretest && ava --match='!*{slow}*'",
"test:match": "sudo docker-compose run start npm run pretest && ava",
"test:windows:match": "npm run pretest && ava",
"test:all": "sudo docker-compose run start npm run pretest && ava",
"test:watch": "sudo docker-compose run start npm run pretest && ava --watch",
"pretest": "! grep -ir --exclude-dir=node_modules --exclude-dir=.git --exclude-dir=.vscode --exclude-dir=scripts --exclude=package.json --exclude=buildspec.yml --exclude=appspec.yml 'dist/' .",
"test:coverage": "cross-env NODE_ENV=test nyc ava",
"report-coverage": "nyc report --reporter=html",
"cli:createUser": "ts-node cli/createUser",
"scan:circular-dependencies": "madge --circular --extensions ts ./server"
},
"repository": {
"type": "git",
"url": "https://github.com/Christilut/node-api-boilerplate"
},
"keywords": [
"express",
"node",
"node.js",
"es2017",
"API",
"boilerplate",
"graphql",
"typescript"
],
"dependencies": {
"@sentry/node": "^5.5.0",
"@types/express": "4.17.0",
"@types/faker": "4.1.5",
"@types/fs-extra": "5.0.5",
"@types/graphql": "^14.0.2",
"@types/http-status": "^0.2.30",
"@types/inquirer": "6.0.0",
"@types/joi": "14.3.3",
"@types/jsonwebtoken": "8.3.2",
"@types/mongoose": "5.5.9",
"@types/node": "^8.10.10",
"@types/supertest": "2.0.8",
"@types/winston": "^2.4.4",
"@types/zen-observable": "^0.8.0",
"apollo-link": "1.2.12",
"apollo-server-express": "^1.3.6",
"app-module-path": "2.2.0",
"ava": "2.2.0",
"axios": "0.19.0",
"bcrypt": "3.0.6",
"body-parser": "1.19.0",
"commitizen": "3.0.7",
"compression": "1.7.4",
"concurrently": "4.1.1",
"copyfiles": "2.1.1",
"cors": "2.8.5",
"coveralls": "3.0.5",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"dotenv": "7.0.0",
"express": "4.17.1",
"express-promise-router": "^3.0.3",
"express-rate-limiter": "^1.3.1",
"express-validation": "^1.0.2",
"express-winston": "3.2.1",
"faker": "^4.1.0",
"forest-express-mongoose": "2.16.1",
"fs-extra": "^7.0.0",
"get-port": "5.0.0",
"graphql": "^0.13.2",
"graphql-iso-date": "^3.6.1",
"graphql-tools": "^3.0.1",
"handlebars": "4.1.2",
"helmet": "3.19.0",
"http-status": "1.3.2",
"husky": "1.3.1",
"inquirer": "6.5.0",
"joi": "14.3.1",
"jsonwebtoken": "8.5.1",
"madge": "3.4.4",
"merge-graphql-schemas": "1.5.8",
"mongodb-memory-server": "5.1.5",
"mongoose": "5.6.5",
"morgan": "^1.9.1",
"nodemailer": "6.1.0",
"nodemailer-mailgun-transport": "^1.4.0",
"nodemon": "1.19.1",
"nyc": "13.3.0",
"randomatic": "^3.1.0",
"reflect-metadata": "0.1.13",
"s3-download-stream": "^1.1.1",
"standard-version": "5.0.2",
"supertest": "4.0.2",
"ts-node": "8.3.0",
"tslint": "5.18.0",
"tslint-config-standard": "^8.0.1",
"typegoose": "5.8.1",
"typescript": "3.5.3",
"winston": "3.2.1",
"winston-cloudwatch": "2.0.5"
},
"license": "MIT",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "! grep -ir --exclude-dir=node_modules --exclude-dir=.git --exclude=package.json '// TEMP' ."
}
}
}