1
Fork 0
bauke-xyz/package.json

58 lines
1.6 KiB
JSON

{
"name": "bauke.xyz",
"description": "My personal website.",
"version": "0.1.7",
"author": "Bauke <me@bauke.xyz>",
"homepage": "https://bauke.xyz",
"repository": "https://git.holllo.cc/Bauke/bauke.xyz",
"license": "MIT",
"scripts": {
"start": "nodemon --watch 'source/' --exec 'yarn build' --ext 'html css'",
"build": "yarn build:cpy && yarn build:css && yarn build:userscripts && yarn build:userstyles",
"build:cpy": "cpy '**' '!index.js' '!userstyles/*' '!userscripts/*' '../public/' --cwd='source' --parents",
"build:css": "cpy 'node_modules/modern-normalize/modern-normalize.css' 'public/css/'",
"build:userscripts": "node 'source/userscripts.js'",
"build:userstyles": "node 'source/userstyles.js'",
"test": "xo && stylelint 'source/css/*.css'",
"deploy": "rm -rf 'public/' && yarn build && yarn deploy:netlify",
"deploy:netlify": "netlify deploy --prod --dir 'public/' -s 37bb1f7c-2abb-419f-9a31-a4b72209c1c8"
},
"dependencies": {
"modern-normalize": "^0.7.0"
},
"devDependencies": {
"cpy-cli": "^3.1.1",
"husky": "^4.2.5",
"netlify-cli": "^2.58.0",
"nodemon": "^2.0.4",
"nunjucks": "^3.2.2",
"stylelint": "^13.6.1",
"stylelint-config-xo-space": "^0.14.0",
"xo": "^0.32.1"
},
"stylelint": {
"extends": [
"stylelint-config-xo-space"
],
"rules": {
"no-descending-specificity": null
}
},
"xo": {
"ignores": [
"submodules/**/*.js"
],
"prettier": true,
"rules": {
"no-await-in-loop": "off"
},
"space": true
},
"husky": {
"hooks": {
"pre-commit": "yarn test",
"pre-push": "yarn test"
}
}
}