-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
97 lines (97 loc) · 3.72 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
{
"name": "dazser-payment-portal",
"version": "7.0.0",
"description": "",
"main": "index.html",
"engines": {
"node": ">=16"
},
"scripts": {
"lint": "npm-run-all --parallel lint:js lint:css",
"lint:js": "eslint \"**/*.[jt]s\" --cache",
"lint:css": "stylelint \"scss/**/*.scss\"",
"clean": "rm -rf .build/** public/js/** public/css/** public/images/** views/*.hbs views/**/*.hbs dist/** && mkdir -p public/js public/css public/images views .build dist",
"build": "npm-run-all --sequential clean --parallel img css js",
"js": "npm-run-all --parallel js:frontend js:backend",
"js:backend": "tsc -p tsconfig.backend.json",
"js:frontend": "npm-run-all --parallel compile:frontend compile:stripe --sequential compile:inline",
"compile:frontend": "browserify \"typescript/frontend/app.ts\" -p [ tsify -p tsconfig.frontend.json ] > public/js/bundle.js",
"compile:stripe": "tsc -p tsconfig.stripe.json",
"compile:inline": "mkdir -p views/layouts && inline-source --compress false html/portal.html views/portal.hbs && cp html/map.html views/map.hbs && cp html/old.html views/old.hbs && cp html/layouts/main.html views/layouts/main.hbs && cp html/success.html views/success.hbs",
"img": "cp images/jklogo-clear-SM2-fs8.png public/images/jklogo.png",
"css": "npm-run-all --parallel compile:css --sequential css:prefix css:minify",
"compile:css": "sass scss/main.scss public/css/main.css",
"css:prefix": "postcss --config postcss.config.js --replace \"public/css/*.css\" \"!public/css/*.min.css\"",
"css:minify": "cleancss -O1 --output public/css/main.min.css public/css/main.css",
"deploy:dev": "sls deploy --stage dev --verbose",
"deploy:prod": "sls deploy --stage prod --verbose",
"rollback:prod": "sls rollback --timestamp 1595269437577 --stage prod --verbose",
"test": "ava"
},
"author": "Kyle McNally <[email protected]>",
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"license": "ISC",
"devDependencies": {
"@dazser/mailer": "^5.0.9",
"@rushstack/eslint-patch": "^1.2.0",
"@sparticuz/eslint-config": "^7.1.11",
"@stripe/stripe-js": "^1.46.0",
"@tsconfig/node18-strictest": "^1.0.0",
"@types/aws-lambda": "^8.10.109",
"@types/big.js": "^6.1.6",
"@types/compression": "^1.7.2",
"@types/express": "^4.17.15",
"@types/inputmask": "^5.0.3",
"@types/node": "^18.11.18",
"@types/serve-favicon": "^2.5.3",
"@types/validator": "^13.7.10",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"autoprefixer": "^10.4.13",
"ava": "^5.1.1",
"browserify": "^17.0.0",
"clean-css-cli": "^5.6.1",
"eslint": "^8.32.0",
"inline-source-cli": "^2.0.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.1.0",
"prettier": "^2.8.3",
"sass": "^1.57.1",
"serverless": "^3.26.0",
"serverless-domain-manager": "^6.2.1",
"serverless-plugin-log-subscription": "^2.2.0",
"stylelint": "^14.16.1",
"stylelint-config-recommended-scss": "^8.0.0",
"stylelint-config-standard": "^29.0.0",
"stylelint-config-twbs-bootstrap": "^7.0.0",
"stylelint-order": "^6.0.1",
"stylelint-scss": "^4.3.0",
"ts-node": "^10.9.1",
"tsify": "^5.0.4",
"typescript": "^4.9.4"
},
"dependencies": {
"@aws-sdk/client-sqs": "^3.252.0",
"big.js": "^6.2.1",
"body-parser": "^1.20.1",
"compression": "^1.7.4",
"express": "^4.18.2",
"express-handlebars": "^6.0.6",
"formdata-polyfill": "^4.0.10",
"helmet": "^6.0.1",
"inputmask": "^5.0.7",
"serve-favicon": "^2.5.0",
"serverless-http": "^3.1.1",
"stripe": "^11.6.0"
},
"overrides": {
"@types/express-serve-static-core": "^4.17.29"
}
}