package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "drupal-bootstrap",
  3. "version": "7.3.0-dev",
  4. "private": true,
  5. "devDependencies": {
  6. "bower": "~1.3.0",
  7. "glob": "^5.0.14",
  8. "grunt": "^0.4.5",
  9. "grunt-contrib-clean": "^0.6.0",
  10. "grunt-contrib-watch": "^0.6.1",
  11. "grunt-githooks": "^0.3.1",
  12. "inquirer": "^0.9.0",
  13. "less": "^2.5.1",
  14. "less-plugin-autoprefix": "^1.4.2",
  15. "less-plugin-clean-css": "^1.5.1",
  16. "load-grunt-config": "^0.17.2",
  17. "queue": "^3.1.0",
  18. "request": "^2.60.0",
  19. "sync-exec": "^0.6.1",
  20. "time-grunt": "^1.2.1"
  21. },
  22. "scripts": {
  23. "postinstall": "grunt install"
  24. },
  25. "caches": {
  26. "libraries": ".libraries"
  27. },
  28. "paths": {
  29. "css": "css",
  30. "js": "js",
  31. "libraries": "lib"
  32. },
  33. "urls": {
  34. "jsdelivr": "https://api.jsdelivr.com/v1/bootstrap/libraries"
  35. },
  36. "githooks": {
  37. "post-checkout": [
  38. {
  39. "files": [
  40. "package.json",
  41. "Gruntfile.js",
  42. ".githooks.js.hbs",
  43. "grunt/**/*"
  44. ],
  45. "commands": "npm install",
  46. "matchAll": false
  47. }
  48. ],
  49. "post-merge": [
  50. {
  51. "files": [
  52. "package.json",
  53. "Gruntfile.js",
  54. ".githooks.js.hbs",
  55. "grunt/**/*"
  56. ],
  57. "commands": "npm install",
  58. "matchAll": false
  59. }
  60. ],
  61. "pre-commit": [
  62. {
  63. "files": "starterkits/less/less/**/*.less",
  64. "commands": [
  65. "grunt compile"
  66. ],
  67. "matchAll": false,
  68. "staged": true
  69. }
  70. ],
  71. "post-commit": [
  72. {
  73. "files": "css/**/*.css",
  74. "commands": [
  75. "git add css/**/*.css",
  76. "git commit -m 'Automated Grunt Commit: Compile CSS'"
  77. ],
  78. "matchAll": false
  79. }
  80. ]
  81. }
  82. }