This repository has been archived by the owner on Oct 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
128 lines (128 loc) · 3.79 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
{
"name": "jag-shuber-api",
"version": "2.0.0",
"description": "Sheriff Scheduling System Api",
"main": "dist/client/index",
"typings": "dist/client/index",
"repository": "[email protected]:bcgov/jag-shuber-api.git",
"author": "Colter McQuay <[email protected]>",
"license": "Apache",
"watch": {
"generate": {
"patterns": [
"src/controllers/*",
"src/models/*",
"src/index.ts",
"src/app.ts",
"templates/*"
],
"extensions": "ts,handlebars",
"quiet": true,
"delay": 500
},
"build": {
"patterns": [
"src/**"
],
"ignore": [
"*.spec.ts"
],
"extensions": "ts",
"quiet": true,
"delay": 2000
}
},
"scripts": {
"start": "export TZ=Etc/UTC && node ./dist/index.js",
"start:local": "nodemon --config nodemon.local.json",
"start:dev": "nodemon --config nodemon.dev.json",
"start:testing": "nodemon --config nodemon.testing.json",
"build": "./node_modules/.bin/tsc",
"build:watch": "npm-watch",
"rebuild": "yarn run purge:client && del-cli 'dist/**/*' '!dist/.gitignore' && yarn generate && yarn build",
"test": "node --inspect=9230 scripts/test.js --env=node",
"test:coverage": "yarn test --coverage",
"generate": "tsoa swagger && tsoa routes && swagger-ts-client",
"purge:client": "rm -f ./src/client/models.ts ./src/client/Client.ts",
"watch:dev": "concurrently --names 'GENERATE,SERVER,BUILD' -c 'bgBlue.bold,bgMagenta.bold,bgGreen.bold' \"npm-watch generate\" \"yarn start:dev\" \"npm-watch build\"",
"watch:testing": "concurrently --names 'GENERATE,SERVER' -c 'bgBlue.bold,bgMagenta.bold' \"npm-watch generate\" \"yarn start:testing\" ",
"oc:dev": "nodemon --ignore node_modules/ dist/index.js --inspect=$DEBUG_PORT"
},
"dependencies": {
"jsonwebtoken": "^8.3.0",
"jwt-decode": "^2.2.0",
"koa": "^2.5.0",
"koa-bodyparser": "^4.2.0",
"koa-morgan": "^1.0.1",
"koa-router": "^7.4.0",
"moment": "2.22.1",
"moment-timezone": "0.5.17",
"pg": "^7.4.1",
"squel": "^5.12.1",
"superagent": "3.8.3",
"superagent-prefix": "^0.0.2",
"superagent-use": "0.1.0",
"tsoa": "^2.1.8",
"typescript-ioc": "^1.2.4",
"uuid": "^3.2.1"
},
"devDependencies": {
"@types/dotenv": "^4.0.3",
"@types/jest": "^22.2.3",
"@types/jest-matcher-utils": "^21.0.1",
"@types/jsonwebtoken": "^7.2.8",
"@types/jwt-decode": "^2.2.1",
"@types/koa": "^2.0.45",
"@types/koa-router": "^7.0.28",
"@types/moment-timezone": "^0.5.5",
"@types/node": "^9.6.6",
"@types/pg": "^7.4.8",
"@types/superagent": "^3.8.2",
"@types/uuid": "^3.4.3",
"concurrently": "^3.5.1",
"del-cli": "^1.1.0",
"dotenv": "^5.0.1",
"handlebars-helper-equal": "^1.0.0",
"jest": "^22.4.4",
"jest-to-match-shape-of": "^1.1.3",
"ncp": "^2.0.0",
"nodemon": "^1.17.3",
"npm-watch": "^0.3.0",
"openbrowser": "^1.0.2",
"swagger-ts-client": "^0.9.6",
"ts-jest": "^22.4.6",
"ts-node": "^7.0.1",
"tslint": "^5.9.1",
"typescript": "^3.1.6"
},
"jest": {
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"setupTestFrameworkScriptFile": "<rootDir>/config/jestSetup.js",
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
"<rootDir>/src/**/?(*.)(spec|test).ts?(x)"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$"
],
"moduleFileExtensions": [
"web.ts",
"ts",
"web.tsx",
"tsx",
"web.js",
"js",
"web.jsx",
"jsx",
"json",
"node"
]
}
}