-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.13 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
{
"name": "nextjs-boilerplate-generator",
"displayName": "Next.js boilerplate code generator",
"description": "For new feature development boilerplate code in Next.js",
"version": "1.0.1",
"icon": "assets/logo.png",
"publisher": "sh031224",
"author": {
"name": "Sh031224",
"email": "1cktmdgh2@gmail.com"
},
"homepage": "https://github.com/Sh031224/vscode-nextjs-boilerplate-generator",
"galleryBanner": {
"color": "#ececec",
"theme": "light"
},
"repository": {
"type": "git",
"url": "https://github.com/Sh031224/vscode-nextjs-boilerplate-generator.git"
},
"bugs": {
"url": "https://github.com/Sh031224/vscode-nextjs-boilerplate-generator/issues",
"email": "1cktmdgh2@gmail.com"
},
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Snippets"
],
"keywords": [
"nextjs",
"next.js",
"boilerplate",
"snippet",
"snippets",
"react"
],
"activationEvents": [
"onCommand:extension.genNextjsBoilerplate"
],
"main": "./out/src/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Next.js new domain boilerplate code generator",
"properties": {
"NextjsBoilerplateGenerator.default.structure": {
"type": "array",
"default": [
"src/features/$domain/components",
"src/features/$domain/types",
"src/features/$domain/hooks",
"src/features/$domain/queries"
],
"description": "A list of folders to create, excluding pages, where $domin is the input domain name value."
},
"NextjsBoilerplateGenerator.default.monorepo": {
"type": "array",
"default": [],
"description": "Monorepo's directory name\nex) [\"packages\", \"apps\"]."
},
"NextjsBoilerplateGenerator.pages.dir": {
"type": "string",
"default": "src/pages/$dir",
"description": "The name of the default pages folder and files, $dir is the input pages name value."
},
"NextjsBoilerplateGenerator.pages.filename": {
"type": "string",
"default": "index",
"description": "The name of the pages files."
},
"NextjsBoilerplateGenerator.pages.extension": {
"type": "string",
"default": "tsx",
"enum": [
"tsx",
"js",
"jsx"
],
"description": "Extension of pages component"
}
}
},
"commands": [
{
"command": "extension.genNextjsBoilerplate",
"title": "New Domain"
}
]
},
"scripts": {
"build": "vsce package",
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/node": "^18.11.10",
"@types/vscode": "^1.25.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^7.6.0",
"typescript": "^4.9.3",
"vsce": "^2.14.0"
}
}