-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 3.19 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
{
"name": "payment-driver",
"version": "1.0.0",
"description": "Serverless payment request micro service.",
"main": "index.js",
"scripts": {
"publish": "sam-launchpad",
"build": "sam-launchpad --skip-deploy --skip-package --skip-coverage --skip-validation",
"validate": "sam-launchpad --skip-deploy --skip-package --skip-coverage --skip-build",
"package": "sam-launchpad --skip-deploy --skip-build --skip-coverage --skip-validation",
"deploy": "sam-launchpad --skip-package --skip-build --skip-coverage --skip-validation",
"sam-test": "sam-launchpad --skip-package --skip-build --skip-deploy --skip-validation",
"create-tables": "aws dynamodb create-table --endpoint-url http://localhost:8000 --table-name payment_requests --attribute-definitions AttributeName=id,AttributeType=S AttributeName=created_at,AttributeType=S --key-schema AttributeName=id,KeyType=HASH AttributeName=created_at,KeyType=RANGE --provisioned-throughput ReadCapacityUnits=1,WriteCapacityUnits=1",
"delete-tables": "aws dynamodb delete-table --endpoint-url http://localhost:8000 --table-name payment_requests",
"test": "PAYMENT_REQUESTS_TABLE_NAME=payment_requests node_modules/.bin/nyc node_modules/mocha/bin/mocha",
"test-watch": "PAYMENT_REQUESTS_TABLE_NAME=payment_requests node_modules/mocha/bin/mocha -R min --watch --watch-extensions yml,csv",
"coverage": "PAYMENT_REQUESTS_TABLE_NAME=payment_requests node_modules/.bin/nyc npm test && node_modules/.bin/nyc report --reporter=text-lcov | node_modules/coveralls/bin/coveralls.js -v",
"assets": "node-http-server root=themes port=8081 verbose=true &",
"dynamodb": "docker start dynamodb",
"server": "sam local start-api -p 8080 --docker-network sam-local --static-dir \"\" &",
"start": "npm run dynamodb; npm run assets; npm run server",
"stop": "pkill -f \"sam local\"; pkill -f \"node-http-server\"",
"restart": "npm run stop; npm run start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/VenueDriver/payment-driver.git"
},
"author": "Ryan Alyn Porter",
"license": "MIT",
"bugs": {
"url": "https://github.com/VenueDriver/payment-driver/issues"
},
"homepage": "https://github.com/VenueDriver/payment-driver#readme",
"dependencies": {
"aws-sdk": "^2.530.0",
"bignumber.js": "^6.0.0",
"bootstrap-validator": "^0.11.9",
"cheerio": "^1.0.0-rc.3",
"dotenv": "^5.0.1",
"escape-html": "1.0.3",
"jsonwebtoken": "^8.5.1",
"jwk-to-pem": "^2.0.0",
"lodash": "^4.17.15",
"moment": "^2.22.1",
"moment-timezone": "^0.5.27",
"mustache": "^2.3.0",
"print-directory-tree": "^1.0.1",
"querystring": "^0.2.0",
"request": "^2.88.0",
"request-promise": "^4.2.4",
"request-promise-native": "^1.0.7",
"stripe": "^5.8.0",
"url-join": "^4.0.1"
},
"devDependencies": {
"aws-sdk-mock": "^1.7.0",
"chai": "^4.1.2",
"chai-jq": "0.0.9",
"coveralls": "^3.0.6",
"documentation": "^6.3.1",
"istanbul": "^0.4.5",
"mocha": "^4.0.1",
"mocha-lcov-reporter": "^1.3.0",
"nock": "^9.1.6",
"node-http-server": "^8.1.2",
"nyc": "^14.1.1",
"sam-launchpad": "^1.1.23",
"sinon": "^6.1.5",
"watch-run": "^1.2.5"
}
}