-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 2.45 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
{
"name": "log-driven-dev",
"version": "0.0.1",
"description": "Encourage useful logging",
"author": "Palo IT",
"license": "MIT",
"main": "dist/index",
"typings": "dist/index",
"repository": {
"type": "git",
"url": "git+https://github.com/Palo-IT-Australia/log-driven-dev.git"
},
"bugs": {
"url": "https://github.com/Palo-IT-Australia/log-driven-dev/issues"
},
"homepage": "https://github.com/Palo-IT-Australia/log-driven-dev",
"keywords": [
"TDD",
"logging"
],
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"@types/node": "^14.6.0",
"@types/sinon": "^10.0.2",
"@typescript-eslint/eslint-plugin": "5.27.0",
"@typescript-eslint/parser": "5.27.0",
"chai": "^4.3.4",
"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",
"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": "^11.1.2",
"sonarqube-scanner": "^2.8.1",
"ts-node": "10.8.0",
"ts-sinon": "2.0.2",
"typescript": "4.7.2"
},
"scripts": {
"clean": "rimraf dist",
"coverage": "nyc npm run test",
"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*\" --loglevel \"warn\"",
"format:fix": "prettier --write \"src/**/*.ts*\" --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: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",
"prepublish": "npm run build"
},
"pre-commit": [
"format:lint:fix",
"coverage",
"generate-schema",
"build"
],
"engines": {
"node": ">= 14.0.0",
"npm": ">= 6.0.0"
}
}