Created
July 21, 2020 12:43
-
-
Save FND/658551ecac43d72281c8486fe53eab59 to your computer and use it in GitHub Desktop.
faucet-typescript sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/node_modules | |
/package-lock.json | |
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
module.exports = { | |
js: [{ | |
source: "./index.ts", | |
target: "./dist/bundle.js", | |
typescript: true | |
//typescript: { | |
// outDir | |
//} | |
}] | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("hello world"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"start": "faucet --watch", | |
"compile": "faucet --compact" | |
}, | |
"dependencies": {}, | |
"devDependencies": { | |
"faucet-pipeline-typescript": "^2.1.6", | |
"tslib": "^2.0.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment