HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/conda_build/templates/npm.yaml
#Automaticly generating npm conda package
{% set data = load_npm()%}
{% block body -%}
{% block package -%}
package:
  name: {{data.get('name').lower()}}
  version: {{data.get('version')}}
{%- endblock %}
{% block build -%}
build:
  number: {% block build_number -%}1{%- endblock %}
  script:
    - cd $RECIPE_DIR
    - npm --prefix $PREFIX install . -g --production
{%- endblock %}
{% block requirements -%}
requirements:
  build:
    - nodejs

  run:
    - nodejs

{%- endblock %}
{% block about -%}
about:
  home: {{data.get('url')}}
  license: {{data.get('license')}}
{%- endblock %}
{%- endblock %}

# See
# https://docs.conda.io/projects/conda-build for
# more information about meta.yaml