【文件属性】:
文件名称:falco:JavaScript运行器
文件大小:32KB
文件格式:ZIP
更新时间:2021-05-27 02:24:19
JavaScript
法尔科
JavaScript Runner。 使用zero配置运行和构建代码
安装
$ npm i @fratercula/falco
# CLI
$ npm i @fratercula/falco -g
用法
const falco = require ( '@fratercula/falco' )
const options = {
entry : 'path/to/build/index.js' ,
npm : {
registry : 'https://registry.npm.taobao.org' ,
} ,
externals : {
// ...
} ,
template : path . join ( process . cwd ( ) , 'index.html' ) ,
port : 8000 ,
mode : 'd
【文件预览】:
falco-master
----.eslintrc(137B)
----lib()
--------config.js(1KB)
--------helper()
--------compiler()
----.travis.yml(326B)
----LICENSE(1KB)
----test()
--------run()
--------fixtures()
--------helper()
--------start.js(1KB)
--------index.js(126B)
--------compiler()
----README.md(6KB)
----.editorconfig(207B)
----.gitignore(65B)
----index.js(101B)
----bin()
--------falco.js(2KB)
----CHANGELOG.md(3KB)
----.eslintignore(14B)
----package.json(2KB)