uppy/examples/dev/package.json
Renée Kooi 065b1271dd
fix babel on dev example
have to set --cwd to make babelify transform files outside of the
current working directory.

in other examples, we use the lib/ files, so it's not necessary; here we
use the src/ files that need to be babelified still.
2019-05-20 11:49:36 +02:00

18 lines
385 B
JSON

{
"name": "uppy-dev-example",
"aliasify": {
"aliases": {
"@uppy": "../../packages/@uppy"
}
},
"dependencies": {
"@babel/core": "^7.4.4",
"aliasify": "^2.1.0",
"babelify": "^10.0.0",
"watchify": "^3.11.0"
},
"private": true,
"scripts": {
"watch:sandbox": "watchify -vd -t [ babelify --cwd ../../ ] -g aliasify main.js -o bundle.js"
}
}