mirror of
https://github.com/status-im/burnchart.git
synced 2025-01-27 02:45:47 +00:00
switch to node based static file serveer
This commit is contained in:
parent
661aaf2e12
commit
bd9a43e1a9
@ -69,8 +69,8 @@ module.exports = (grunt) ->
|
||||
grunt.loadNpmTasks('grunt-contrib-cssmin')
|
||||
grunt.loadNpmTasks('grunt-gh-pages');
|
||||
|
||||
# Stylus to CSS, concat JS libs and all CSS.
|
||||
grunt.registerTask('default', [
|
||||
# Stylus to CSS, concat all CSS.
|
||||
grunt.registerTask('style', [
|
||||
'stylus:app'
|
||||
'concat:css'
|
||||
])
|
||||
|
4
Makefile
4
Makefile
@ -8,13 +8,13 @@ watch:
|
||||
|
||||
# Serve locally.
|
||||
serve:
|
||||
cd public; python -m SimpleHTTPServer 8000
|
||||
./node_modules/.bin/static public -H '{"Cache-Control": "no-cache, must-revalidate"}'
|
||||
|
||||
# Make a minified package.
|
||||
build:
|
||||
grunt init
|
||||
./node_modules/.bin/browserify -e ./src/app.coffee -o public/js/app.bundle.js
|
||||
grunt
|
||||
grunt style
|
||||
grunt minify
|
||||
|
||||
# Publish to GitHub Pages.
|
||||
|
@ -14,7 +14,7 @@
|
||||
##Next Release
|
||||
|
||||
- [ ] https://github.com/medic/medic-webapp project is overdue and trendline & ideal line end on that date; should max on that date or today's date
|
||||
- [ ] https://github.com/ractivejs/ractive gives me NaN for a milestone progress %
|
||||
- [*] https://github.com/ractivejs/ractive gives me NaN for a milestone progress %
|
||||
- [ ] http://burnchart.io#rails I would expect it to list all the projects for that owner so I can select one of them (Ryan)
|
||||
- [ ] why didn't Reset DB load demo data? (Ryan)
|
||||
|
||||
|
@ -32,7 +32,8 @@
|
||||
"ractivate": "~0.2.0",
|
||||
"browserify": "~6.1.0",
|
||||
"watchify": "~2.1.0",
|
||||
|
||||
"node-static": "~0.7.6",
|
||||
|
||||
"mocha": "~2.0.1",
|
||||
"coffee-script": "~1.8.0",
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user