42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"name": "@omnivore/pdf-handler",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "build/src/index.js",
|
|
"types": "build/src/index.d.ts",
|
|
"files": [
|
|
"build/src"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"keywords": [],
|
|
"scripts": {
|
|
"test": "yarn mocha -r ts-node/register --config mocha-config.json",
|
|
"test:typecheck": "tsc --noEmit",
|
|
"lint": "eslint src --ext ts,js,tsx,jsx",
|
|
"compile": "tsc",
|
|
"build": "tsc",
|
|
"start": "functions-framework --source=build/src/ --target=pdfHandler",
|
|
"dev": "concurrently \"tsc -w\" \"nodemon --watch ./build/ --exec npm run start\"",
|
|
"gcloud-deploy": "gcloud functions deploy pdfHandler --region=$npm_config_region --runtime nodejs14 --trigger-bucket=$npm_config_bucket --env-vars-file=../gcf-shared/env-$npm_config_env.yaml",
|
|
"deploy": "yarn build && yarn gcloud-deploy"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^14.11.2",
|
|
"chai": "^4.3.6",
|
|
"chai-string": "^1.5.0",
|
|
"mocha": "^10.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@google-cloud/functions-framework": "3.1.2",
|
|
"@google-cloud/pubsub": "^4.0.0",
|
|
"@google-cloud/storage": "^7.0.1",
|
|
"@sentry/serverless": "^7.77.0",
|
|
"axios": "^0.27.2",
|
|
"concurrently": "^7.0.0",
|
|
"pdfjs-dist": "^2.9.359"
|
|
},
|
|
"volta": {
|
|
"extends": "../../package.json"
|
|
}
|
|
}
|