UNPKG

metro4

Version:

The front-end framework for Build responsive, mobile-first projects on the web with the first front-end component library in Metro Style

25 lines (22 loc) 625 B
#!/usr/bin/env node const FtpDeploy = require("ftp-deploy"); const ftpDeploy = new FtpDeploy(); const auth = require("./ftpauth.json") const pkg = require("./package.json") const config = { user: auth.keycdn.username, password: auth.keycdn.password, host: auth.keycdn.host, port: auth.keycdn.port, localRoot: __dirname + "/build", remoteRoot: `/dev/`, include: ["*.*"], exclude: [], deleteRemote: true, forcePasv: true, sftp: false, }; ftpDeploy .deploy(config) .then((res) => console.log("finished:", res)) .catch((err) => console.log(err));