-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
72 lines (72 loc) · 3.23 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
{
"name": "podlite-web",
"description": "📖 Create static websites with Next.js and the Podlite markup language.",
"version": "0.2.1",
"private": true,
"scripts": {
"next_dev": "next dev",
"build": "next telemetry disable &&NODE_OPTIONS=--max_old_space_size=4096 next build",
"makeindex": "rm -rf out_index && cp -Rp out out_index && find ./out_index -type f ! -name \"*.html\" ! -name \"*.HTML\" -delete && find ./out_index -type f -name '*.*' -exec sh -c 'mv \"$0\" \"${0%.*}\"' '{}' \\; && pagefind --site ./out_index --output-path ./out/pagefind --glob '**/*' && cp -Rp ./out/pagefind ./public/pagefind && rm -rf out_index",
"start": "yarn process \"$@\" && yarn build && next start",
"test": "jest",
"lint": "next lint",
"postinstall": "yarn config set --home enableTelemetry 0 && next telemetry disable",
"export": "yarn process \"$@\" && yarn install && yarn build && next export -o out && yarn makeindex",
"export-tgz": "yarn export \"$@\" >/dev/null && mv out site && tar czf - site | cat",
"export-zip": "yarn export \"$@\" && mv out site && zip -r - site | cat",
"ci": "rimraf node_modules && yarn",
"clean": "rimraf 'built/!(.gitignore)' 'public/assets/!(.gitignore)' .next out 'public/!(.gitignore)' site",
"process__": "yarn clean && mkdir -p built && ts-node -P tsconfig-node.json bin/makeDataSource.ts",
"process": "yarn ci && yarn clean && yarn && yarn publisher_path \"$@\" ",
"format": "npx prettier --write '**/*.{js,jsx,ts,tsx,json,md,mjs}'",
"publisher": "npx tsx bin/publisher.ts -s 'https://example.org' -b ./built -p ./public -i ./pub/index.pod6 './pub/**/*.{pod6,podlite}'",
"publisher_path": "yarn attach_path ${0:-pub}; yarn publisher -i ${0}/index.pod6 -d ${0} \"$@\" ${0}'/**/*.{pod6,podlite}' && ( ( [ -e ${0}/package.json ] && cd ${0} && yarn post_plugin ) ; true ) && yarn ci",
"attach_path": "node ./bin/attachExternal.mjs ${0} && (cd ${0} && yarn && yarn build_plugin)"
},
"dependencies": {
"fs-extra": "^11.2.0",
"next": "12.0.10",
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"@podlite/markdown": "^0.0.15",
"@podlite/publisher": "^0.0.3",
"@podlite/schema": "^0.0.22",
"@podlite/to-jsx": "^0.0.26",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^27.5.1",
"@types/node": "17.0.17",
"@types/react": "17.0.39",
"commander": "^9.0.0",
"crc-32": "^1.2.2",
"eslint": "8.9.0",
"eslint-config-next": "12.0.10",
"gray-matter": "^4.0.3",
"iso_9": "^1.0.4",
"jest": "^28.1.0",
"jest-serializer-html": "^7.1.0",
"json-loader": "^0.5.7",
"moment": "^2.29.3",
"newbase60": "^1.3.1",
"next-compose-plugins": "^2.2.1",
"next-images": "^1.8.4",
"next-optimized-images": "^2.6.2",
"nodemon": "^2.0.16",
"pagefind": "^1.1.1",
"podlite": "^0.0.35",
"prettier": "^2.5.1",
"react-modal": "^3.14.4",
"rimraf": "^3.0.2",
"sass": "^1.49.8",
"shiki": "1.15.0",
"ts-jest": "^28.0.3",
"ts-loader": "^9.2.6",
"ts-node": "^10.5.0",
"typescript": "4.5.5"
},
"packageManager": "[email protected]"
}