-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
118 lines (118 loc) · 2.92 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
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
{
"name": "typescript-docs-verifier",
"description": "Verifies that typescript examples in markdown files actually compile.",
"keywords": [
"block",
"blocks",
"build",
"check",
"code",
"compilation",
"compile",
"doc",
"docs",
"documentation",
"markdown",
"md",
"ts",
"typescript",
"verify"
],
"version": "2.5.3",
"main": "dist/index.js",
"@types": "dist/index.d.ts",
"bin": {
"typescript-docs-verifier": "dist/bin/compile-typescript-docs.js"
},
"license": "Apache-2.0",
"author": "BBC",
"repository": {
"type": "git",
"url": "git+https://github.com/bbc/typescript-docs-verifier.git"
},
"bugs": {
"url": "https://github.com/bbc/typescript-docs-verifier/issues"
},
"homepage": "https://github.com/bbc/typescript-docs-verifier#readme",
"engines": {
"node": ">=12"
},
"scripts": {
"format": "prettier --write '**/*.ts' '**/*.json'",
"pretest": "npm run-script build",
"test": "npm-run-all -p -c format unittest lint",
"posttest": "npm-run-all compile-docs",
"unittest": "nyc mocha --timeout 20000 -r ts-node/register --recursive test/TestConfiguration.ts 'test/*Spec.ts' 'test/**/*Spec.ts'",
"lint": "eslint '**/*.ts'",
"build": "rm -rf dist && tsc",
"compile-docs": "node ./dist/bin/compile-typescript-docs.js",
"prepublishOnly": "npm-run-all -s build compile-docs"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^8.0.1",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^16.11.59",
"@types/react": "^18.2.12",
"@types/yargs": "^17.0.12",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-functional": "^6.6.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^7.2.1",
"mocha": "^11.1.0",
"npm-run-all2": "^7.0.2",
"nyc": "^17.1.0",
"prettier": "^3.5.1",
"react": "^18.2.0",
"typescript": "^4.7.3",
"verify-it": "^2.3.3"
},
"dependencies": {
"chalk": "^4.1.2",
"fs-extra": "^10.0.0",
"ora": "^5.4.1",
"strip-ansi": "^7.0.1",
"ts-node": "^10.8.1",
"tsconfig": "^7.0.0",
"yargs": "^17.5.1"
},
"peerDependencies": {
"typescript": ">3.8.3"
},
"files": [
"dist/index.js",
"dist/index.d.ts",
"dist/index.js.map",
"dist/bin",
"dist/src"
],
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"check-coverage": true,
"all": true,
"include": [
"**/*.ts"
],
"exclude": [
"bin",
"dist",
"test"
],
"reporter": [
"html",
"text",
"text-summary"
],
"report-dir": "test/coverage"
},
"prettier": {
"trailingComma": "es5"
}
}