Commit 42fade95 by Nick Schonning

Revert "make package.json OCD complaint"

This reverts commit 4e3c6187.
parent 4e3c6187
...@@ -52,7 +52,7 @@ The API for using node-sass has changed, so that now there is only one variable ...@@ -52,7 +52,7 @@ The API for using node-sass has changed, so that now there is only one variable
[Important: currently the argument `outputStyle` has some problem which may cause the output css becomes nothing because of the libsass, so you should not use it now!] [Important: currently the argument `outputStyle` has some problem which may cause the output css becomes nothing because of the libsass, so you should not use it now!]
#### sourceComments #### sourceComments
`sourceComments` is a `String` to determine what debug information is included in the output file. Its value should be one of `'none', 'normal'`. The default is `'none'`. `sourceComments` is a `String` to determine what debug information is included in the output file. Its value should be one of `'none', 'normal', 'map'`. The default is `'none'`.
[Important: `souceComments` is only supported when using the `file` option, and does nothing when using `data` flag.] [Important: `souceComments` is only supported when using the `file` option, and does nothing when using `data` flag.]
### Examples ### Examples
...@@ -92,18 +92,13 @@ var server = connect.createServer( ...@@ -92,18 +92,13 @@ var server = connect.createServer(
, dest: __dirname + '/public' , dest: __dirname + '/public'
, debug: true , debug: true
, outputStyle: 'compressed' , outputStyle: 'compressed'
, prefix: '/prefix'
}), }),
connect.static('/prefix', __dirname + '/public') connect.static(__dirname + '/public')
); );
``` ```
Heavily inspired by <https://github.com/LearnBoost/stylus> Heavily inspired by <https://github.com/LearnBoost/stylus>
## DocPad Plugin
[@jking90](https://github.com/jking90) wrote a [DocPad](http://docpad.org/) plugin that compiles `.scss` files using node-sass: <https://github.com/jking90/docpad-plugin-nodesass>
## Grunt extension ## Grunt extension
[@sindresorhus](https://github.com/sindresorhus/) has created a set of grunt tasks based on node-sass: <https://github.com/sindresorhus/grunt-sass> [@sindresorhus](https://github.com/sindresorhus/) has created a set of grunt tasks based on node-sass: <https://github.com/sindresorhus/grunt-sass>
...@@ -146,14 +141,6 @@ Output will be saved with the same name as input SASS file into the current work ...@@ -146,14 +141,6 @@ Output will be saved with the same name as input SASS file into the current work
--include-path Path to look for @import-ed files [default: cwd] --include-path Path to look for @import-ed files [default: cwd]
--help, -h Print usage info --help, -h Print usage info
## Post-install Build
Install runs a series of Mocha tests to see if your machine can use the pre-built `libsass` which will save some time during install. If any tests fail it will build from source.
If you know the pre-built version will work and do not want to wait for the tests to run you can skip the tests by setting the environment variable `SKIP_NODE_SASS_TESTS` to true.
SKIP_NODE_SASS_TESTS=true npm install
## Contributors ## Contributors
Special thanks to the following people for submitting patches: Special thanks to the following people for submitting patches:
...@@ -161,7 +148,6 @@ Dean Mao ...@@ -161,7 +148,6 @@ Dean Mao
Brett Wilkins Brett Wilkins
litek litek
gonghao gonghao
Dylan Greene
### Note on Patches/Pull Requests ### Note on Patches/Pull Requests
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
'libsass/prelexer.cpp', 'libsass/prelexer.cpp',
'libsass/sass.cpp', 'libsass/sass.cpp',
'libsass/sass_interface.cpp', 'libsass/sass_interface.cpp',
'libsass/source_map.cpp',
'libsass/to_c.cpp', 'libsass/to_c.cpp',
'libsass/to_string.cpp', 'libsass/to_string.cpp',
'libsass/source_map.cpp',
'libsass/units.cpp' 'libsass/units.cpp'
], ],
'cflags!' : [ '-fno-exceptions' ], 'cflags!' : [ '-fno-exceptions' ],
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"author": "Andrew Nesbitt <andrewnez@gmail.com> (http://andrew.github.com)", "author": "Andrew Nesbitt <andrewnez@gmail.com> (http://andrew.github.com)",
"name": "node-sass", "name": "node-sass",
"description": "wrapper around libsass", "description": "wrapper around libsass",
"version": "0.7.0", "version": "0.5.4",
"homepage": "https://github.com/andrew/node-sass", "homepage": "https://github.com/andrew/node-sass",
"keywords": [ "keywords": [
"sass", "sass",
...@@ -24,9 +24,8 @@ ...@@ -24,9 +24,8 @@
"url": "git://github.com/andrew/node-sass.git" "url": "git://github.com/andrew/node-sass.git"
}, },
"scripts": { "scripts": {
"install": "node build.js", "install": "node rebuild.js",
"test": "mocha test", "test": "mocha test"
"prepublish": "bash scripts/prepublish.sh"
}, },
"bin": { "bin": {
"node-sass": "bin/node-sass" "node-sass": "bin/node-sass"
...@@ -37,10 +36,10 @@ ...@@ -37,10 +36,10 @@
}, },
"dependencies": { "dependencies": {
"mkdirp": "0.3.x", "mkdirp": "0.3.x",
"optimist": "0.6.x", "colors": "0.6.0-1",
"node-watch": "0.3.x", "optimist": "0.4.x"
"mocha": "1.13.x", },
"chalk": "~0.3.0", "devDependencies": {
"nan": "~0.6.0" "mocha": "1.7.x"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment