-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.48 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 2.48 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
{
"name": "@thecolvinco/nodejs-messenger",
"description": "Message library for nodejs applications",
"version": "1.5.0",
"source": "src/main.ts",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"keywords": [
"typescript"
],
"files": [
"dist/**.js*",
"dist/**/*.ts"
],
"scripts": {
"build": "microbundle --define PKG_VERSION=$npm_package_version --target node",
"watch": "microbundle watch --define PKG_VERSION=$npm_package_version --target node",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test::coverage:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"prerelease": "npm run build",
"release": "np",
"precommit": "lint-staged"
},
"lint-staged": {
"*.+(ts|tsx)": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"prettier": {
"semi": true,
"singleQuote": false
},
"devDependencies": {
"@types/amqplib": "^0.5.17",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"eslint": "^7.26.0",
"jest": "^26.1.0",
"jest-config": "^26.1.0",
"jest-when": "^3.3.1",
"lint-staged": "^10.2.11",
"microbundle": "^0.12.3",
"np": "^6.3.2",
"prettier": "^2.0.5",
"ts-jest": "^26.1.3",
"ts-node": "^8.10.2",
"tslint": "^6.1.2",
"typescript": "^3.9.7"
},
"license": "MIT",
"dependencies": {
"@types/jest": "^26.0.5",
"@types/node": "^14.0.24",
"amqplib": "^0.7.1",
"events": "^3.3.0",
"uuid": "^8.3.2"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TheColvinCo/nodejs-messenger"
},
"author": "TheColvinCo",
"bugs": {
"url": "https://github.com/TheColvinCo/nodejs-messenger/issues"
},
"homepage": "https://github.com/TheColvinCo/nodejs-messenger#readme",
"engines": {
"node": ">=14"
}
}