summaryrefslogtreecommitdiff
path: root/package.json
blob: 08bcd5168fed1045297e7a3fc7d5c0bdfab794cb (plain)
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
{
	"name": "index.html",
	"version": "1.0.0",
	"description": "",
	"main": "index.js",
	"scripts": {
		"build:html": "find src/html -name '*.html' -type f -print0 | xargs -0 -I {} bash -c 'mkdir -p \"$(dirname \"./public/${1#src/html/}\")\"; html-minifier-terser --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-tag-whitespace --use-short-doctype \"$1\" --output \"./public/${1#src/html/}\"' _ {}",
		"build:css": "postcss src/css/* --dir public/css",
		"watch:css": "postcss src/css/* --dir public/css --watch",
		"build:js": "babel src/js/* --out-dir public/js",
		"watch:js": "babel src/js/* --out-dir public/js --watch",
		"build:sw": "babel src/sw.js --out-dir public/",
		"watch:sw": "babel src/sw.js --out-dir public/ --watch",
		"build": "bun build:html && bun build:css && bun build:js && bun build:sw",
		"watch": "bun watch:css & bun watch:js & bun watch:sw",
		"dev": "./launch.sh",
		"check": "./launch.sh check"
	},
	"keywords": [],
	"author": "littleblack111",
	"license": "ISC",
	"engines": {
		"node": "24.x"
	},
	"devDependencies": {
		"@babel/cli": "^7.28.6",
		"@babel/core": "^7.29.0",
		"@babel/preset-env": "^7.29.5",
		"autoprefixer": "^10.5.0",
		"cssnano": "^6.1.2",
		"g": "^2.0.1",
		"html-minifier-terser": "^7.2.0",
		"pixrem": "^5.0.0",
		"postcss": "^8.5.14",
		"postcss-cli": "^10.1.0",
		"postcss-color-rgba-fallback": "^4.0.0",
		"postcss-fixes": "^3.0.0",
		"postcss-import": "^15.1.0",
		"postcss-loader": "^7.3.4",
		"postcss-nested": "^6.2.0",
		"postcss-opacity": "^5.0.0",
		"postcss-preset-env": "^9.6.0",
		"postcss-pseudoelements": "^5.0.0",
		"postcss-vmin": "^3.0.0",
		"postcss-will-change": "^4.0.1",
		"rucksack-css": "^1.0.2",
		"swup": "^4.9.0"
	},
	"dependencies": {
		"babel-preset-minify": "^0.5.2",
		"fs-extra": "^11.3.5",
		"install": "^0.13.0",
		"posthog-js": "^1.374.0"
	},
	"packageManager": "bun@1.3.11"
}