-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
121 lines (121 loc) · 2.98 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
119
120
121
{
"name": "generate-index",
"displayName": "Generate Index",
"version": "1.7.1",
"description": "Generating file indexes easily.",
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/fjc0k/vscode-generate-index"
},
"license": "MIT",
"publisher": "JayFong",
"main": "./out/extension.js",
"bin": {
"vgis": "./out/cli.js",
"vscode-generate-index-standalone": "./out/cli.js"
},
"files": [
"out"
],
"scripts": {
"bundle": "rimraf dist && ts-node -T ./scripts/bundle.ts && ts-node -T ./scripts/make-vscode-package.ts && ts-node -T ./scripts/make-npm-package.ts",
"release": "standard-version -a && git push --follow-tags origin master && npm run bundle && npm run publish-vscode && npm run publish-npm",
"watch": "rimraf out && tsc -watch -p tsconfig.build.json",
"test": "jest",
"publish-vscode": "cd packages/vscode && vsce publish",
"publish-npm": "cd packages/npm && npm publish",
"preinstall": "npx only-allow yarn",
"postinstall": "patch-package && node ./node_modules/vscode/bin/install"
},
"contributes": {
"commands": [
{
"command": "extension.generateIndex",
"title": "Generate Index"
}
],
"keybindings": [
{
"command": "extension.generateIndex",
"key": "ctrl+k i",
"mac": "cmd+k i",
"when": "editorFocus"
}
],
"snippets": [
{
"path": "./snippets/markers.code-snippets"
}
]
},
"activationEvents": [
"onCommand:extension.generateIndex"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,less,scss,sass,html,htm,vue,yml,yaml,json,md}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.test.ts",
"!src/**/__*__/**/*"
],
"globals": {
"ts-jest": {
"packageJson": "./package.json"
}
},
"preset": "ts-jest"
},
"dependencies": {
"change-case": "^3.1.0",
"chokidar": "^3.3.1",
"exit-hook": "^2.2.1",
"fs-extra": "^9.0.0",
"globby": "^11.0.4",
"vtils": "^2.7.1",
"yargs": "^15.3.1"
},
"devDependencies": {
"@types/fs-extra": "^8.1.0",
"@types/jest": "^25.2.1",
"@types/node": "^10.17.19",
"eslint": "^6",
"execa": "^5.1.1",
"haoma": "^1.8.0",
"husky": "^4",
"jest": "^25.3.0",
"lint-staged": "^10",
"microbundle": "^0.13.3",
"only-allow": "^1.0.0",
"patch-package": "^6.4.7",
"prettier": "^2",
"rollup-plugin-typescript2": "^0.27.0",
"standard-version": "^6.0.1",
"tempy": "^0.5.0",
"ts-jest": "^25.3.1",
"ts-node": "^8.8.2",
"typescript": "^3",
"typescript-snapshots-plugin": "^1.7.0",
"vscode": "^1.1.28"
},
"engines": {
"vscode": "^1.14.0"
},
"icon": "assets/logo.png",
"packageName": "vscode-generate-index-standalone"
}