-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
111 lines (111 loc) · 3.1 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
{
"name": "build-runner",
"displayName": "Build Runner",
"description": "Easily run build_runner commands!",
"publisher": "gaetschwartz",
"version": "0.8.0",
"engines": {
"vscode": "^1.63.0"
},
"repository": {
"type": "git",
"url": "https://github.com/gaetschwartz/build-runner.git"
},
"keywords": [
"build_runner",
"freezed",
"dart",
"flutter",
"build"
],
"icon": "assets/builder.png",
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/pubspec.yaml"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "build-runner.build",
"title": "Build Runner: Build"
}
],
"configuration": {
"title": "Build Runner",
"properties": {
"build-runner.commandToUse": {
"type": "string",
"enum": [
"flutter",
"dart"
],
"default": "flutter",
"markdownDescription": "Choose which command to use to run `build_runner` commands."
},
"build-runner.flutterPath": {
"type": [
"null",
"string"
],
"markdownDescription": "The path to Flutter's executable. Make sure to set this on Linux if you installed Flutter using snap. On Linux, `echo \"$(flutter sdk-path)/bin/flutter\"` returns the path you should set.",
"scope": "machine-overridable"
},
"build-runner.useDeleteConflictingOutputs.build": {
"type": "boolean",
"default": true,
"markdownDescription": "Use `--delete-conflicting-outputs` for the `build_runner build` command."
},
"build-runner.useDeleteConflictingOutputs.watch": {
"type": "boolean",
"default": true,
"markdownDescription": "Use `--delete-conflicting-outputs` for the `build_runner watch` command."
},
"build-runner.inferCommandToUse": {
"type": "boolean",
"default": true,
"markdownDescription": "Infer whether to use `flutter` or `dart` based on the content of your project's `pubspec.yaml` file."
}
}
},
"keybindings": [
{
"command": "build-runner.build",
"key": "Ctrl+Shift+B",
"mac": "Cmd+Shift+B"
},
{
"command": "build-runner.build_filters",
"key": "Ctrl+Alt+B",
"mac": "Cmd+Alt+B"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.10",
"@types/vscode": "^1.63.1",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@vscode/test-electron": "^2.1.0",
"eslint": "^8.7.0",
"glob": "^7.2.0",
"@types/js-yaml": "^4.0.5",
"mocha": "^9.1.4",
"typescript": "^4.5.4"
},
"dependencies": {
"js-yaml": "^4.1.0"
}
}