mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 23:12:52 +02:00
enable source maps during development (#916)
This commit is contained in:
committed by
Ian Storm Taylor
parent
e66adf1295
commit
ccb7a23ba3
@@ -106,7 +106,7 @@
|
|||||||
"test": "npm-run-all build:test tests",
|
"test": "npm-run-all build:test tests",
|
||||||
"tests": "mocha --compilers js:babel-core/register ./test/index.js",
|
"tests": "mocha --compilers js:babel-core/register ./test/index.js",
|
||||||
"watch": "npm-run-all --parallel --print-label watch:lib watch:examples start",
|
"watch": "npm-run-all --parallel --print-label watch:lib watch:examples start",
|
||||||
"watch:lib": "babel --watch --out-dir ./lib ./src",
|
"watch:lib": "babel --watch --out-dir ./lib ./src --source-maps inline",
|
||||||
"watch:examples": "watchify --debug --transform babelify ./examples/index.js -o ./examples/build.dev.js -v"
|
"watch:examples": "watchify --debug --transform babelify ./examples/index.js -o ./examples/build.dev.js -v"
|
||||||
},
|
},
|
||||||
"browserify-global-shim": {
|
"browserify-global-shim": {
|
||||||
|
Reference in New Issue
Block a user