connect-coffee-script
Advanced tools
Comparing version 0.0.3 to 0.0.4
require('coffee-script'); | ||
module.exports = require('./lib/middleware') | ||
module.exports = require('./lib/middleware'); |
{ | ||
"name": "connect-coffee-script", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Simple connect middleware to serve CoffeeScript files", | ||
@@ -15,2 +15,7 @@ "author": "David Worms <david@adaltas.com>", | ||
}, | ||
"devDependencies" : { | ||
"rimraf" : "latest", | ||
"mocha": "latest", | ||
"should": "latest" | ||
}, | ||
"keywords": ["connect", "express", "coffeescript"], | ||
@@ -20,3 +25,6 @@ "repository": { | ||
"url" : "https://github.com/wdavidw/node-connect-coffee-script.git" | ||
}, | ||
"scripts": { | ||
"test": "make test" | ||
} | ||
} |
@@ -0,1 +1,3 @@ | ||
[![Build Status](https://secure.travis-ci.org/wdavidw/node-connect-coffee-script.png)](http://travis-ci.org/wdavidw/node-connect-coffee-script) | ||
# connect-coffee-script | ||
@@ -26,5 +28,6 @@ | ||
`src` Source directory used to find .styl files | ||
`dest` Destination directory used to output .css files when undefined defaults to `src`. | ||
`compile` Custom compile function, accepting the arguments `(str, options)`. | ||
`dest` Destination directory used to output .css files when undefined defaults to `src` | ||
`compile` Custom compile function, accepting the arguments `(str, options)` | ||
`bare` Compile without a top-level function wrapper | ||
`baseDir` Base directory for path resolution | ||
@@ -94,2 +97,11 @@ Basic example | ||
Contributors | ||
------------ | ||
* David Worms : <https://github.com/wdavidw> | ||
* Dave Wasmer : <https://github.com/davewasmer> | ||
@@ -18,3 +18,3 @@ | ||
app.use(connectCoffeeScript({ | ||
src: __dirname, | ||
src: __dirname + '/view', | ||
dest: __dirname + '/public', | ||
@@ -21,0 +21,0 @@ compile: compile |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
11992
10
137
106
3
1