-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
122 lines (122 loc) · 4.08 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
{
"name": "@tweedegolf/storage-abstraction",
"version": "2.1.5",
"description": "Provides an abstraction layer for interacting with a storage; the storage can be local or in the cloud.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"homepage": "https://github.com/tweedegolf/storage-abstraction/",
"repository": "https://github.com/tweedegolf/storage-abstraction/",
"dependencies": {
"@aws-sdk/client-s3": "^3.582.0",
"@aws-sdk/s3-request-presigner": "^3.582.0",
"@azure/identity": "^4.0.1",
"@azure/storage-blob": "^12.17.0",
"@google-cloud/storage": "^7.11.1",
"@nichoth/backblaze-b2": "^1.7.1",
"minio": "^8.0.0",
"rimraf": "^5.0.5"
},
"devDependencies": {
"@types/jasmine": "^5.1.2",
"@types/glob": "^8.1.0",
"@types/minimatch": "^5.1.2",
"@types/node": "^20.11.24",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.1.3",
"jasmine": "^5.1.0",
"markdown-toc": "^1.2.0",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"tsc-watch": "^6.0.4",
"typescript": "^5.0.4"
},
"scripts": {
"test-all": "npm run test-local && npm run test-gcs && npm run test-s3 && npm run test-b2 && npm run test-azure",
"test-jasmine": "ts-node ./node_modules/.bin/jasmine --random=false --fail-fast ./tests/test.jasmine.ts",
"test-local": "LOCAL_DIRECTORY='tests/test_directory' npm run test-jasmine 0",
"test-s3": "npm run test-jasmine 1",
"test-gcs": "npm run test-jasmine 2",
"test-b2": "npm run test-jasmine 3",
"test-azure": "npm run test-jasmine 4",
"test-minio": "npm run test-jasmine 5",
"test-minio-2": "MINIO_ENDPOINT='play.min.io' MINIO_USE_SSL='true' MINIO_PORT='9000' MINIO_REGION='us-east-1' MINIO_ACCESS_KEY='Q3AM3UQ867SPQQA43P2F' MINIO_SECRET_KEY='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG' npm run test-jasmine 5",
"test": "ts-node ./tests/test.ts",
"test-urls": "ts-node ./tests/test_urls.ts",
"test-mode": "ts-node ./tests_local/test-mode.ts",
"testB2": "ts-node ./tests_local/testB2.ts",
"testS3": "ts-node ./tests_local/testS3.ts",
"testR2": "ts-node ./tests_local/testR2.ts",
"testB2S3": "ts-node ./tests_local/testB2S3.ts",
"testGCS": "ts-node ./tests_local/testGCS.ts",
"testAzure": "ts-node ./tests_local/testAzure.ts",
"testCubbit": "ts-node ./tests_local/testCubbit.ts",
"testMinio": "ts-node ./tests_local/testMinio.ts",
"testLocal": "ts-node ./tests_local/testLocal.ts",
"testBucketName": "ts-node ./tests_local/testBucketName.ts",
"ts": "ts-node",
"tsc": "node_modules/.bin/tsc",
"fix-glob": "ts-node ./fixes/glob/copy.ts",
"copy": "npm run tsc && ts-node copy.ts",
"prepublishOnly": "",
"toc": "markdown-toc -i README.md",
"prepare": "npm run toc && npm run fix-glob && npm run copy"
},
"keywords": [
"storage",
"storage abstraction",
"cloud filesystem",
"google cloud",
"amazon s3",
"backblaze b2",
"cloudflare r2",
"cubbit",
"minio",
"azure"
],
"author": "[email protected]",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"printWidth": 100
},
"eslintConfig": {
"root": true,
"env": {
"node": true,
"browser": true,
"es6": true,
"jasmine": true
},
"globals": {},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"ignorePatterns": [
"node_modules/",
"dist/"
],
"rules": {
"prettier/prettier": "error",
"no-dupe-class-members": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-var-requires": "off"
},
"parser": "@typescript-eslint/parser",
"plugins": [
"prettier"
]
}
}