forked from aws-solutions/document-understanding-solution
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
108 lines (108 loc) · 4.28 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
{
"name": "amazon-textract-demo",
"version": "0.6.0",
"description": "A web app and Cloud Formation template that demonstrates the capabilities of the AWS Textract API.",
"main": "handler.js",
"repository": {
"type": "git"
},
"license": "Apache-2.0",
"private": true,
"browserslist": [
"> 1%",
"last 2 versions",
"Firefox ESR"
],
"stack": {
"name": "V081TextractDemo",
"region": "us-west-2"
},
"scripts": {
"compile-ts-stack": "tsc deployment/custom-deployment/lib/cdk-textract-stack.ts --target es2018 --module commonjs --allowjs true",
"compile-ts-client-stack": "tsc deployment/custom-deployment/lib/cdk-textract-client-stack.ts --target es2018 --module commonjs --allowjs true",
"deploy:stack": "yarn compile-ts-stack && AWS_REGION=$npm_package_stack_region cdk deploy -v true",
"deploy:client": "yarn compile-ts-client-stack && yarn export && yarn update-client-stack-variables && AWS_REGION=$npm_package_stack_region cdk deploy -v true -a \"node bin/deploy-client-stack.js\" && yarn update-pdf-lambda-code",
"deploy:setup-user": "AWS_REGION=$npm_package_stack_region node bin/user-setup.js",
"deploy:setup-samples": "AWS_REGION=$npm_package_stack_region ./bin/upload-samples.sh",
"deploy:show": "AWS_REGION=$npm_package_stack_region node ./bin/client-stack-url.js",
"deploy": "yarn deploy:stack && yarn deploy:client && yarn deploy:setup-samples && yarn deploy:show",
"deploy:frontend": "yarn deploy:client && yarn deploy:setup-samples && yarn deploy:show",
"destroy": "AWS_REGION=$npm_package_stack_region cdk destroy -v true",
"update-client-stack-variables": "bash ./deployment/custom-deployment/bin/stack-variables-to-client.sh",
"update-pdf-lambda-code": "bash ./deployment/custom-deployment/bin/update-pdf-lambda-code.sh",
"dev": "next app",
"build": "yarn pre-build && next build app",
"export": "yarn build && next export app",
"pre-build": "AWS_REGION=$npm_package_stack_region node ./bin/pre-build.js",
"license-report": "legally --plain > license-report.txt && echo \"$(tail -n +4 license-report.txt)\" > license-report.txt",
"prettier": "prettier --write '**/*.{js,md,yaml}'",
"lint": "yarn lint:js && yarn lint:css",
"lint:css": "sass-lint --verbose --no-exit",
"lint:js": "eslint './**/*.js' --max-warnings 0"
},
"dependencies": {
"@aws-cdk/aws-apigateway": "^1.14.0",
"@aws-cdk/aws-cloudformation": "^1.14.0",
"@aws-cdk/aws-cognito": "^1.14.0",
"@aws-cdk/aws-dynamodb": "^1.14.0",
"@aws-cdk/aws-elasticsearch": "^1.14.0",
"@aws-cdk/aws-events": "^1.14.0",
"@aws-cdk/aws-iam": "^1.14.0",
"@aws-cdk/aws-lambda": "^1.14.0",
"@aws-cdk/aws-lambda-event-sources": "^1.14.0",
"@aws-cdk/aws-s3": "^1.14.0",
"@aws-cdk/aws-s3-deployment": "^1.14.0",
"@aws-cdk/aws-sns": "^1.14.0",
"@aws-cdk/aws-sqs": "^1.14.0",
"@aws-cdk/core": "^1.14.0",
"@types/node": "^12.12.5",
"@zeit/next-sass": "^1.0.1",
"aws-amplify": "^1.1.28",
"aws-cdk": "^1.14.0",
"classnames": "^2.2.6",
"date-fns": "^1.30.1",
"dotenv": "^8.0.0",
"express": "^4.17.1",
"inquirer": "^6.4.1",
"lodash": "^4.17.11",
"next": "^8.1.0",
"next-redux-wrapper": "^3.0.0-alpha.3",
"node-sass": "^4.12.0",
"normalizr": "^3.4.0",
"query-string": "^6.8.1",
"ramda": "^0.26.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-dropzone": "^10.1.5",
"react-highlighter": "^0.4.3",
"react-intersection-observer": "^8.23.0",
"react-pdf": "^4.1.0",
"react-redux": "^7.1.0",
"react-webcam": "^3.0.1",
"readline-sync": "^1.4.10",
"redux": "^4.0.1",
"redux-actions": "^2.6.5",
"redux-devtools-extension": "^2.13.8",
"redux-promise": "^0.6.0",
"redux-thunk": "^2.3.0",
"short-uuid": "^3.1.1",
"susy": "^3.0.5"
},
"devDependencies": {
"autoprefixer": "^9.6.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^1.6.0",
"legally": "^3.3.7",
"prettier": "1.18.2",
"sass-lint": "^1.13.1"
},
"resolutions": {
"@aws-amplify/analytics": "1.2.16",
"@aws-amplify/ui": "1.0.19"
}
}