uppy/packages/@uppy/webcam/package.json

65 lines
1.5 KiB
JSON

{
"name": "@uppy/webcam",
"description": "Uppy plugin that takes photos or records videos using the device's camera.",
"version": "5.1.0",
"license": "MIT",
"style": "dist/style.min.css",
"type": "module",
"sideEffects": [
"*.css"
],
"scripts": {
"build": "tsc --build tsconfig.build.json",
"build:css": "sass --load-path=../../ src/style.scss dist/style.css && postcss dist/style.css -u cssnano -o dist/style.min.css",
"typecheck": "tsc --build",
"test": "vitest run --environment=jsdom --silent='passed-only'"
},
"keywords": [
"file uploader",
"uppy",
"uppy-plugin",
"webcam",
"picture",
"photo",
"video",
"record",
"mediarecorder"
],
"homepage": "https://uppy.io",
"bugs": {
"url": "https://github.com/transloadit/uppy/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/transloadit/uppy.git"
},
"files": [
"src",
"lib",
"dist",
"CHANGELOG.md"
],
"exports": {
".": "./lib/index.js",
"./css/style.css": "./dist/style.css",
"./css/style.min.css": "./dist/style.min.css",
"./css/style.scss": "./src/style.scss",
"./package.json": "./package.json"
},
"dependencies": {
"is-mobile": "^5.0.0",
"preact": "^10.29.2"
},
"devDependencies": {
"cssnano": "^8.0.1",
"jsdom": "^29.1.1",
"postcss": "^8.5.15",
"postcss-cli": "^11.0.1",
"sass": "^1.89.2",
"typescript": "^5.8.3",
"vitest": "^4.1.6"
},
"peerDependencies": {
"@uppy/core": "workspace:^"
}
}