cli browserify generating source maps
This commit is contained in:
parent
760462dfac
commit
23b8690ef5
|
@ -79,8 +79,8 @@ module.exports = (grunt) ->
|
||||||
grunt.loadNpmTasks('grunt-contrib-clean')
|
grunt.loadNpmTasks('grunt-contrib-clean')
|
||||||
|
|
||||||
grunt.registerTask('default', [
|
grunt.registerTask('default', [
|
||||||
'clean'
|
#'clean'
|
||||||
'browserify'
|
#'browserify'
|
||||||
'stylus'
|
'stylus'
|
||||||
'concat'
|
'concat'
|
||||||
])
|
])
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -3,6 +3,7 @@ install:
|
||||||
bower install
|
bower install
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
./node_modules/.bin/browserify -e ./src/app.coffee -o public/js/app.js -d
|
||||||
grunt
|
grunt
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
|
|
1
TODO.md
1
TODO.md
|
@ -74,6 +74,7 @@
|
||||||
|
|
||||||
- [ ] `rails/rails/24` has issues in two clusters as if merged from two milestones
|
- [ ] `rails/rails/24` has issues in two clusters as if merged from two milestones
|
||||||
- [ ] trendline cutting into axes
|
- [ ] trendline cutting into axes
|
||||||
|
- [ ] Browserify does not generate source maps
|
||||||
|
|
||||||
###Error Handling
|
###Error Handling
|
||||||
|
|
||||||
|
|
11
package.json
11
package.json
|
@ -13,11 +13,18 @@
|
||||||
"grunt-contrib-watch": "~0.6.1",
|
"grunt-contrib-watch": "~0.6.1",
|
||||||
"grunt-watchify": "~0.1.0",
|
"grunt-watchify": "~0.1.0",
|
||||||
"coffeeify": "~0.7.0L",
|
"coffeeify": "~0.7.0L",
|
||||||
"ractivate": "~0.2.0"
|
"ractivate": "~0.2.0",
|
||||||
|
"browserify": "~6.1.0"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/radekstepan/burnchart.io.git"
|
"url": "git://github.com/radekstepan/burnchart.io.git"
|
||||||
},
|
},
|
||||||
"author": "Radek <dev@radekstepan.com>"
|
"author": "Radek <dev@radekstepan.com>",
|
||||||
|
"browserify": {
|
||||||
|
"transform": [
|
||||||
|
"coffeeify",
|
||||||
|
"ractivate"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue