-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.78 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
{
"name": "portfolio",
"version": "0.5.0",
"description": "Portfolio of Alejandro Fernández Alburquerque.",
"config": {
"port": 8080,
"url": "https://alejandrofernandez.dev"
},
"scripts": {
"setup:ci": "npm ci --omit=dev && flutter pub get",
"setup:dev": "npm ci --include=dev && flutter pub get",
"upgrade-deps:npm": "npm update --include=dev --save=true",
"upgrade-deps:pub": "flutter pub upgrade --tighten --major-versions",
"upgrade-deps": "npm run upgrade-deps:npm && npm run upgrade-deps:pub",
"lint:shell": "shellcheck --enable=all .githooks/*",
"lint:dart": "flutter analyze --no-pub && dart run custom_lint",
"lint:ts": "tsc && eslint scripts",
"lint": "npm run lint:shell && npm run lint:dart && npm run lint:ts",
"test": "flutter test --no-pub -r expanded --platform chrome",
"build:canvaskit": "flutter build web --no-pub --release --no-web-resources-cdn",
"build:wasm": "flutter build web --no-pub --release --no-web-resources-cdn --wasm",
"build": "npm run build:${BUILD_RENDERER:-wasm}",
"postbuild:canvaskit": "npm run generate-sitemap -- -o build/web/sitemap.xml && npm run minify:js",
"postbuild:wasm": "npm run postbuild:canvaskit && npm run minify:mjs",
"preserve:release": "npm run build",
"serve:release": "wrangler pages dev --port=${npm_package_config_port}",
"serve": "flutter run -d chrome",
"predeploy": "npm run build",
"deploy": "wrangler pages deploy --branch=${DEPLOY_BRANCH}",
"generate-sitemap": "tsx scripts/generate_sitemap.ts lib/pages/*.dart --baseUrl ${npm_package_config_url}",
"minify:js": "esbuild 'build/web/**/*.js' --outdir=build/web/ --minify --tree-shaking=true --allow-overwrite",
"minify:mjs": "esbuild 'build/web/**/*.mjs' --outdir=build/web/ --minify --tree-shaking=true --allow-overwrite --out-extension:.js=.mjs",
"code-generation": "dart run build_runner build && flutter gen-l10n"
},
"repository": {
"type": "git",
"url": "https://github.com/Alejandro-FA/Alejandro-FA.github.io.git"
},
"author": "Alejandro Fernández Alburquerque",
"license": "UNLICENSED",
"private": true,
"bugs": {
"url": "https://github.com/Alejandro-FA/Alejandro-FA.github.io/issues"
},
"homepage": "https://github.com/Alejandro-FA/Alejandro-FA.github.io#readme",
"dependencies": {
"@tsconfig/node-lts": "^20.1.3",
"@tsconfig/strictest": "^2.0.5",
"esbuild": "^0.24.0",
"fast-xml-parser": "^4.5.0",
"tsx": "^4.19.2",
"wrangler": "^3.85.0"
},
"devDependencies": {
"@eslint/js": "^9.11.0",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.9.0",
"cheerio": "^1.0.0",
"eslint": "^9.14.0",
"shellcheck": "^3.0.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
},
"engines": {
"node": "^20.18.0"
}
}