forked from Azure/Azurite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
183 lines (183 loc) · 6.22 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
{
"name": "azurite",
"displayName": "Azurite",
"description": "An open source Azure Storage API compatible server",
"icon": "icon.png",
"version": "3.1.2-preview",
"preview": true,
"publisher": "Azurite",
"categories": [
"Other"
],
"main": "./dist/src/main.js",
"bin": {
"azurite": "./dist/src/blob/main.js",
"azurite-blob": "./dist/src/blob/main.js"
},
"engines": {
"node": ">=8.0.0",
"vscode": "^1.30.0"
},
"dependencies": {
"@azure/ms-rest-js": "^1.5.0",
"args": "^5.0.1",
"etag": "^1.8.1",
"express": "^4.16.4",
"lokijs": "^1.5.6",
"morgan": "^1.9.1",
"multistream": "^2.1.1",
"rimraf": "^2.6.3",
"tslib": "^1.9.3",
"uri-templates": "^0.2.0",
"uuid": "^3.3.2",
"winston": "^3.1.0",
"xml2js": "^0.4.19"
},
"devDependencies": {
"@azure/storage-blob": "^10.3.0",
"@types/args": "^3.0.0",
"@types/etag": "^1.8.0",
"@types/express": "^4.16.0",
"@types/lokijs": "^1.5.2",
"@types/mocha": "^5.2.6",
"@types/morgan": "^1.7.35",
"@types/multistream": "^2.1.1",
"@types/node": "^11.13.0",
"@types/rimraf": "^2.0.2",
"@types/uri-templates": "^0.1.29",
"@types/uuid": "^3.4.4",
"@types/xml2js": "^0.4.3",
"autorest": "^2.0.4283",
"cross-var": "^1.1.0",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"mocha": "^5.2.0",
"prettier": "^1.16.4",
"ts-node": "^7.0.1",
"tslint": "^5.16.0",
"typescript": "^3.1.4",
"vsce": "^1.64.0",
"vscode": "^1.1.34"
},
"activationEvents": [
"*",
"onCommand:azurite.start",
"onCommand:azurite.close",
"onCommand:azurite.clean",
"onCommand:azurite.start_blob",
"onCommand:azurite.close_blob",
"onCommand:azurite.clean_blob"
],
"contributes": {
"commands": [
{
"command": "azurite.start",
"title": "Start",
"category": "Azurite"
},
{
"command": "azurite.close",
"title": "Close",
"category": "Azurite"
},
{
"command": "azurite.clean",
"title": "Clean",
"category": "Azurite"
},
{
"command": "azurite.start_blob",
"title": "Start Blob Service",
"category": "Azurite"
},
{
"command": "azurite.close_blob",
"title": "Close Blob Service",
"category": "Azurite"
},
{
"command": "azurite.clean_blob",
"title": "Clean Blob Service",
"category": "Azurite"
}
],
"configuration": [
{
"title": "Azurite",
"properties": {
"azurite.debug": {
"type": "boolean",
"default": false,
"description": "Enable debug log into Visual Studio Code channel"
},
"azurite.silent": {
"type": "boolean",
"default": false,
"description": "Disable access log into Visual Studio Code channel"
},
"azurite.location": {
"type": "string",
"description": "Workspace location folder path, by default Visual Studio Code current opened folder"
},
"azurite.blobHost": {
"type": "string",
"default": "127.0.0.1",
"description": "Blob service listening endpoint, by default 127.0.0.1"
},
"azurite.blobPort": {
"type": "number",
"default": 10000,
"description": "Blob service listening port, by default 10000"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"vscode:publish": "vsce publish",
"vscode:pack": "vsce package",
"prepare": "node ./node_modules/vscode/bin/install",
"docker:prebuild": "echo skip",
"docker:build": "npm run docker:prebuild && cross-var docker build --rm -f \"Dockerfile\" -t xstoreazurite.azurecr.io/public/azure-storage/azurite:$npm_package_version . && cross-var docker tag xstoreazurite.azurecr.io/public/azure-storage/azurite:$npm_package_version xstoreazurite.azurecr.io/public/azure-storage/azurite:latest",
"docker:build:internal": "npm run docker:prebuild && cross-var docker build --rm -f \"Dockerfile\" -t xstoreazurite.azurecr.io/internal/azure-storage/azurite:$npm_package_version . && cross-var docker tag xstoreazurite.azurecr.io/internal/azure-storage/azurite:$npm_package_version xstoreazurite.azurecr.io/internal/azure-storage/azurite:latest",
"docker:publish": "cross-var docker push xstoreazurite.azurecr.io/public/azure-storage/azurite:$npm_package_version",
"docker:publish:internal": "cross-var docker push xstoreazurite.azurecr.io/internal/azure-storage/azurite:$npm_package_version",
"prepack": "npm run build",
"build": "tsc",
"build:autorest": "autorest ./swagger/blob.md --typescript --use=E:/GitHub/XiaoningLiu/autorest.typescript.server",
"build:autorestdebug": "autorest ./swagger/blob.md --typescript --typescript.debugger --use=E:/GitHub/XiaoningLiu/autorest.typescript.server",
"watch": "tsc -watch -p ./",
"blob": "node -r ts-node/register src/blob/main.ts",
"lint": "tslint -p tsconfig.json -c tslint.json src/**/*.ts",
"test": "npm run lint && mocha --compilers ts-node/register --no-timeouts --recursive tests/**/*.test.ts tests/**/**/*.test.ts",
"clean": "rimraf dist typings *.log coverage __testspersistence__ temp __testsstorage__ .nyc_output debug.log *.vsix",
"clean:deep": "npm run clean && rimraf __blobstorage__ __azurite_db_blob__.json debug.log",
"validate:npmpack:win": "npm install && npm run build && npm pack && cross-var npm install -g azurite-$npm_package_version.tgz && azurite -v && azurite-blob -v",
"validate:npmpack:linux_mac": "npm install && npm run build && npm pack && cross-var sudo npm install -g azurite-$npm_package_version.tgz && azurite -v && azurite-blob -v"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/azure/azurite.git"
},
"keywords": [
"Azurite",
"Azure",
"Storage",
"Blob",
"Queue",
"Emulator",
"Microsoft"
],
"author": "Microsoft",
"license": "MIT",
"bugs": {
"url": "https://github.com/azure/azurite/issues"
},
"homepage": "https://github.com/azure/azurite#readme"
}