package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "cheatsheets",
  3. "description": "Devhints.io",
  4. "version": "1.0.0",
  5. "author": "Rico Sta. Cruz <rstacruz@users.noreply.github.com>",
  6. "dependencies": {
  7. "autoprefixer": "^9.8.2",
  8. "dom101": "^2.2.1",
  9. "hint.css": "^2.6.0",
  10. "isotope-layout": "^3.0.6",
  11. "lodash.noop": "^3.0.1",
  12. "modularscale-sass": "^3.0.10",
  13. "onmount": "^1.3.0",
  14. "postcss-modules": "^2.0.0",
  15. "prismjs": "^1.20.0",
  16. "sanitize.css": "^11.0.1",
  17. "sass": "^1.26.8"
  18. },
  19. "devDependencies": {
  20. "@babel/core": "^7.10.2",
  21. "@babel/preset-env": "^7.10.2",
  22. "@rstacruz/prettier-plugin-markdown-code-fences": "^1.0.0",
  23. "jest": "26.0.1",
  24. "jest-html": "1.5.0",
  25. "netlify-plugin-minify-html": "^0.2.3",
  26. "npm-run-all": "^4.1.5",
  27. "parcel-bundler": "^1.12.4",
  28. "prettier": "^2.0.5",
  29. "wait-on": "^5.0.1"
  30. },
  31. "homepage": "https://devhints.io/",
  32. "jest": {
  33. "snapshotSerializers": [
  34. "<rootDir>/node_modules/jest-html"
  35. ]
  36. },
  37. "license": "MIT",
  38. "main": "index.js",
  39. "private": true,
  40. "repository": "https://github.com/rstacruz/cheatsheets.git",
  41. "scripts": {
  42. "build": "run-s -s 'parcel:*:build' jekyll:build",
  43. "dev": "run-p -sl jekyll:watch 'parcel:*:watch'",
  44. "jekyll:build": "bundle exec jekyll build",
  45. "jekyll:watch": "wait-on assets/packed/app.js && wait-on _includes/2017/critical/critical-sheet.css && bundle exec jekyll serve --safe --trace --drafts --watch --incremental --host ${HOST:-0.0.0.0} --port ${PORT:-3000}",
  46. "jest-html": "jest-html",
  47. "parcel:app:build": "parcel build '_parcel/app.js' -d assets/packed --no-source-maps --no-autoinstall",
  48. "parcel:app:watch": "parcel watch '_parcel/app.js' -d assets/packed --no-source-maps --no-autoinstall",
  49. "parcel:build": "run-s -s 'parcel:*:build'",
  50. "parcel:critical:build": "parcel build '_parcel/critical*.js' -d _includes/2017/critical --no-source-maps --no-autoinstall",
  51. "parcel:critical:watch": "parcel watch '_parcel/critical*.js' -d _includes/2017/critical --no-source-maps --no-autoinstall",
  52. "predev": "rm -rf assets/packed _includes/2017/critical",
  53. "prejekyll:build": "bundle",
  54. "prejekyll:watch": "bundle",
  55. "prettier:format": "prettier --write '_parcel/**/*.{js,scss}'",
  56. "test": "jest",
  57. "test:smoke": "bash _support/smoke_test.sh"
  58. },
  59. "volta": {
  60. "node": "16.14.2",
  61. "yarn": "1.22.18"
  62. }
  63. }