mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 17:16:00 +00:00
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.
18 lines
385 B
JSON
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"
|
|
}
|
|
}
|