-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
74 lines (74 loc) · 2.07 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
{
"name": "ts-log",
"version": "2.2.7",
"description": "Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"author": "Stagnation Lab",
"keywords": [
"typescript",
"abstract",
"logger",
"console",
"dummy"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/kallaspriit/ts-log.git"
},
"scripts": {
"start": "nodemon --inspect example/index.ts",
"build": "npm run tidy:build && tsc",
"production": "node build/example/index",
"lint": "eslint src/**/*.ts",
"lint-fix": "eslint --fix src/**/*.ts",
"prettier": "prettier --write src/**/*.ts example/**/*.ts",
"tidy": "npm run tidy:build && npm run tidy:coverage",
"tidy:build": "rimraf build",
"tidy:coverage": "rimraf coverage",
"test": "jest",
"test-watch": "jest --watch --collectCoverage",
"coverage": "npm run tidy:coverage && jest --collectCoverage",
"validate": "npm run prettier && npm run build && npm run lint && npm run coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"devDependencies": {
"@types/jest": "^29.5.13",
"@types/node": "^22.7.4",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"coveralls": "^3.1.1",
"eslint": "^8.57.1",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"tslint": "^5.20.1",
"typescript": "^5.6.2"
},
"jest": {
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"roots": [
"src"
],
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.ts"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}