Browse files

Build updates

  • Loading branch information...
1 parent 72e1515 commit bf84fb44727ce50e849d6523925e476f34ad80e6 @jacobrask committed Feb 11, 2013
Showing with 38 additions and 41 deletions.
  1. +0 −3 .npmignore
  2. +7 −20 grunt.js
  3. +31 −18 package.json
View
3 .npmignore
@@ -1,3 +0,0 @@
-node_modules/
-test/
-examples/
View
27 grunt.js
@@ -11,34 +11,22 @@ module.exports = function(grunt) {
aliases: [ 'jquery:jquery-browserify' ]
}
},
- jade: {
- html: {
- src: [ 'web/index.jade' ],
- dest: 'dist/index.html',
- options: { client: false, pretty: true }
- }
- },
concat: {
dist: {
src: [ 'web/*.css', 'web/views/*.css' ],
dest: 'dist/docs.css'
}
},
- min: {
- dist: {
- src: [ 'dist/docs.js' ],
- dest: 'dist/docs.js'
- }
- },
- mincss: {
- dist: {
- files: { 'dist/docs.css': [ '<config:concat.dist.src>' ]
- }
+ jade: {
+ html: {
+ src: [ 'web/index.jade' ],
+ dest: 'dist/index.html',
+ options: { client: false, pretty: true }
}
},
watch: {
files: [ 'web/**', 'grunt.js' ],
- tasks: 'browserify concat'
+ tasks: 'browserify concat jade'
},
lint: {
files: [ 'web/app.js', 'web/models/*.js', 'web/views/*.js' ]
@@ -72,8 +60,7 @@ module.exports = function(grunt) {
});
// Default task.
- grunt.registerTask('default', 'jade browserify:dist/docs.js min mincss');
- grunt.registerTask('dev', 'concat browserify:dist/docs.js');
+ grunt.registerTask('default', 'browserify concat jade');
grunt.loadNpmTasks("grunt-contrib");
grunt.loadNpmTasks('grunt-browserify');
View
49 package.json
@@ -1,28 +1,41 @@
{
"name": "styledocco",
"description": "Generate documentation and style/pattern guides from stylesheet comments.",
- "keywords": [ "styleguide", "css", "documentation", "pattern guide" ],
- "author": { "name": "Jacob Rask", "email": "jacob@jacobrask.net" },
+ "keywords": [
+ "styleguide",
+ "css",
+ "documentation",
+ "pattern guide"
+ ],
+ "author": {
+ "name": "Jacob Rask",
+ "email": "jacob@jacobrask.net"
+ },
"version": "0.7.0alpha",
"homepage": "http://jacobrask.github.com/styledocco/",
- "licenses": [ { "type": "MIT", "url": "http://github.com/jacobrask/styledocco/raw/master/LICENSE" } ],
- "bugs": { "url": "https://github.com/jacobrask/styledocco/issues" },
- "repository": { "type": "git", "url": "git://github.com/jacobrask/styledocco.git" },
- "engines": { "node": ">=0.4.0" },
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "http://github.com/jacobrask/styledocco/raw/master/LICENSE"
+ }
+ ],
+ "bugs": {
+ "url": "https://github.com/jacobrask/styledocco/issues"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/jacobrask/styledocco.git"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ },
"preferGlobal": true,
"devDependencies": {
- "async": "0.1.x",
- "backbone": "0.9.x",
- "buster": "0.6.x",
- "buster-test-cli": "0.6.x",
- "grunt": "0.3.x",
- "grunt-browserify": "0.1.x",
- "grunt-contrib": "0.1.x",
- "jade": "0.27.x",
- "jshint": "0.7.x",
- "jquery-browserify": "1.8.x",
- "marked": "0.2.x",
- "underscore": "1.3.x"
+ "backbone": "~0.9.10",
+ "less": "~1.3.3",
+ "grunt": "~0.3.17",
+ "grunt-contrib": "~0.3.0",
+ "grunt-browserify": "~0.1.2"
},
"scripts": {
"prepublish": "grunt"

0 comments on commit bf84fb4

Please sign in to comment.