-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.7 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 3.7 KB
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
{
"name": "api",
"version": "0.0.1",
"description": "An express based REST API for tracking brewing data",
"main": "./dist/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ConnorChristensen/NinkasiServer.git"
},
"author": "Connor Christensen",
"contributors": [
"Daniel Van Horn",
"Brennan Douglas"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/ConnorChristensen/NinkasiServer/issues"
},
"homepage": "https://github.com/ConnorChristensen/NinkasiServer#readme",
"scripts": {
"start": "cross-env NODE_ENV=production && node dist/index.js",
"build": "tsc",
"now-dev": "npm run build",
"now-build": "npm run build",
"test": "jest --coverage",
"dev": "cross-env NODE_ENV=development docker-compose up database web-server",
"debug": "NODE_ENV=development nodemon --legacy-watch --watch ./dist --inspect=0.0.0.0:9222 --nolazy",
"build-images": "cross-env NODE_ENV=development docker-compose up --build database web-server",
"psql": "docker run -it --rm --network=brewhops-api_default --env-file '.env' -e PGHOST=database postgres psql",
"lint": "tslint -c ./tslint.json -p ./tsconfig.json --fix",
"watch-ts": "tsc -w -p ./tsconfig.json",
"deploy": "now --target production -e NODE_ENV=\"production-live\"",
"deploy-staging": "now --target production -e NODE_ENV=\"production\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.ts": [
"tslint -c ./tslint.json -p ./tsconfig.json --fix",
"git add"
],
"src/**/*.{js,json}": [
"prettier --single-quote --print-width 100 --write",
"git add"
]
},
"jest": {
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"testMatch": [
"**/__tests__/*.+(ts)"
]
},
"dependencies": {
"@types/jest": "^24.0.11",
"@types/papaparse": "^4.5.9",
"@types/pg-pool": "0.0.3",
"bcrypt": "^3.0.3",
"boom": "^7.2.0",
"chai-as-promised": "^7.1.1",
"command-line-args": "^5.0.2",
"cors": "^2.8.4",
"cross-env": "^5.2.0",
"crypto-js": "^3.1.9-1",
"dotenv": "^5.0.1",
"express": "^4.16.4",
"express-validation": "^1.0.2",
"is": "^3.2.1",
"jest": "^24.5.0",
"joi": "^13.4.0",
"jsonwebtoken": "^8.3.0",
"papaparse": "^4.6.3",
"pg": "^7.4.3",
"ts-jest": "^24.0.0",
"uuid": "^3.2.1"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^7.3.1",
"@osu-cass/tslint-config": "^2.0.0",
"@types/bcrypt": "^3.0.0",
"@types/boom": "^7.2.1",
"@types/chai": "^4.1.7",
"@types/cors": "^2.8.4",
"@types/crypto-js": "^3.1.43",
"@types/dotenv": "^6.1.0",
"@types/express": "^4.16.0",
"@types/is": "0.0.21",
"@types/joi": "^14.0.0",
"@types/jsonwebtoken": "^8.3.0",
"@types/node": "^10.12.9",
"@types/pg": "^7.4.11",
"chai": "^4.1.2",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-standard": "^3.1.0",
"husky": "^1.3.1",
"knex": "^0.14.6",
"lint-staged": "^8.1.0",
"mocha": "^5.2.0",
"nodemon": "^1.17.5",
"prettier": "^1.15.2",
"sinon": "^6.0.0",
"supertest": "^3.4.2",
"tslint": "^5.11.0",
"tslint-language-service": "^0.9.9",
"typescript": "^3.1.6"
}
}