-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 2.13 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
{
"name": "cwes-sample",
"version": "1.0.0",
"description": "Clockwork Event Sourcing Library Reference Project",
"main": "built/init.js",
"author": "Kyle Jones",
"license": "LicenseRef-LICENSE",
"private": true,
"scripts": {
"build": "tsc --build --force --diagnostics --verbose",
"test": "jest --verbose",
"lint": "eslint 'src/**/*.{js,ts,tsx}' --quiet --fix",
"start": "yarn build && node built/init.js",
"testall": "yarn lint && yarn build && yarn test && echo 'Success!'"
},
"dependencies": {
"clockwork-event-sourcing": "0.1.13",
"encoding": "^0.1.12",
"jsonwebtoken": "^8.5.1",
"mysql2": "^2.2.5",
"promise-retry": "^2.0.1",
"source-map-support": "^0.5.19",
"typeorm": "^0.2.34",
"typeorm-extension": "^0.2.6",
"uuid": "^8.3.2",
"xml2js": "^0.4.23"
},
"devDependencies": {
"@types/jest": "^26.0.20",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^16.4.3",
"@types/promise-retry": "^1.1.3",
"@types/uuid": "^8.3.0",
"@types/xml2js": "^0.4.5",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"eslint": "^7.19.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-node": "^0.3.4",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"jest": "^27.0.6",
"jest-runtime": "^27.0.6",
"lint-staged": ">=10",
"prettier": "^2.2.1",
"ts-jest": "^27.0.4",
"typescript": "^4.1.5"
},
"jest": {
"preset": "ts-jest",
"forceExit": true,
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/{!(index),}.{ts,js}",
"!**/node_modules/**"
],
"testMatch": [
"**/test/**/*.test.[jt]s?(x)",
"**/src/**/?(*.)+test.[jt]s?(x)"
],
"transform": {
"^.+\\.(js|ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"isolatedModules": true,
"diagnostics": true
}
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
}
}