UNPKG

alloy-plus

Version:

Mobile framework for building upon Appcelerator Alloy projects

9 lines (7 loc) 277 B
var fs = require('fs'); var path = require('path'); var tiappDir = require('tiapp-dir'); tiappDir(__dirname).then(function (rootpath) { console.log("rootpath: " + rootpath); fs.copySync(path.join(__dirname, "requirex.js"), path.join(rootpath, "scripts","requirex.js")); });