-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
138 lines (138 loc) · 5.79 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "liftosaur",
"version": "1.0.0",
"description": "App for tracking weight lifting progress",
"main": "dist/index.js",
"scripts": {
"build": "npm run plannerhighlighter && npm run blog && npm run docs && npm run sitemap && NODE_ENV=production npm run build:dev && npm run upload-source-maps",
"build:stage": "npm run plannerhighlighter && npm run blog && npm run docs && npm run sitemap && NODE_ENV=production STAGE=1 npm run build:dev",
"analyze": "open dist/report.html",
"docs": "generate-md --layout ./src/docs/layout/ --input ./src/docs/content/ --output ./docs",
"plannerhighlighter": "tsc --skipLibCheck --outDir dist-plannerhighlighter ./src/pages/planner/plannerHighlighter.ts",
"blog": "eleventy",
"build:server": "webpack --config webpack.server.config.js",
"build:dev": "webpack",
"lint": "tsc --listFiles | grep -v 'node_modules' | xargs eslint",
"start": "webpack-dev-server",
"start:server": "IS_DEV=true IS_LOCAL=true IMGPREFIX=lambda/ ts-node-dev --inspect --files --poll -T devserver.ts",
"start:server:prod": "IS_DEV=false IS_LOCAL=false IMGPREFIX=lambda/ npm run ts-node-dev --inspect --files --poll -T devserver.ts",
"trust": "sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain cert/private.crt",
"start:https": "webpack-dev-server --https --cert cert/private.pem --key cert/private.key --port 8443",
"migrate": "curl -v -X POST http://local-api.liftosaur.com:3000/api/migrate?key=$KEY",
"migrate:prod": "curl -v -X POST https://api3.liftosaur.com/api/migrate?key=$KEY",
"synctoprod": "curl -v -X POST http://local-api.liftosaur.com:3000/api/synctoprod?ids=$IDS\\&key=$KEY",
"synctodev": "curl -v -X POST http://local-api.liftosaur.com:3000/api/synctodev?ids=$IDS\\&key=$KEY",
"copy:lambda": "mkdir -p ./dist-lambda && cp ./lambda/package*.json ./dist-lambda && cp -r ./lambda/images ./dist-lambda",
"build:lambda": "npm run copy:lambda && tsc -p tsconfig.lambda.json",
"watch:lambda": "npm run copy:lambda && tsc -p tsconfig.lambda.json --watch",
"build-and-start:lambda": "npm run build:lambda && npm run start:lambda",
"start:lambda": "cdk-synth && sam-start-api",
"sam-start-api": "sam local start-api --skip-pull-image 2>&1 | tr \"\\r\" \"\\n\"",
"cdk-synth": "cdk synth --no-staging LiftosaurStackDev > template.yaml",
"upload-source-maps": "./uploadsourcemaps.sh",
"cdk-deploy": "npm run build:lambda && rm -rf ./dist-lambda/node_modules && cdk deploy --all",
"test": "mocha -r ts-node/register test/**/*.test.ts",
"onetest": "TS_NODE_TRANSPILE_ONLY=1 mocha -r ts-node/register",
"sitemap": "TS_NODE_TRANSPILE_ONLY=1 ts-node ./src/sitemap.ts",
"testgen": "playwright codegen --test-id-attribute data-cy 'https://local.liftosaur.com:8080/app/?skipintro=1'"
},
"author": "Anton Astashov",
"license": "AGPL-3.0",
"devDependencies": {
"@11ty/eleventy": "^0.11.1",
"@11ty/eleventy-plugin-rss": "^1.1.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.6",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@fullhuman/postcss-purgecss": "^2.1.0",
"@lezer/generator": "^1.2.3",
"@playwright/test": "^1.44.0",
"@types/aws-lambda": "^8.10.72",
"@types/chai": "^4.3.11",
"@types/cookie": "^0.3.3",
"@types/deepmerge": "^2.2.0",
"@types/jsonwebtoken": "^8.3.9",
"@types/mocha": "^10.0.6",
"@types/papaparse": "^5.3.7",
"@types/prismjs": "^1.16.6",
"@types/pulltorefreshjs": "^0.1.7",
"@types/qrcode": "^1.5.3",
"@types/sinon": "^17.0.2",
"@types/upng-js": "^2.1.2",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"autoprefixer": "^9.7.4",
"aws-sdk": "^2.1395.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.2",
"chai": "^4.3.10",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.2",
"cssnano": "^4.1.10",
"csv": "^6.2.7",
"cypress": "^5.1.0",
"cypress-terminal-report": "^2.0.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"jimp": "^0.16.1",
"lambda-local": "^1.7.4",
"markdown-styles": "^3.1.10",
"mocha": "^10.2.0",
"node-fetch": "^2.6.1",
"postcss-loader": "^3.0.0",
"prettier": "^2.0.5",
"sinon": "^17.0.1",
"style-loader": "^1.1.3",
"tailwindcss": "^1.2.0",
"ts-loader": "^6.2.1",
"ts-node": "^8.6.2",
"ts-node-dev": "^1.1.6",
"typescript": "^5.6.3",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
},
"dependencies": {
"@codemirror/autocomplete": "^6.18.3",
"@codemirror/commands": "^6.7.1",
"@codemirror/lang-markdown": "^6.3.1",
"@codemirror/language": "^6.10.6",
"@codemirror/lint": "^6.8.4",
"@codemirror/search": "^6.5.8",
"@codemirror/state": "^6.5.0",
"@codemirror/view": "^6.35.3",
"@lezer/highlight": "^1.1.6",
"@lezer/lr": "^1.3.7",
"aws-cdk-lib": "^2.83.1",
"codemirror": "^6.0.1",
"constructs": "^10.2.49",
"cookie": "^0.4.0",
"deepmerge": "^4.2.2",
"dequal": "^2.0.2",
"fflate": "^0.7.4",
"fp-ts": "^2.6.2",
"html-to-image": "^1.11.11",
"io-ts": "^2.2.4",
"jsonwebtoken": "^8.5.1",
"lens-shmens": "^1.2.0",
"micro-memoize": "^4.1.2",
"micromark": "^2.11.4",
"micromark-extension-gfm": "^0.3.3",
"mini-css-extract-plugin": "^2.9.2",
"mock-match-media": "^0.4.2",
"openai": "^3.2.1",
"papaparse": "^5.4.1",
"preact": "^10.5.13",
"preact-render-to-string": "^5.1.19",
"prismjs": "^1.25.0",
"pulltorefreshjs": "^0.1.22",
"qrcode": "^1.5.3",
"rollbar": "^2.26.2",
"rsa-pem-from-mod-exp": "^0.8.5",
"uplot": "^1.6.23",
"upng-js": "^2.1.0",
"yatro": "^0.2.7"
}
}