Permalink
Browse files

Update package.json to define test, prepublish scripts. Also, renamed…

… sample to example as per npm recommendations.
  • Loading branch information...
1 parent 0871970 commit dbaa89e127504f8136b7d80b0a9dc9104f9c17bd @laktek committed Sep 29, 2012
Showing with 29 additions and 18 deletions.
  1. 0 {sample → example}/.last_published
  2. 0 {sample → example}/config.json
  3. 0 {sample → example}/contents/_index/content.markdown
  4. 0 {sample → example}/contents/_service/.test
  5. 0 {sample → example}/contents/_service/content.markdown
  6. 0 {sample → example}/contents/about.json
  7. 0 {sample → example}/contents/index.json
  8. 0 {sample → example}/contents/shared.json
  9. BIN {sample → example}/contents/sub/.DS_Store
  10. 0 {sample → example}/contents/sub/index.json
  11. 0 {sample → example}/contents/sub/page1.json
  12. 0 {sample → example}/contents/sub2/subsub/deep_sub/deeper_sub/index.json
  13. 0 {sample → example}/contents/sub2/subsub/page1.json
  14. 0 {sample → example}/public/404.html
  15. 0 {sample → example}/public/about.html
  16. 0 {sample → example}/public/assets/all.css
  17. 0 {sample → example}/public/assets/all.js
  18. BIN {sample → example}/public/assets/image.jpg
  19. 0 {sample → example}/public/assets/js/jquery.1.8.js
  20. 0 {sample → example}/public/assets/js/sample.js
  21. 0 {sample → example}/public/assets/js/site.js
  22. 0 {sample → example}/public/assets/styles.css
  23. 0 {sample → example}/public/assets/syntax.css
  24. 0 {sample → example}/public/index.html
  25. 0 {sample → example}/public/service.html
  26. 0 {sample → example}/public/static.html
  27. 0 {sample → example}/public/sub/index.html
  28. 0 {sample → example}/public/sub/page1.html
  29. 0 {sample → example}/public/sub2/subsub/deep_sub/deeper_sub/index.html
  30. 0 {sample → example}/public/sub2/subsub/page1.html
  31. 0 {sample → example}/templates/404.html
  32. 0 {sample → example}/templates/_footer.mustache
  33. 0 {sample → example}/templates/_header.mustache
  34. 0 {sample → example}/templates/_layout.mustache
  35. 0 {sample → example}/templates/_layout.rss.mustache
  36. BIN {sample/templates → example/templates/assets}/.DS_Store
  37. BIN {sample → example}/templates/assets/image.jpg
  38. 0 {sample → example}/templates/assets/js/jquery.1.8.js
  39. 0 {sample → example}/templates/assets/js/sample.coffee
  40. 0 {sample → example}/templates/assets/js/site.js
  41. 0 {sample → example}/templates/assets/less/1382.less
  42. 0 {sample → example}/templates/assets/less/2x.less
  43. 0 {sample → example}/templates/assets/less/320andup.less
  44. 0 {sample → example}/templates/assets/less/480.less
  45. 0 {sample → example}/templates/assets/less/600.less
  46. 0 {sample → example}/templates/assets/less/768.less
  47. 0 {sample → example}/templates/assets/less/992.less
  48. 0 {sample → example}/templates/assets/less/buttons.less
  49. 0 {sample → example}/templates/assets/less/colour.less
  50. 0 {sample → example}/templates/assets/less/elements.less
  51. 0 {sample → example}/templates/assets/less/font-awesome.less
  52. 0 {sample → example}/templates/assets/less/forms.less
  53. 0 {sample → example}/templates/assets/less/mixins.less
  54. 0 {sample → example}/templates/assets/less/modernizr.less
  55. 0 {sample → example}/templates/assets/less/page.less
  56. 0 {sample → example}/templates/assets/less/print.less
  57. 0 {sample → example}/templates/assets/less/reset.less
  58. 0 {sample → example}/templates/assets/less/site.less
  59. 0 {sample → example}/templates/assets/less/tables.less
  60. 0 {sample → example}/templates/assets/less/texture.less
  61. 0 {sample → example}/templates/assets/less/typography.less
  62. 0 {sample → example}/templates/assets/less/upstarts/320andup-display-table/index.html
  63. 0 {sample → example}/templates/assets/less/upstarts/320andup-display-table/upstart.less
  64. 0 {sample → example}/templates/assets/less/upstarts/320andup-modules/example.html
  65. 0 {sample → example}/templates/assets/less/upstarts/320andup-modules/index.html
  66. 0 {sample → example}/templates/assets/less/upstarts/320andup-modules/upstart.less
  67. 0 {sample → example}/templates/assets/less/upstarts/320andup-panels/index.html
  68. 0 {sample → example}/templates/assets/less/upstarts/320andup-panels/upstart.less
  69. 0 {sample → example}/templates/assets/less/variables.less
  70. 0 {sample → example}/templates/assets/styles.less
  71. 0 {sample → example}/templates/assets/syntax.css
  72. 0 {sample → example}/templates/index.mustache
  73. 0 {sample → example}/templates/static.html
  74. 0 {sample → example}/templates/sub/_header.mustache
  75. 0 {sample → example}/templates/sub/_layout.mustache
  76. 0 {sample → example}/templates/sub/index.mustache
  77. 0 {sample → example}/templates/sub2/_layout.mustache
  78. 0 {sample → example}/templates/sub2/subsub/_layout.mustache
  79. 0 {sample → example}/templates/sub2/subsub/deep_sub/_layout.mustache
  80. BIN {sample/templates/assets → example/templates/sub2/subsub/deep_sub/deeper_sub}/.DS_Store
  81. +29 −18 package.json
  82. BIN sample/.DS_Store
  83. BIN sample/templates/sub2/subsub/deep_sub/deeper_sub/.DS_Store
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -6,26 +6,37 @@
, "homepage": "https://github.com/laktek/punch"
, "author": "Lakshan Perera <lakshan@web2media.net> (http://laktek.com)"
, "licenses": "MIT"
+ , "bugs": { "url" : "http://github.com/laktek/punch/issues" }
, "repository": {
- "type": "git"
- , "url": "https://github.com/laktek/punch.git"
- }
+ "type": "git"
+ , "url": "https://github.com/laktek/punch.git"
+ }
, "main": "./lib/index.js"
, "bin": "bin/punch"
, "dependencies": {
- "coffee-script" : ">= 1.3.3"
- , "connect" : ">= 2.4.4"
- , "cssmin" : ">= 0.3.1"
- , "fresh" : ">= 0.1.0"
- , "fstream" : ">= 0.1.18"
- , "http-accept" : ">= 0.1.1-3"
- , "knox" : ">= 0.0.9"
- , "less" : ">= 1.3.0"
- , "marked" : ">= 0.2.5"
- , "mime" : ">= 1.2.5"
- , "mustache" : ">0.7.0 || >=0.5.2 <0.7.0"
- , "sftp" : "git://github.com/laktek/node-sftp.git"
- , "uglify-js" : ">= 1.3.3"
- , "underscore" : ">= 1.3.1"
- }
+ "coffee-script" : ">= 1.3.3"
+ , "connect" : ">= 2.4.4"
+ , "cssmin" : ">= 0.3.1"
+ , "fresh" : ">= 0.1.0"
+ , "fstream" : ">= 0.1.18"
+ , "http-accept" : ">= 0.1.1-3"
+ , "knox" : ">= 0.0.9"
+ , "less" : ">= 1.3.0"
+ , "marked" : ">= 0.2.5"
+ , "mime" : ">= 1.2.5"
+ , "mustache" : ">0.7.0 || >=0.5.2 <0.7.0"
+ , "sftp" : "git://github.com/laktek/node-sftp.git"
+ , "uglify-js" : ">= 1.3.3"
+ , "underscore" : ">= 1.3.1"
+ }
+ , "devDependencies": {
+ "jasmine-node": ">= 1.0.26"
+ , "jshint": ">= 0.9.1"
+ }
+ , "scripts": {
+ "test": "jasmine-node spec"
+ , "prepublish": "sh misc/prepublish.sh"
+ }
+ , "preferGlobal": true
+
}
View
Binary file not shown.
Binary file not shown.

0 comments on commit dbaa89e

Please sign in to comment.