1 | {
|
2 | "name": "uppy-server",
|
3 | "version": "0.13.4",
|
4 | "description": "Server component for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:",
|
5 | "main": "lib/uppy.js",
|
6 | "types": "types/index.d.ts",
|
7 | "author": "Transloadit.com",
|
8 | "license": "ISC",
|
9 | "homepage": "https://github.com/transloadit/uppy-server#readme",
|
10 | "repository": {
|
11 | "type": "git",
|
12 | "url": "git+https://github.com/transloadit/uppy-server.git"
|
13 | },
|
14 | "keywords": [
|
15 | "file uploader",
|
16 | "progress",
|
17 | "preview",
|
18 | "resumable uploads",
|
19 | "tus",
|
20 | "s3",
|
21 | "google drive",
|
22 | "dropbox",
|
23 | "backend",
|
24 | "websocket",
|
25 | "express",
|
26 | "realtime"
|
27 | ],
|
28 | "bin": {
|
29 | "uppy-server": "./lib/standalone/start-server.js"
|
30 | },
|
31 | "lint-staged": {
|
32 | "*.js": "eslint"
|
33 | },
|
34 | "pre-commit": "lint-staged",
|
35 | "devDependencies": {
|
36 | "@types/aws-serverless-express": "^3.0.1",
|
37 | "@types/compression": "0.0.36",
|
38 | "@types/connect-redis": "0.0.7",
|
39 | "@types/cookie-parser": "^1.4.1",
|
40 | "@types/cors": "^2.8.3",
|
41 | "@types/express-session": "^1.15.6",
|
42 | "@types/helmet": "0.0.37",
|
43 | "@types/jsonwebtoken": "^7.2.5",
|
44 | "@types/lodash.merge": "^4.6.3",
|
45 | "@types/morgan": "^1.7.35",
|
46 | "@types/ms": "^0.7.30",
|
47 | "@types/node": "^8.5.1",
|
48 | "@types/request": "^2.0.9",
|
49 | "@types/tus-js-client": "^1.4.1",
|
50 | "@types/uuid": "^3.4.3",
|
51 | "@types/ws": "^3.2.1",
|
52 | "eslint": "^4.19.1",
|
53 | "eslint-config-standard": "5.1.0",
|
54 | "eslint-plugin-promise": "1.0.8",
|
55 | "eslint-plugin-standard": "1.3.2",
|
56 | "fakefile": "0.0.8",
|
57 | "jest": "^20.0.4",
|
58 | "jest-cli": "^23.1.0",
|
59 | "lint-staged": "3.2.1",
|
60 | "nodemon": "^1.17.5",
|
61 | "pre-commit": "1.1.3",
|
62 | "supertest": "3.0.0",
|
63 | "typescript": "2.7.1"
|
64 | },
|
65 | "dependencies": {
|
66 | "@purest/providers": "1.0.0",
|
67 | "@uppy/fs-tail-stream": "^1.2.0",
|
68 | "atob": "2.1.0",
|
69 | "aws-sdk": "^2.254.1",
|
70 | "body-parser": "1.18.2",
|
71 | "common-tags": "^1.7.2",
|
72 | "connect-redis": "^3.3.0",
|
73 | "cookie-parser": "1.4.3",
|
74 | "express": "^4.16.0",
|
75 | "express-interceptor": "^1.2.0",
|
76 | "express-prom-bundle": "^3.1.0",
|
77 | "express-session": "1.15.6",
|
78 | "grant-express": "^4.0.1",
|
79 | "helmet": "3.8.2",
|
80 | "isobject": "3.0.1",
|
81 | "jsonwebtoken": "^8.0.1",
|
82 | "lodash.merge": "^4.6.0",
|
83 | "morgan": "1.9.0",
|
84 | "ms": "^2.0.0",
|
85 | "node-redis-pubsub": "^2.0.0",
|
86 | "node-schedule": "^1.3.0",
|
87 | "prom-client": "^10.0.2",
|
88 | "purest": "3.0.0",
|
89 | "redis": "^2.7.1",
|
90 | "request": "2.85.0",
|
91 | "serialize-error": "^2.1.0",
|
92 | "tus-js-client": "1.4.5",
|
93 | "uuid": "2.0.2",
|
94 | "validator": "^9.0.0",
|
95 | "ws": "1.1.5"
|
96 | },
|
97 | "files": [
|
98 | "lib/"
|
99 | ],
|
100 | "jest": {
|
101 | "testEnvironment": "node",
|
102 | "automock": false,
|
103 | "collectCoverage": true,
|
104 | "collectCoverageFrom": [
|
105 | "src/**"
|
106 | ]
|
107 | },
|
108 | "scripts": {
|
109 | "build": "tsc -p .",
|
110 | "deploy": "kubectl apply -f infra/kube/uppy-server-kube.yml",
|
111 | "fix": "eslint . --fix",
|
112 | "lint": "eslint .",
|
113 | "lint-staged": "lint-staged",
|
114 | "prepublish": "npm run build",
|
115 | "release:major": "env SEMANTIC=major npm run release",
|
116 | "release:minor": "env SEMANTIC=minor npm run release",
|
117 | "release:patch": "env SEMANTIC=patch npm run release",
|
118 | "release": "npm version ${SEMANTIC:-patch} -m \"Release %s\" && git push && git push --tags && npm publish",
|
119 | "start": "node ./lib/standalone/start-server.js",
|
120 | "start:dev": "bash -c 'source env.sh; env UPPYSERVER_DATADIR=./output UPPYSERVER_DOMAIN=localhost:3020 UPPYSERVER_PROTOCOL=http UPPYSERVER_PORT=3020 UPPY_ENDPOINTS=\"\" nodemon --exec node ./src/standalone/start-server.js'",
|
121 | "test": "/bin/bash -c 'npm run build && npm run lint && source env.test.sh && jest'",
|
122 | "test:watch": "npm test -- --watch"
|
123 | },
|
124 | "engines": {
|
125 | "node": ">=6.0.0"
|
126 | }
|
127 | }
|