1 | {
|
2 | "name": "azurite",
|
3 | "displayName": "Azurite",
|
4 | "description": "An open source Azure Storage API compatible server",
|
5 | "icon": "icon.png",
|
6 | "version": "3.8.0",
|
7 | "publisher": "Azurite",
|
8 | "categories": [
|
9 | "Other"
|
10 | ],
|
11 | "main": "./dist/src/main.js",
|
12 | "bin": {
|
13 | "azurite": "./dist/src/azurite.js",
|
14 | "azurite-blob": "./dist/src/blob/main.js",
|
15 | "azurite-queue": "./dist/src/queue/main.js"
|
16 | },
|
17 | "engines": {
|
18 | "node": ">=8.0.0",
|
19 | "vscode": "^1.39.0"
|
20 | },
|
21 | "dependencies": {
|
22 | "@azure/ms-rest-js": "^1.5.0",
|
23 | "args": "^5.0.1",
|
24 | "etag": "^1.8.1",
|
25 | "express": "^4.16.4",
|
26 | "jsonwebtoken": "^8.5.1",
|
27 | "lokijs": "^1.5.6",
|
28 | "morgan": "^1.9.1",
|
29 | "multistream": "^2.1.1",
|
30 | "mysql2": "^2.1.0",
|
31 | "rimraf": "^2.6.3",
|
32 | "sequelize": "^5.18.4",
|
33 | "tedious": "^6.6.5",
|
34 | "tslib": "^1.9.3",
|
35 | "uri-templates": "^0.2.0",
|
36 | "uuid": "^3.3.2",
|
37 | "winston": "^3.1.0",
|
38 | "xml2js": "^0.4.19"
|
39 | },
|
40 | "devDependencies": {
|
41 | "@azure/storage-blob": "^10.4.1",
|
42 | "@azure/storage-queue": "^10.2.0",
|
43 | "@types/args": "^3.0.0",
|
44 | "@types/async": "^3.0.1",
|
45 | "@types/bluebird": "^3.5.27",
|
46 | "@types/etag": "^1.8.0",
|
47 | "@types/express": "^4.16.0",
|
48 | "@types/jsonwebtoken": "^8.3.9",
|
49 | "@types/lokijs": "^1.5.2",
|
50 | "@types/mocha": "^5.2.6",
|
51 | "@types/morgan": "^1.7.35",
|
52 | "@types/multistream": "^2.1.1",
|
53 | "@types/node": "^13.1.0",
|
54 | "@types/rimraf": "^2.0.2",
|
55 | "@types/uri-templates": "^0.1.29",
|
56 | "@types/uuid": "^3.4.4",
|
57 | "@types/validator": "^10.11.3",
|
58 | "@types/vscode": "^1.39.0",
|
59 | "@types/xml2js": "^0.4.3",
|
60 | "autorest": "^2.0.4283",
|
61 | "cross-env": "^6.0.3",
|
62 | "cross-var": "^1.1.0",
|
63 | "husky": "^1.3.1",
|
64 | "lint-staged": "^8.1.5",
|
65 | "mocha": "^5.2.0",
|
66 | "prettier": "^1.16.4",
|
67 | "prettier-tslint": "^0.4.2",
|
68 | "ts-node": "^7.0.1",
|
69 | "tslint": "^5.16.0",
|
70 | "typescript": "^3.1.4",
|
71 | "vsce": "^1.64.0"
|
72 | },
|
73 | "activationEvents": [
|
74 | "*",
|
75 | "onCommand:azurite.start",
|
76 | "onCommand:azurite.close",
|
77 | "onCommand:azurite.clean",
|
78 | "onCommand:azurite.start_blob",
|
79 | "onCommand:azurite.close_blob",
|
80 | "onCommand:azurite.clean_blob",
|
81 | "onCommand:azurite.start_queue",
|
82 | "onCommand:azurite.close_queue",
|
83 | "onCommand:azurite.clean_queue"
|
84 | ],
|
85 | "contributes": {
|
86 | "commands": [
|
87 | {
|
88 | "command": "azurite.start",
|
89 | "title": "Start",
|
90 | "category": "Azurite"
|
91 | },
|
92 | {
|
93 | "command": "azurite.close",
|
94 | "title": "Close",
|
95 | "category": "Azurite"
|
96 | },
|
97 | {
|
98 | "command": "azurite.clean",
|
99 | "title": "Clean",
|
100 | "category": "Azurite"
|
101 | },
|
102 | {
|
103 | "command": "azurite.start_blob",
|
104 | "title": "Start Blob Service",
|
105 | "category": "Azurite"
|
106 | },
|
107 | {
|
108 | "command": "azurite.close_blob",
|
109 | "title": "Close Blob Service",
|
110 | "category": "Azurite"
|
111 | },
|
112 | {
|
113 | "command": "azurite.clean_blob",
|
114 | "title": "Clean Blob Service",
|
115 | "category": "Azurite"
|
116 | },
|
117 | {
|
118 | "command": "azurite.start_queue",
|
119 | "title": "Start Queue Service",
|
120 | "category": "Azurite"
|
121 | },
|
122 | {
|
123 | "command": "azurite.close_queue",
|
124 | "title": "Close Queue Service",
|
125 | "category": "Azurite"
|
126 | },
|
127 | {
|
128 | "command": "azurite.clean_queue",
|
129 | "title": "Clean Queue Service",
|
130 | "category": "Azurite"
|
131 | }
|
132 | ],
|
133 | "configuration": [
|
134 | {
|
135 | "title": "Azurite",
|
136 | "properties": {
|
137 | "azurite.debug": {
|
138 | "type": "boolean",
|
139 | "default": false,
|
140 | "description": "Enable debug log into Visual Studio Code channel"
|
141 | },
|
142 | "azurite.silent": {
|
143 | "type": "boolean",
|
144 | "default": false,
|
145 | "description": "Disable access log into Visual Studio Code channel"
|
146 | },
|
147 | "azurite.loose": {
|
148 | "type": "boolean",
|
149 | "default": false,
|
150 | "description": "Enable loose mode which ignores unsupported headers and parameters"
|
151 | },
|
152 | "azurite.cert": {
|
153 | "type": "string",
|
154 | "default": "",
|
155 | "description": "Path to a locally-trusted pem or pfx certificate file path to enable HTTPS mode"
|
156 | },
|
157 | "azurite.key": {
|
158 | "type": "string",
|
159 | "default": "",
|
160 | "description": "Path to a locally-trusted pem key file, required when cert points to a pem file"
|
161 | },
|
162 | "azurite.pwd": {
|
163 | "type": "string",
|
164 | "default": "",
|
165 | "description": "Password for pfx file, required when cert points to a pfx file"
|
166 | },
|
167 | "azurite.oauth": {
|
168 | "type": "string",
|
169 | "default": "",
|
170 | "description": "Optional. OAuth level. Candidate values: \"basic\""
|
171 | },
|
172 | "azurite.location": {
|
173 | "type": "string",
|
174 | "description": "Workspace location folder path, by default Visual Studio Code current opened folder"
|
175 | },
|
176 | "azurite.blobHost": {
|
177 | "type": "string",
|
178 | "default": "127.0.0.1",
|
179 | "description": "Blob service listening endpoint, by default 127.0.0.1"
|
180 | },
|
181 | "azurite.blobPort": {
|
182 | "type": "number",
|
183 | "default": 10000,
|
184 | "description": "Blob service listening port, by default 10000"
|
185 | },
|
186 | "azurite.queueHost": {
|
187 | "type": "string",
|
188 | "default": "127.0.0.1",
|
189 | "description": "Queue service listening endpoint, by default 127.0.0.1"
|
190 | },
|
191 | "azurite.queuePort": {
|
192 | "type": "number",
|
193 | "default": 10001,
|
194 | "description": "Queue service listening port, by default 10001"
|
195 | },
|
196 | "azurite.skipApiVersionCheck": {
|
197 | "type": "boolean",
|
198 | "default": false,
|
199 | "description": "Skip the request API version check, request with all Api versions will be allowed."
|
200 | }
|
201 | }
|
202 | }
|
203 | ]
|
204 | },
|
205 | "scripts": {
|
206 | "vscode:prepublish": "npm run build",
|
207 | "vscode:publish": "vsce publish",
|
208 | "vscode:pack": "vsce package",
|
209 | "docker:prebuild": "echo skip",
|
210 | "docker:build": "npm run docker:prebuild && cross-var docker build --no-cache --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",
|
211 | "docker:build:internal": "npm run docker:prebuild && cross-var docker build --no-cache --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",
|
212 | "docker:publish": "cross-var docker push xstoreazurite.azurecr.io/public/azure-storage/azurite:$npm_package_version",
|
213 | "docker:publish:internal": "cross-var docker push xstoreazurite.azurecr.io/internal/azure-storage/azurite:$npm_package_version",
|
214 | "build": "tsc",
|
215 | "build:autorest:debug": "autorest ./swagger/blob.md --typescript --typescript.debugger --use=E:/GitHub/XiaoningLiu/autorest.typescript.server",
|
216 | "build:autorest:blob": "autorest ./swagger/blob.md --typescript --use=S:/GitHub/XiaoningLiu/autorest.typescript.server",
|
217 | "build:autorest:queue": "autorest ./swagger/queue.md --typescript --use=S:/GitHub/XiaoningLiu/autorest.typescript.server",
|
218 | "watch": "tsc -watch -p ./",
|
219 | "blob": "node -r ts-node/register src/blob/main.ts",
|
220 | "queue": "node -r ts-node/register src/queue/main.ts",
|
221 | "azurite": "node -r ts-node/register src/azurite.ts",
|
222 | "lint": "tslint -p tsconfig.json -c tslint.json src/**/*.ts",
|
223 | "test": "npm run lint && cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --compilers ts-node/register --no-timeouts --grep @loki --recursive tests/**/*.test.ts tests/**/**/*.test.ts",
|
224 | "test:blob": "npm run lint && cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --compilers ts-node/register --no-timeouts --grep @loki --recursive tests/blob/*.test.ts tests/blob/**/*.test.ts",
|
225 | "test:blob:sql": "npm run lint && cross-env cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 AZURITE_TEST_DB=mysql://root:my-secret-pw@127.0.0.1:3306/azurite_blob_test mocha --compilers ts-node/register --no-timeouts --grep @sql --recursive tests/blob/*.test.ts tests/blob/**/*.test.ts",
|
226 | "test:blob:sql:ci": "npm run lint && cross-env cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 AZURITE_TEST_DB=mysql://root:my-secret-pw@127.0.0.1:13306/azurite_blob_test mocha --compilers ts-node/register --no-timeouts --grep @sql --recursive tests/blob/*.test.ts tests/blob/**/*.test.ts",
|
227 | "test:queue": "npm run lint && cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --compilers ts-node/register --no-timeouts --recursive tests/queue/*.test.ts tests/queue/**/*.test.ts",
|
228 | "clean": "rimraf dist typings *.log coverage __testspersistence__ temp __testsstorage__ .nyc_output debug.log *.vsix *.tgz",
|
229 | "clean:deep": "npm run clean && rimraf debug.log __*",
|
230 | "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 && azurite-queue -v",
|
231 | "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 && azurite-queue -v",
|
232 | "db:migrate:blob:metadata": "sequelize db:migrate --config migrations/blob/metadata/config/config.json --migrations-path migrations/blob/metadata/migrations",
|
233 | "db:create:blob:metadata": "sequelize db:create --config migrations/blob/metadata/config/config.json --migrations-path migrations/blob/metadata/migrations"
|
234 | },
|
235 | "husky": {
|
236 | "hooks": {
|
237 | "pre-commit": "lint-staged"
|
238 | }
|
239 | },
|
240 | "repository": {
|
241 | "type": "git",
|
242 | "url": "https://github.com/azure/azurite.git"
|
243 | },
|
244 | "keywords": [
|
245 | "Azurite",
|
246 | "Azure",
|
247 | "Storage",
|
248 | "Blob",
|
249 | "Queue",
|
250 | "Emulator",
|
251 | "Microsoft"
|
252 | ],
|
253 | "author": "Microsoft",
|
254 | "license": "MIT",
|
255 | "bugs": {
|
256 | "url": "https://github.com/azure/azurite/issues"
|
257 | },
|
258 | "homepage": "https://github.com/azure/azurite#readme"
|
259 | }
|