-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
97 lines (97 loc) · 3 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
{
"name": "nextjs",
"displayName": "Prisma NextJS",
"icon": "images/icon.png",
"repository": "https://github.com/prisma-labs/vscode-next",
"description": "Automagicly add types to **nextjs** page functions i.e `getStaticSideProps`, `getServerSideProps` the returned types can not be automatically inferred and passed to the page. This extension also enables type safety in js code by leveraging JSDOCs",
"version": "0.0.8",
"publisher": "WillLuke",
"engines": {
"vscode": "^1.51.0"
},
"license": "MIT",
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.prisma",
"onCommand:WillLuke.nextjs.addTypes"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "WillLuke.nextjs.addTypes",
"title": "Add Types to a NextJS Page",
"category": "Prisma NextJS"
}
],
"configuration": {
"type": "object",
"title": "Prisma NextJS",
"properties": {
"WillLuke.nextjs.root": {
"scope": "resource",
"type": "string",
"description": "Option to set the path to a nextjs project"
},
"WillLuke.nextjs.hasPrompted": {
"scope": "resource",
"type": "boolean",
"description": "Hides Autotypes Prompt if it has been shown"
},
"WillLuke.nextjs.addTypesOnSave": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Automatically add NextJS page types on save"
},
"WillLuke.debug": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Debug the Extension"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack --devtool nosources-source-map --config ./build/node-extension.webpack.config.js",
"watch": "webpack --watch --devtool nosources-source-map --info-verbosity verbose --config ./build/node-extension.webpack.config.js",
"package": "webpack --mode production --config ./build/node-extension.webpack.config.js",
"pkg": "vsce package",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "yarn run test-compile",
"test": "jest"
},
"dependencies": {
"debug": "^4.2.0",
"ts-morph": "8.1.2"
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/dedent": "0.7.0",
"@types/glob": "^7.1.3",
"@types/jest": "26.0.15",
"@types/node": "^12.19.4",
"@types/vscode": "^1.51.0",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"dedent": "0.7.0",
"eslint": "^7.13.0",
"fs-jetpack": "4.0.1",
"glob": "^7.1.6",
"jest": "26.6.3",
"jest-snapshot-serializer-raw": "1.1.0",
"tempy": "1.0.0",
"ts-jest": "26.4.4",
"ts-loader": "^8.0.11",
"typescript": "^4.0.5",
"vsce": "^1.81.1",
"vscode-test": "^1.4.1",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12"
}
}