forked from Palo-IT-Australia/log-dd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 2.75 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
80
81
82
83
84
85
86
{
"name": "log-dd",
"version": "1.0.2",
"description": "Logging Driven Development library for JavaScript/TypeScript",
"author": "Palo IT",
"license": "MIT",
"main": "dist/index",
"typings": "dist/index",
"repository": {
"type": "git",
"url": "git+https://github.com/nalbion/log-dd.git"
},
"bugs": {
"url": "https://github.com/nalbion/log-dd/issues"
},
"homepage": "https://github.com/nalbion/log-dd",
"keywords": [
"TDD",
"logging"
],
"dependencies": {
"source-map-support": "^0.5.19"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@types/chai": "^4.2.21",
"@types/jest": "^28.1.0",
"@types/mocha": "^9.0.0",
"@types/node": "^14.6.0",
"@types/sinon": "^10.0.11",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "5.27.0",
"@typescript-eslint/parser": "5.27.0",
"chai": "^4.3.4",
"dotenv": "^10.0.0",
"eslint": "^8.15.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.0",
"js-yaml": "^4.1.0",
"mocha": "^9.0.3",
"mocha-reporter-sonarqube": "^1.0.3",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"sinon": "^14.0.0",
"sonarqube-scanner": "^2.8.1",
"ts-jest": "^28.0.4",
"ts-node": "10.8.0",
"typescript": "4.7.2"
},
"scripts": {
"clean": "rimraf dist",
"coverage": "nyc npm run test",
"coverage:jest": "nyc npm run test:jest",
"coverage:ci": "nyc npm run test:ci",
"sonarqube": "node -r dotenv/config ./ci/scripts/sonarqube.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --check \"src/**/*.{ts,tsx}\" --loglevel \"warn\"",
"format:fix": "prettier --write \"src/**/*.{ts,tsx}\" --loglevel \"warn\"",
"format:lint:fix": "npm run format:fix && npm run lint:fix",
"test": "mocha -r ts-node/register --recursive \"./src/**/*.spec.ts\" --exit",
"test:jest": "jest",
"test:jest:tdd": "jest --watch",
"test:verbose": "mocha -r ts-node/register --recursive \"./src/**/*.spec.ts\" --exit",
"test:tdd": "mocha -r ts-node/register --watch --watch-files \"./src/**/*.ts\" --recursive \"./src/**/*.spec.ts\" ",
"test:ci": "mocha -r ts-node/register --require mocha-suppress-logs -R mocha-reporter-sonarqube -O filename=test-report.xml --recursive \"./src/**/*.spec.ts\" --exit",
"build": "tsc -p tsconfig.build.json",
"prepublish": "npm run build"
},
"pre-commit": [
"format:lint:fix",
"coverage",
"generate-schema",
"build"
],
"engines": {
"node": ">= 14.0.0",
"npm": ">= 6.0.0"
}
}