-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 5.65 KB
/
Copy pathpackage.json
File metadata and controls
145 lines (145 loc) · 5.65 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "jsdoc-view",
"displayName": "JSDoc Viewer",
"description": "Generate and View jsdoc documentation within VSCode",
"version": "0.0.5",
"author": {
"url": "http://www.shinworks.co",
"email": "shin@shinworks.co",
"name": "Shin"
},
"publisher": "shinworks",
"galleryBanner": {
"color": "#ddd",
"theme": "light"
},
"icon": "assets/Shinworks128.png",
"preview": true,
"license": "SEE LICENSE IN LICENSE.txt",
"engines": {
"vscode": "^1.26.0"
},
"keywords": [
"jsdoc",
"vscode extensions"
],
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/Shizen/jsdoc-view"
},
"activationEvents": [
"onCommand:jsdocView.start",
"onCommand:jsdocView.generate",
"onLanguage:javascript"
],
"main": "./extension",
"contributes": {
"configuration": {
"type": "object",
"title": "jsdocView Configuration",
"properties": {
"jsdocView.buildScript": {
"type": "string",
"default": "build-docs",
"description": "The desired npm script to run to generate the jsDocs for this project."
},
"jsdocView.docDir": {
"type": "string",
"default": "docs/",
"description": "The project relative directory into which the specified jsdoc script will generate the docs."
},
"jsdocView.preprocessOptions.replaceCSP": {
"type": "boolean",
"default": true,
"description": "Set to true if you want the jsdocView preprocessor to replace displayed html file's CSP with the default CSP which jsdocView thinks will work in Visual Code."
},
"jsdocView.preprocessOptions.useCSPolicy": {
"type": "string",
"default": "default-src vscode-resource: https: http: data:; img-src vscode-resource: https: data: http:; script-src 'unsafe-inline' 'unsafe-eval' vscode-resource: http:; style-src 'unsafe-inline' vscode-resource: https: http:;",
"description": "The content security policy to use for jsdocs viewed within vscode"
},
"jsdocView.preprocessOptions.fixAttributePaths2": {
"type": "object",
"default": {
"a": {
"attrs": [
"href"
],
"ifHasClass": [
"dropdown-toggle"
]
},
"stylesheet": {
"selector": "[rel=stylesheet]",
"tag": "link",
"attrs": [
"href"
]
},
"script": {
"attrs": [
"src"
]
},
"img": {
"attrs": [
"src"
]
}
},
"description": "Specify custom tag and attribute handling for path fixups. By tag, specify attributes (array), ifHasClass (array), and exceptHasClass(array). Defaults to all unless ifHasClass is specified, then only those with that class are allowed. `exceptHasClass` removes candidates from this list"
}
}
},
"commands": [
{
"command": "jsdocView.generate",
"title": "(Re)Generate jsdocs for this project",
"category": "Shinism"
},
{
"command": "jsdocView.start",
"title": "Display jsdocs",
"category": "Shinism"
},
{
"command": "editor.jsdocView",
"title": "Display jsDocs",
"category": "Shinism"
}
],
"menus": {
"editor/context": [
{
"command": "editor.jsdocView",
"when": "editorLangId == javascript"
}
]
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"build-docs": "./node_modules/.bin/jsdoc -a 'public' -c ./.jsdoc.json -d docs/ -R README.md -r .",
"internal-docs": "./node_modules/.bin/jsdoc -a 'all' -c ./.jsdoc.json -d internaldocs/ -R README.md -r .",
"debug-docs": "node --inspect-brk ./node_modules/jsdoc/jsdoc.js -a 'public' -c ./.jsdoc.json -d docs/ -R README.md -r .",
"debug-dev-docs": "node --inspect-brk ./node_modules/jsdoc/jsdoc.js -a 'all' -c ./.jsdoc.json -d docs/ -R README.md -r ."
},
"devDependencies": {
"@shizen/jsdoc-shinmark": "git+ssh://git@34.214.193.247/srv/git/jsdoc-shinmark.git",
"@shizen/jsdoc-tags": "git+ssh://git@34.214.193.247/srv/git/jsdoc-tags.git",
"@shizen/shinstrap": "git+ssh://git@34.214.193.247/srv/git/shinstrap.git",
"@types/mocha": "^2.2.42",
"@types/node": "^7.10.0",
"eslint": "^4.11.0",
"jsdoc": "^3.5.5",
"typescript": "^2.6.1",
"vscode": "^1.1.21"
},
"dependencies": {
"cheerio": "^1.0.0-rc.2"
}
}