-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.6 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
{
"name": "prerender-spa-ultra",
"description": "Crawls & Pre-renders a site",
"license": "MIT",
"version": "2.0.0",
"author": "Anton Stoychev",
"repository": "github:antitoxic/prerender-spa-ultra",
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/antitoxic"
},
"main": "dist/prerenderer/prerender.js",
"exports": {
".": "./dist/prerenderer/index.js",
"./*": "./dist/prerenderer/*.js"
},
"imports": {
"#src/*": "./src/prerenderer/*.ts"
},
"files": [
"dist/*",
"src/*"
],
"engines": {
"node": ">=16.x"
},
"bin": {
"prerender-spa-ultra": "./dist/prerenderer/cli.js"
},
"scripts": {
"prepack": "npm run build",
"build": "npm run build:npm && npm run build:github-aciton",
"build:npm": "tsc --project ./tsconfig.npm.json",
"build:github-aciton": "pnpm run transpile",
"analyze:build:github-aciton": "ANALYZE_BUILD=1 pnpm build:github-aciton",
"dev:github-aciton": "npm run build:github-aciton --watch",
"dev:npm": "npm run build:npm --watch",
"test": "vitest",
"transpile": "CONFIG_PLUGIN=$PWD/node_modules/@rollup/plugin-swc/dist/es/index.js && rollup --configPlugin $CONFIG_PLUGIN --config ./rollup.config.ts",
"dev": "pnpm --filter='{.}^...' build && pnpm run dev:watch",
"dev:with-deps": "pnpm --filter='{.}^...' build && pnpm --filter='{.}...' run --parallel '/^dev:(watch|serve)$/'",
"dev:watch": "pnpm run transpile --watch",
"try:github-action:requires-env:INPUT_WEBSITE_ROOT": "PRERENDER_SPA_ULTRA_DEBUG=1 INPUT_MAX_CONCURRENT_PAGES=1 INPUT_META_PRERENDER_ONLY=1 INPUT_WEBSITE_ROOT=$INPUT_WEBSITE_ROOT node ./dist/prerender-github-action/index.js"
},
"dependencies": {
"puppeteer-core": "^23.11.1"
},
"devDependencies": {
"@actions/core": "^1.10.0",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-swc": "^0.4.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@tsconfig/node16": "^16.1.0",
"@tsconfig/strictest": "^2.0.1",
"@types/serve-handler": "^6.1.1",
"prettier": "^3.4.2",
"rollup": "^4.29.1",
"rollup-plugin-visualizer": "^5.12.0",
"serve-handler": "^6.1.5",
"tslib": "^2.8.1",
"typescript": "^5.1.6",
"vitest": "^0.33.0"
},
"peerDependencies": {
"serve-handler": "^6.1.5",
"tslib": "^2.8.1"
},
"prettier": {
"singleQuote": true,
"proseWrap": "always",
"arrowParens": "avoid",
"trailingComma": "es5",
"jsxBracketSameLine": true
}
}