-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.19 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.19 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
{
"name": "graphite-promise",
"version": "3.0.3",
"description": "A Node.js module to interface with [Graphite](https://graphiteapp.org)",
"keywords": [
"graphite"
],
"homepage": "https://github.com/ashpool/graphite-promise",
"bugs": {
"url": "https://github.com/ashpool/graphite-promise/issues"
},
"license": "MIT",
"author": "Magnus Ljadas <magnus.ljadas@gmail.com> (https://github.com/ashpool)",
"contributors": [
{
"name": "Magnus Ljadas <magnus.ljadas@gmail.com> (https://github.com/ashpool)"
}
],
"main": "./build/index.js",
"files": [
"build"
],
"repository": {
"type": "git",
"url": "https://github.com/ashpool/graphite-promise.git"
},
"scripts": {
"build": "tsc",
"eslint": "eslint . --ext ts",
"eslint:fix": "eslint . --ext ts --fix",
"test:security": "npm audit --audit-level=high --registry=https://registry.npmjs.org",
"test": "npm run test:security && npm run eslint && jest --coverage --detectOpenHandles",
"prettier": "prettier --write '{*/**/*,*}.{js,md,json,d.ts}'",
"precommit": "lint-staged"
},
"lint-staged": {
"*.{js,md,json,d.ts}": [
"npm run prettier",
"git add"
]
},
"engines": {
"node": ">=8"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@types/node": "^16.11.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-promise": "^5.1.1",
"eslint-plugin-typescript": "^0.14.0",
"jest": "^27.2.5",
"ts-jest": "27.0.5",
"prettier": "^2.4.1",
"ts-mockito": "^2.6.1",
"typescript": "^4.4.4"
},
"jest": {
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"setupFilesAfterEnv": [
"./test/env.ts"
],
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
"<rootDir>/test/**/?(*.)(spec|test).ts?(x)"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"testEnvironment": "node",
"forceExit": true
}
}