a2s.su/package.json

27 lines
1.1 KiB
JSON

{
"private": true,
"name": "a2s",
"version": "1.0.0",
"description": "ololo",
"scripts": {
"serve": "npx parcel serve --dist-dir .parcel-app app/index.html icons/*.png pages/*.html content/*/*/*",
"serve-https": "npx parcel serve --https --dist-dir public app/index.html pages/*.html content/*/*/*",
"build": "npm run clean; npm run build-pages; npm run build-app; npm run git-hash",
"build-app": "npx parcel build --no-cache --no-source-maps --no-optimize --no-content-hash --dist-dir public app/index.html",
"build-pages": "npx parcel build --no-cache --no-source-maps --no-optimize --no-content-hash --dist-dir public/ content/*/*/* pages/*.html",
"prettier": "npx prettier --write .",
"git-hash": "./update_commit.sh",
"clean": "rm -rf ./public/ &> /dev/null",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Alexander Popov <iiiypuk@fastmail.fm>",
"license": "WTFPL",
"devDependencies": {
"@parcel/packager-raw-url": "^2.9.3",
"@parcel/transformer-webmanifest": "^2.9.3",
"parcel": "^2.9.3",
"posthtml-include": "^1.7.4",
"prettier": "3.0.1"
}
}