a2s.su/package.json

27 lines
1.1 KiB
JSON
Raw Normal View History

2023-08-03 21:18:50 +03:00
{
"private": true,
"name": "a2s",
"version": "1.0.0",
"description": "ololo",
"scripts": {
2023-08-06 02:52:05 +03:00
"serve": "npx parcel serve --dist-dir .parcel-app app/index.html pages/*.html content/*/*/*",
"serve-https": "npx parcel serve --https --dist-dir public app/index.html pages/*.html content/*/*/*",
2023-08-06 01:36:52 +03:00
"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",
2023-08-06 02:52:05 +03:00
"build-pages": "npx parcel build --no-cache --no-source-maps --no-optimize --no-content-hash --dist-dir public/ content/*/*/* pages/*.html",
2023-08-03 21:18:50 +03:00
"prettier": "npx prettier --write .",
2023-08-04 00:45:01 +03:00
"git-hash": "./update_commit.sh",
2023-08-06 02:52:05 +03:00
"clean": "rm -rf ./public/ &> /dev/null",
2023-08-03 21:18:50 +03:00
"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"
}
}