2020-05-27 20:51:32 +02:00
|
|
|
{
|
|
|
|
"name": "Website_Jan.su",
|
|
|
|
"description": "My personal website",
|
2023-05-06 00:38:34 +02:00
|
|
|
"version": "2.1.1",
|
2020-05-27 20:51:32 +02:00
|
|
|
"homepage": "https://jan.su",
|
|
|
|
"url": "",
|
|
|
|
"email": "jan@schwerkraftlabor.de",
|
2023-05-05 21:03:34 +02:00
|
|
|
"author": "Jan Jastrow",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=16",
|
|
|
|
"npm": ">=8"
|
|
|
|
},
|
|
|
|
"bin": {
|
|
|
|
"rimraf": "node_modules/.bin/rimraf"
|
2020-05-27 20:51:32 +02:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://gitea.schwerkraftlabor.de/jan/Website_Jan.su"
|
|
|
|
},
|
2023-05-05 21:03:34 +02:00
|
|
|
"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"
|
|
|
|
},
|
2020-05-27 20:51:32 +02:00
|
|
|
"devDependencies": {
|
2023-05-05 21:03:34 +02:00
|
|
|
"autoprefixer": "*",
|
|
|
|
"browser-sync": "*",
|
|
|
|
"concat": "*",
|
|
|
|
"cssnano": "^6.0.0",
|
|
|
|
"npm-run-all": "*",
|
|
|
|
"onchange": "*",
|
|
|
|
"postcss": "^8.4.21",
|
|
|
|
"postcss-cli": "*",
|
|
|
|
"rimraf": "^4.4.1",
|
2022-02-14 00:41:33 +01:00
|
|
|
"sanitize.css": "^13.0.0",
|
2023-05-05 21:03:34 +02:00
|
|
|
"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"
|
2020-05-27 20:51:32 +02:00
|
|
|
},
|
|
|
|
"browserslist": [
|
2023-05-05 21:03:34 +02:00
|
|
|
"ff >= 10",
|
|
|
|
"ie >= 11",
|
|
|
|
"Chrome >= 10",
|
|
|
|
"iOS >= 10",
|
|
|
|
"Android >= 4",
|
|
|
|
"Safari >= 10"
|
2020-05-27 20:51:32 +02:00
|
|
|
]
|
|
|
|
}
|