-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.07 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
{
"name": "vscode-snippets",
"displayName": "Snippets for Next.js, React in TypeScript",
"version": "2.1.0",
"private": true,
"description": "Snippets for the development with Next.js, React in a TypeScript environment.",
"categories": [
"Snippets"
],
"keywords": [
"next.js",
"javascript",
"react",
"snippets",
"typescript"
],
"homepage": "https://github.com/mheob/vscode-snippets#readme",
"bugs": {
"url": "https://github.com/mheob/vscode-snippets/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/mheob/vscode-snippets.git"
},
"license": "MIT",
"publisher": "mheob",
"scripts": {
"build": "pnpm clean && ts-node scripts/generateSnippetFiles.ts",
"clean": "rimraf snippets",
"deploy": "pnpm exec vsce package --no-dependencies",
"format": "prettier --write **/*.{ts,json,md,yml} --ignore-path .gitignore",
"lint": "eslint . --ext .ts",
"prepare": "husky install",
"vscode:prepublish": "pnpm build"
},
"contributes": {
"snippets": [
{
"language": "markdown",
"path": "snippets/markdown.json"
},
{
"language": "javascript",
"path": "snippets/javascript.json"
},
{
"language": "javascriptreact",
"path": "snippets/javascriptreact.json"
},
{
"language": "typescript",
"path": "snippets/typescript.json"
},
{
"language": "typescriptreact",
"path": "snippets/typescriptreact.json"
}
]
},
"lint-staged": {
"**/*.{ts,json,md,yml}": "pnpm format",
"**/*.ts": "eslint --fix",
"package.json": "pnpm dlx sort-package-json"
},
"devDependencies": {
"@mheob/eslint-config": "^5.2.0",
"@mheob/prettier-config": "^3.2.0",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@vscode/vsce": "^2.23.0",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"engines": {
"vscode": "^1.86.1"
},
"icon": "images/logo.png",
"sponsor": {
"url": "https://github.com/sponsors/mheob"
}
}