Website_jan.su/package.json
2023-05-06 00:38:34 +02:00

78 lines
2.4 KiB
JSON

{
"name": "Website_Jan.su",
"description": "My personal website",
"version": "2.1.1",
"homepage": "https://jan.su",
"url": "",
"email": "jan@schwerkraftlabor.de",
"author": "Jan Jastrow",
"engines": {
"node": ">=16",
"npm": ">=8"
},
"bin": {
"rimraf": "node_modules/.bin/rimraf"
},
"repository": {
"type": "git",
"url": "https://gitea.schwerkraftlabor.de/jan/Website_Jan.su"
},
"dependencies": {
"immutable": "^4.3.0",
"is-extglob": "^2.1.1",
"is-glob": "^4.0.3",
"normalize-path": "^3.0.0",
"picomatch": "^2.3.1",
"source-map-js": "^1.0.2"
},
"devDependencies": {
"autoprefixer": "*",
"browser-sync": "*",
"concat": "*",
"cssnano": "^6.0.0",
"npm-run-all": "*",
"onchange": "*",
"postcss": "^8.4.21",
"postcss-cli": "*",
"rimraf": "^4.4.1",
"sanitize.css": "^13.0.0",
"sass": "^1.60.0",
"uglify-js": "^3.17"
},
"scripts": {
"reinstall": "rimraf node_modules && npm install",
"clean": "rimraf _dist",
"mkdirs": "mkdir -p _dist/js && mkdir -p _dist/css",
"copy:php": "rsync -av --prune-empty-dirs --include '*/' --include '*.php' --exclude '*' _source/ _dist/",
"copy:img": "rsync -av _source/img _dist/",
"copy:html": "rsync -av _source/*.html _dist/",
"copy:assets": "cp -r _source/*.png _source/*.txt _dist/",
"copy": "npm run copy:php && npm run copy:img && npm run copy:assets && npm run copy:html",
"sass": "sass _source/scss/main.scss _dist/css/main.css ",
"concat:css": "concat -o _dist/css/addons.css node_modules/sanitize.css/sanitize.css",
"autoprefix:sass": "postcss -o _dist/css/main.min.css _dist/css/main.css",
"autoprefix:addons": "postcss -o _dist/css/addons.min.css _dist/css/addons.css",
"build:sass": "npm run sass && npm run autoprefix:sass",
"build:css": "npm run concat:css && npm run autoprefix:addons",
"watch:css": "onchange '_source/scss/*.scss' -- npm run build:sass",
"watch:php": "onchange '_source/**/*.php' -- npm run copy:php",
"watch:img": "onchange '_source/img/*' -- npm run copy:img",
"watch": "npm-run-all --parallel watch:*",
"build": "npm run clean && npm run mkdirs && npm run copy && npm run build:sass && npm run build:css",
"dev": "npm run watch & browser-sync start --proxy intranet/ --startPath /dev/ --files '_dist/' --no-open"
},
"browserslist": [
"ff >= 10",
"ie >= 11",
"Chrome >= 10",
"iOS >= 10",
"Android >= 4",
"Safari >= 10"
]
}