Website_jan.su/package.json

77 lines
2.2 KiB
JSON
Raw Normal View History

2020-05-27 20:51:32 +02:00
{
"name": "Website_Jan.su",
"description": "My personal website",
2023-06-16 15:04:13 +02:00
"version": "2.1.2",
2020-05-27 20:51:32 +02:00
"homepage": "https://jan.su",
"url": "",
"email": "jan@schwerkraftlabor.de",
"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"
},
"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": {
"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",
"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:img": "rsync -av _source/img _dist/",
"copy:html": "rsync -av _source/*.html _dist/",
"copy:assets": "cp -r _source/*.png _source/*.txt _dist/",
2023-06-16 15:04:13 +02:00
"copy": "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",
2023-06-16 15:04:13 +02:00
"watch:html": "onchange '_source/**/*.html' -- npm run copy:html",
"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": [
"ff >= 10",
"ie >= 11",
"Chrome >= 10",
"iOS >= 10",
"Android >= 4",
"Safari >= 10"
2020-05-27 20:51:32 +02:00
]
}