Comparing version 0.3.10 to 0.3.11
@@ -15,3 +15,2 @@ /* | ||
pkg: grunt.file.readJSON('package.json'), | ||
meta: { | ||
@@ -24,27 +23,2 @@ banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' + | ||
}, | ||
// Release management | ||
release: { | ||
options: { | ||
pkgBump: true, | ||
compBump: true, | ||
add: false, | ||
commit: false, | ||
tag: false, | ||
push: false, | ||
pushTags: false, | ||
npm: false | ||
} | ||
}, | ||
// Run tests. | ||
mochaTest: { | ||
files: ['test/**/*.js'] | ||
}, | ||
mochaTestConfig: { | ||
options: { | ||
reporter: 'nyan' | ||
} | ||
}, | ||
jshint: { | ||
@@ -61,48 +35,15 @@ files: [ | ||
}, | ||
concat: { | ||
dist: { | ||
src: [ | ||
'<banner:meta.banner>', | ||
'<file_strip_banner:lib/<%= pkg.name %>.js>' | ||
], | ||
dest: 'dist/<%= pkg.name %>.js' | ||
} | ||
// Run tests. | ||
mochaTest: { | ||
files: ['test/**/*.js'] | ||
}, | ||
min: { | ||
dist: { | ||
src: [ | ||
'<banner:meta.banner>', | ||
'<config:concat.dist.dest>' | ||
], | ||
dest: '<%= pkg.name %>.min.js' | ||
mochaTestConfig: { | ||
options: { | ||
reporter: 'nyan' | ||
} | ||
}, | ||
uglify: {}, | ||
// Run other gruntfiles in project | ||
subgrunt: { | ||
examples: [ | ||
'examples/handlebars/Gruntfile.js', | ||
'examples/grid/Gruntfile.js' | ||
] | ||
}, | ||
watch: { | ||
all: { | ||
options: { debounceDelay: 250 }, | ||
files: ['<%= jshint.files %>'], | ||
tasks: ['jshint', 'mochaTest'] | ||
} | ||
} | ||
}); | ||
// Load npm plugins to provide necessary tasks. | ||
grunt.loadNpmTasks('grunt-release'); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-mocha-test'); | ||
@@ -115,18 +56,6 @@ | ||
grunt.registerTask('default', [ | ||
'test' | ||
'jshint' | ||
]); | ||
// Build examples. | ||
grunt.registerTask('examples', [ | ||
'subgrunt:examples' | ||
]); | ||
// Default task. | ||
grunt.registerTask('bump', [ | ||
'test', | ||
'release' | ||
]); | ||
// Tests to be run. | ||
// Placeholder for Travis CI until proper tests are setup. | ||
grunt.registerTask('test', [ | ||
@@ -133,0 +62,0 @@ 'jshint', |
@@ -347,3 +347,3 @@ | ||
/** | ||
* Convert new line (\n\r) to <br> | ||
* Convert new line (\n) to <br> | ||
* from http://phpjs.org/functions/nl2br:480 | ||
@@ -350,0 +350,0 @@ */ |
{ | ||
"name": "assemble", | ||
"description": "Get the rocks out of your socks. Assemble helps you _quickly launch static web projects_ by emphasizing a strong separation of concerns between structure, style, content and configuration.", | ||
"version": "0.3.10", | ||
"version": "0.3.11", | ||
"homepage": "https://github.com/assemble/assemble", | ||
@@ -35,3 +35,3 @@ "author": { | ||
"engines": { | ||
"node": "*" | ||
"node": ">= 0.8.0" | ||
}, | ||
@@ -50,8 +50,8 @@ "scripts": { | ||
"devDependencies": { | ||
"assemble-styles": "0.1.0", | ||
"grunt": "~0.4.0", | ||
"assemble-styles": "~0.2.0", | ||
"testem": "~0.2.68", | ||
"grunt-mocha-test": "~0.2.0", | ||
"chai": "~1.5.0", | ||
"grunt-contrib-jshint": "~0.1.0", | ||
"grunt-contrib-jshint": "~0.2.0", | ||
"grunt-contrib-watch": "~0.2.0", | ||
@@ -58,0 +58,0 @@ "grunt-release": "~0.2.0" |
@@ -1,2 +0,2 @@ | ||
# [Assemble](http://github.com/assemble/assemble) | ||
# [Assemble v0.3.9](http://github.com/assemble/assemble) [![Build Status](https://travis-ci.org/assemble/assemble.png?branch=master)](https://travis-ci.org/assemble/assemble) | ||
@@ -3,0 +3,0 @@ > Get the rocks out of your socks. |
@@ -21,4 +21,4 @@ /*global require:true */ | ||
}, | ||
originalContent: "---\r\nfoo: bar\r\nversion: 2\r\n---\r\n\r\n<span class=\"alert alert-info\">This is an alert</span>\r\n", | ||
content: "\r\n\r\n<span class=\"alert alert-info\">This is an alert</span>\r\n" | ||
originalContent: "---\nfoo: bar\nversion: 2\n---\n\n<span class=\"alert alert-info\">This is an alert</span>\n", | ||
content: "\n\n<span class=\"alert alert-info\">This is an alert</span>\n" | ||
}; | ||
@@ -57,5 +57,5 @@ | ||
var simple1 = "---\r\nfoo: bar\r\n"; | ||
var simple2 = "---\r\nfoo: bar\r\n---"; | ||
var simple3 = "---\r\nfoo: bar\r\n---\r\n\r\n<span class=\"alert alert-info\">This is an alert</span>\r\n"; | ||
var simple1 = "---\nfoo: bar\n"; | ||
var simple2 = "---\nfoo: bar\n---"; | ||
var simple3 = "---\nfoo: bar\n---\n\n<span class=\"alert alert-info\">This is an alert</span>\n"; | ||
@@ -68,3 +68,3 @@ var simpleExpected = { | ||
var complex = "---\r\nfoo: bar\r\nversion: 2\r\n---\r\n\r\n<span class=\"alert alert-info\">This is an alert</span>\r\n"; | ||
var complex = "---\nfoo: bar\nversion: 2\n---\n\n<span class=\"alert alert-info\">This is an alert</span>\n"; | ||
@@ -76,4 +76,4 @@ var complexExpected = { | ||
}, | ||
originalContent: "---\r\nfoo: bar\r\nversion: 2\r\n---\r\n\r\n<span class=\"alert alert-info\">This is an alert</span>\r\n", | ||
content: "\r\n\r\n<span class=\"alert alert-info\">This is an alert</span>\r\n" | ||
originalContent: "---\nfoo: bar\nversion: 2\n---\n\n<span class=\"alert alert-info\">This is an alert</span>\n", | ||
content: "\n\n<span class=\"alert alert-info\">This is an alert</span>\n" | ||
}; | ||
@@ -80,0 +80,0 @@ |
@@ -12,6 +12,6 @@ /*global require:true */ | ||
var simple = "## Some Markdown\r\n\r\n" + | ||
" - one\r\n" + | ||
" - two\r\n" + | ||
" - three\r\n\r\n" + | ||
var simple = "## Some Markdown\n\n" + | ||
" - one\n" + | ||
" - two\n" + | ||
" - three\n\n" + | ||
"[Click here](http://github.com)"; | ||
@@ -18,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36
1
101503
2288