-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.37 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.37 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
{
"name": "vscode-sort-package-json",
"displayName": "Sort package.json",
"version": "0.0.0-development",
"description": "Sort package.json",
"categories": [
"Other"
],
"homepage": "https://github.com/unional/vscode-sort-package-json#readme",
"bugs": {
"url": "https://github.com/unional/vscode-sort-package-json/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/unional/vscode-sort-package-json.git"
},
"license": "MIT",
"publisher": "unional",
"type": "commonjs",
"main": "./out/main.js",
"scripts": {
"build": "tsc -p ./",
"build:watch": "tsc -p ./ --watch",
"esbuild": "pnpm esbuild-base --sourcemap",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild-watch": "pnpm esbuild-base --sourcemap --watch",
"lint": "eslint src --ext ts",
"package": "pnpm vsce package --no-dependencies",
"publish": "pnpm vsce publish --no-dependencies",
"pretest": "pnpm lint && pnpm build",
"test": "vitest run",
"test:old": "node ./out/test/runTest.js",
"verify": "pnpm lint && pnpm build && pnpm test",
"vscode:prepublish": "pnpm esbuild-base --minify",
"watch": "vitest"
},
"contributes": {
"commands": [
{
"command": "editor.sortPackageJson",
"title": "Sort package.json"
}
],
"menus": {
"commandPalette": [
{
"command": "editor.sortPackageJson",
"when": "resourceFilename == package.json"
}
]
}
},
"activationEvents": [
"onStartupFinished"
],
"dependencies": {
"read-pkg-up": "^7.0.1",
"resolve": "^1.22.0",
"sort-package-json": "^1.57.0"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.3",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/resolve": "1.20.2",
"@types/vscode": "^1.77.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^3.0.0",
"esbuild": "^0.25.6",
"eslint": "^8.36.0",
"glob": "^10.0.0",
"mocha": "^10.2.0",
"semantic-release-vsce": "^6.0.10",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
},
"packageManager": "pnpm@10.13.1",
"engines": {
"vscode": "^1.77.0"
},
"icon": "./resources/icons/icon.png",
"vsce": {
"dependencies": false
}
}