Ai
1 Star 0 Fork 7

wangxiao65/nodejs-is-callable

forked from src-openEuler/nodejs-is-callable
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nodejs-is-callable.spec 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
wangxiao65 提交于 2020-08-20 19:47 +08:00 . package init
%{?nodejs_find_provides_and_requires}
Name: nodejs-is-callable
Version: 1.1.4
Release: 1
Summary: Is this JS value callable?
License: MIT
URL: https://github.com/ljharb/is-callable
Source0: https://registry.npmjs.org/is-callable/-/is-callable-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
BuildRequires: npm(foreach) npm(make-arrow-function) npm(make-generator-function) npm(tape)
%description
Is this JS value callable? Works with Functions and
GeneratorFunctions, despite ES6 @@toStringTag.
%prep
%setup -q -n package
rm -rf node_modules
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/is-callable
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-callable
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%{__nodejs} --es-staging test.js
%files
%doc README.md CHANGELOG.md
%license LICENSE
%{nodejs_sitelib}/is-callable
%changelog
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.1.4-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangxiao65/nodejs-is-callable.git
git@gitee.com:wangxiao65/nodejs-is-callable.git
wangxiao65
nodejs-is-callable
nodejs-is-callable
master

搜索帮助