Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.9 KiB

  1. {
  2. "name": "pomme-page",
  3. "version": "0.2.0",
  4. "description": "Big buttons with easy click startpage for a browser",
  5. "main": "src/index.pug",
  6. "author": "kikiklang",
  7. "license": "MIT",
  8. "scripts": {
  9. "dev": "npm run clean && npx parcel src/index.pug --out-dir development -p 3000",
  10. "build": "npm run clean && npx parcel build src/index.pug --no-cache",
  11. "serve": "npx serve dist",
  12. "clean": "rimraf ./development && rimraf -rf ./.cache && rimraf -rf ./dist",
  13. "prettier": "prettier --write 'src/**/*.pug'",
  14. "stylelint": "stylelint --fix './**/*.css'",
  15. "xo": "xo --env=browser --fix",
  16. "format": "npm run clean && npm run prettier && npm run stylelint && npm run xo"
  17. },
  18. "devDependencies": {
  19. "@babel/core": "^7.12.9",
  20. "@babel/preset-env": "^7.12.7",
  21. "@prettier/plugin-pug": "^1.13.3",
  22. "autoprefixer": "^9.8.6",
  23. "husky": "^4.3.0",
  24. "parcel-bundler": "^1.12.4",
  25. "prettier": "^2.2.1",
  26. "pug": "^3.0.0",
  27. "rimraf": "^3.0.2",
  28. "stylelint": "^13.7.2",
  29. "stylelint-color-format": "^1.1.0",
  30. "stylelint-config-rational-order": "^0.0.4",
  31. "stylelint-config-standard": "^20.0.0",
  32. "stylelint-group-selectors": "^1.0.8",
  33. "xo": "^0.37.1"
  34. },
  35. "browserslist": [
  36. "since 2017-06"
  37. ],
  38. "prettier": {
  39. "printWidth": 130,
  40. "singleQuote": true
  41. },
  42. "postcss": {
  43. "plugins": {
  44. "autoprefixer": {
  45. "grid": true
  46. }
  47. }
  48. },
  49. "stylelint": {
  50. "plugins": [
  51. "stylelint-color-format",
  52. "stylelint-group-selectors"
  53. ],
  54. "extends": [
  55. "stylelint-config-standard",
  56. "stylelint-config-rational-order"
  57. ],
  58. "rules": {
  59. "selector-type-no-unknown": null,
  60. "plugin/stylelint-group-selectors": true,
  61. "color-format/format": {
  62. "format": "hsl"
  63. }
  64. }
  65. },
  66. "xo": {
  67. "semicolon": false,
  68. "space": true
  69. },
  70. "husky": {
  71. "hooks": {
  72. "pre-commit": "npm run format"
  73. }
  74. }
  75. }