-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.79 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.79 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "mocha-ldjson",
"description": "Mocha reporter that streams to ldjson file",
"version": "2.2.1",
"author": "Eric Hacke",
"bugs": {
"url": "https://github.com/assertedio/mocha-ldjson/issues"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"boolean": "^3.0.1",
"cuid": "^2.1.8",
"debug": "^4.1.1",
"diff": "^4.0.2",
"err": "^2.1.11",
"fs-extra": "^9.0.1",
"lodash": "^4.17.15",
"luxon": "^1.24.1",
"mocha": "^8.0.1",
"strip-ansi": "^6.0.0"
},
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^9.0.1",
"@ehacke/commitlint-config": "^1.0.3",
"@ehacke/eslint-config": "^1.1.6",
"@ehacke/prettier-config": "^1.0.2",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/diff": "^4.0.2",
"@types/fs-extra": "^9.0.1",
"@types/lodash": "^4.14.157",
"@types/luxon": "^1.24.1",
"@types/mocha": "^7.0.2",
"@types/sinon": "^9.0.4",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"bluebird": "^3.7.2",
"chai": "^4.2.0",
"commitizen": "^4.1.2",
"commitlint": "^9.0.1",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^7.3.1",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-simple-import-sort": "^5.0.3",
"fixpack": "^3.0.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"prettier-eslint-cli": "^5.0.0",
"sinon": "^9.0.2",
"ts-node": "^8.10.2",
"typescript": "^3.9.5"
},
"files": [
"dist/**/*.{js,ts,tsbuildinfo}",
"docs/**/*.*"
],
"homepage": "https://github.com/assertedio/mocha-ldjson#readme",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"keywords": [
"ldjson",
"mocha",
"reporter"
],
"license": "MIT",
"lint-staged": {
"package.json": [
"fixpack"
],
"*.{js,ts}": [
"prettier-eslint --write",
"eslint --fix"
]
},
"main": "dist/src/index.js",
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"extension": [
".ts"
],
"include": [
"src/**/*.ts"
],
"exclude": [
"src/scratch.*"
],
"reporter": [
"html",
"text",
"text-summary",
"lcov"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/assertedio/mocha-ldjson.git"
},
"scripts": {
"beta": "npm version prerelease && npm publish --tag beta",
"build": "rm -rf ./dist && tsc -p tsconfig.build.json && sed -i 's/\"files\":/\"_files\":/' dist/package.json",
"commit": "git-cz",
"example": "npm run build && mocha tests/resources/examples/simple.js --bail=false --reporter dist/src/index.js; echo \"Done\"",
"lint": "fixpack && prettier-eslint --write && eslint --fix \"**/*.{js,ts}\"",
"major": "npm version major && npm publish",
"minor": "npm version minor && npm publish",
"patch": "npm version patch && npm publish",
"postpublish": "git push",
"prepare": "fixpack",
"prepublishOnly": "npm run build",
"preversion": "npm run lint && npm run test",
"test": "nyc mocha --recursive -r source-map-support/register -r ts-node/register -r tsconfig-paths/register --use_strict --exit \"tests/**/*.+(unit|it).+(ts|js)\"",
"timeout": "npm run build && mocha tests/resources/examples/reporter-timeout.js --bail=false --reporter dist/src/index.js --reporter-options overallTimeoutMs=1000; echo \\\"Done\\\"",
"unit": "nyc mocha --recursive -r source-map-support/register -r ts-node/register -r tsconfig-paths/register --use_strict --exit \"tests/**/*.unit.+(ts|js)\""
},
"types": "dist/src/index.d.js"
}