1 | {
|
2 | "name": "ts-log",
|
3 | "version": "2.2.5",
|
4 | "description": "Abstract logger TypeScript interface with a dummy logger that does nothing, useful for libraries.",
|
5 | "main": "build/src/index.js",
|
6 | "types": "build/src/index.d.ts",
|
7 | "author": "Stagnation Lab",
|
8 | "keywords": [
|
9 | "typescript",
|
10 | "abstract",
|
11 | "logger",
|
12 | "console",
|
13 | "dummy"
|
14 | ],
|
15 | "license": "MIT",
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "https://github.com/kallaspriit/ts-log.git"
|
19 | },
|
20 | "scripts": {
|
21 | "start": "nodemon --inspect example/index.ts",
|
22 | "build": "npm run tidy:build && tsc",
|
23 | "production": "node build/example/index",
|
24 | "lint": "tslint --project tsconfig.json --format codeFrame",
|
25 | "lint-fix": "npm run lint --fix",
|
26 | "prettier": "prettier --write src/**/*.ts example/**/*.ts",
|
27 | "tidy": "npm run tidy:build && npm run tidy:coverage",
|
28 | "tidy:build": "rimraf build",
|
29 | "tidy:coverage": "rimraf coverage",
|
30 | "test": "jest",
|
31 | "test-watch": "jest --watch --collectCoverage",
|
32 | "coverage": "npm run tidy:coverage && jest --collectCoverage",
|
33 | "validate": "npm run prettier && npm run build && npm run lint && npm run coverage",
|
34 | "coveralls": "cat ./coverage/lcov.info | coveralls"
|
35 | },
|
36 | "dependencies": {},
|
37 | "devDependencies": {
|
38 | "@types/jest": "^29.0.3",
|
39 | "@types/node": "^18.7.18",
|
40 | "coveralls": "^3.1.1",
|
41 | "jest": "^29.0.3",
|
42 | "nodemon": "^2.0.19",
|
43 | "prettier": "^2.7.1",
|
44 | "rimraf": "^3.0.2",
|
45 | "ts-jest": "^29.0.1",
|
46 | "tslint": "^5.20.1",
|
47 | "typescript": "^4.8.3",
|
48 | "typestrict": "^1.0.2"
|
49 | },
|
50 | "jest": {
|
51 | "transform": {
|
52 | "^.+\\.(ts|tsx)$": "ts-jest"
|
53 | },
|
54 | "roots": [
|
55 | "src"
|
56 | ],
|
57 | "collectCoverage": false,
|
58 | "collectCoverageFrom": [
|
59 | "src/**/*.ts"
|
60 | ],
|
61 | "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$",
|
62 | "moduleFileExtensions": [
|
63 | "ts",
|
64 | "tsx",
|
65 | "js",
|
66 | "json"
|
67 | ]
|
68 | }
|
69 | }
|