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