-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 3.99 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
{
"name": "inquirita",
"type": "module",
"version": "0.0.1",
"license": "UNLICENSED",
"scripts": {
"dev": "astro dev",
"preview": "astro preview",
"astro": "astro",
"serve": "npx serve dist",
"clean": "rm -rf dist src/astro/pages/ playwright-report/ test-results/ sites/ .output package-lock.json public/layout.manager.js public/tabulator.js",
"test:unit": "yarn test:unit:prebuild && yarn test:unit:layout && yarn test:unit:astro",
"test:unit:prebuild": "npx vitest --run src/scripts/prebuild",
"test:unit:astro": "npx rollup -c && npx vitest --run src/astro/components/",
"test:unit:layout": "npx vitest --run src/scripts/layout",
"pregen:dev": "tsx src/scripts/prebuild/pregenerate.ts http://localhost:3000",
"pregen:prod": "tsx src/scripts/prebuild/pregenerate.ts http://inquirita.com",
"pregen:test": "npx vitest --run src/tests/prebuild/",
"generate": "NODE_OPTIONS='--max-old-space-size=32768' astro build",
"generate:dev": "BASE_URL=http://localhost:3000 yarn generate",
"generate:prod": "BASE_URL=http://inquirita.com yarn generate",
"lastmod:dev": "tsx src/scripts/lastmod.ts sites/ .output/public/sitemap.xml http://localhost:3000",
"lastmod:prod": "tsx src/scripts/lastmod.ts sites/ .output/public/sitemap.xml http://inquirita.com",
"test:e2e": "rm -rf test-results/* && NODE_OPTIONS=--max-old-space-size=8192 npx playwright test --tsconfig src/tests/postbuild/tsconfig.json tests/postbuild/",
"test:e2e:enh": "rm -rf test-results/* && PLAYWRIGHT_ENHANCED=true NODE_OPTIONS=--max-old-space-size=8192 npx playwright test tests/postbuild/",
"prebuild:prod": "yarn install --frozen-lockfile && yarn clean && mkdir sites && cp -a build/* sites/ && yarn test:unit && yarn pregen:prod && yarn pregen:test && mv sites/* src/astro/pages/",
"prebuild": "yarn install --frozen-lockfile && yarn clean && mkdir sites && yarn test:unit && yarn pregen:dev && yarn pregen:test && mkdir -p src/astro/pages/ && mv sites/* src/astro/pages/",
"build": "yarn generate",
"postbuild": "yarn test:e2e && yarn serve",
"build:prod": "yarn generate:prod",
"postbuild:prod": "yarn test:e2e && yarn serve",
"deploy": "lftp -p 7822 -u root sftp://inquirita.com -e \"mirror -R ~/git/rankrent/rankrent-fe/dist/ /var/www/html/; quit\""
},
"dependencies": {
"tabulator-tables": "6.3.1"
},
"devDependencies": {
"@astrojs/sitemap": "3.2.1",
"@ayco/astro-resume": "0.4.3",
"@babel/parser": "7.26.5",
"@babel/types": "7.26.5",
"@playwright/test": "1.48.2",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-yaml": "4.1.2",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@types/argparse": "2.0.17",
"@types/babel__core": "7.20.5",
"@types/form-data": "2.5.2",
"@types/fs-extra": "11.0.4",
"@types/http-server": "0.12.4",
"@types/js-yaml": "4.0.9",
"@types/jsdom": "21.1.7",
"@types/lodash": "4.17.14",
"@types/node": "22.10.7",
"@types/node-fetch": "2.6.12",
"@types/papaparse": "5.3.15",
"@types/tabulator-tables": "6.2.3",
"@types/xml2js": "0.4.14",
"astro": "4.16.17",
"axios": "1.7.9",
"cheerio": "1.0.0",
"dotenv": "16.4.7",
"esbuild": "0.24.2",
"express": "4.21.2",
"fs": "0.0.1-security",
"fs-extra": "11.3.0",
"glob": "11.0.1",
"handlebars": "4.7.8",
"htmltidy2": "1.2.0",
"http-server": "14.1.1",
"js-yaml": "4.1.0",
"jsdom": "26.0.0",
"lighthouse": "12.3.0",
"lodash": "4.17.21",
"markdown-it": "14.1.0",
"markdown-table": "3.0.4",
"marked": "15.0.6",
"papaparse": "5.5.1",
"parse5": "7.2.1",
"path": "0.12.7",
"playwright": "1.48.2",
"prettier": "3.4.2",
"rollup": "4.31.0",
"rollup-plugin-typescript2": "0.36.0",
"sass": "1.83.4",
"text-encoding": "0.7.0",
"tslib": "2.8.1",
"tsx": "4.19.2",
"typescript": "5.7.3",
"vitest": "2.1.8",
"wait-on": "8.0.2",
"xml2js": "0.6.2"
}
}