Render Nunjucks templates in the browser. https://nunjucks.bauke.xyz
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.
 
 
 

58 lines
1.5 KiB

  1. {
  2. "name": "nunjucks-playground",
  3. "description": "Render Nunjucks templates in the browser.",
  4. "version": "0.1.0",
  5. "author": "Bauke <me@bauke.xyz>",
  6. "homepage": "https://nunjucks.bauke.xyz",
  7. "repository": "https://git.holllo.cc/Bauke/nunjucks-playground",
  8. "license": "MIT",
  9. "scripts": {
  10. "start": "parcel 'source/index.html' -d 'public' --open",
  11. "build": "parcel build 'source/index.html' -d 'public' --no-source-maps",
  12. "test": "xo && stylelint 'source/scss/*.scss'",
  13. "deploy": "rm -rf 'public/' && yarn build && yarn deploy:netlify",
  14. "deploy:netlify": "netlify deploy --prod --dir 'public/' -s 512e6d8e-19dc-4707-bbdf-3467d6ea3bbc"
  15. },
  16. "dependencies": {
  17. "codemirror": "^5.56.0",
  18. "modern-normalize": "^0.7.0",
  19. "nunjucks": "^3.2.2"
  20. },
  21. "devDependencies": {
  22. "husky": "^4.2.5",
  23. "netlify-cli": "^2.58.0",
  24. "parcel-bundler": "^1.12.4",
  25. "sass": "^1.26.10",
  26. "stylelint": "^13.6.1",
  27. "stylelint-config-xo-scss": "^0.13.0",
  28. "stylelint-config-xo-space": "^0.14.0",
  29. "xo": "^0.32.1"
  30. },
  31. "stylelint": {
  32. "extends": [
  33. "stylelint-config-xo-scss",
  34. "stylelint-config-xo-space"
  35. ],
  36. "rules": {
  37. "at-rule-no-unknown": null,
  38. "no-descending-specificity": null
  39. }
  40. },
  41. "xo": {
  42. "globals": [
  43. "atob",
  44. "btoa",
  45. "document",
  46. "window"
  47. ],
  48. "prettier": true,
  49. "space": true
  50. },
  51. "husky": {
  52. "hooks": {
  53. "pre-commit": "yarn test",
  54. "pre-push": "yarn test"
  55. }
  56. }
  57. }