1.0.12 • Published 3 years ago

@vital-ai/haley-js-scripts v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

haley-js-scripts

install

    npm install @vital-ai/haley-js-scripts

Share

scripts that could be used both to server side and web side

copy-domains

Functionality

This command will copy the domains files from process.env.VITAL_HOME to ${HALEY_DIR}/lib-vital/vitalservice-js.

  • HALEY_DIR could be set through .npmrc. putting the following inside .npmrc file
    HALEY_DIR=www/haley-js-browser

How to use the command

1, put the following scripts to the package.json file

    scripts: {
        "copy-domains": "node ./node_modules/@vital-ai/haley-js-scripts/share/copy-domains.js",
    }

copy-domains-server

Functionality

This command will copy the domains files from process.env.VITAL_HOME to ${copy_domains_to_folder_server}/vitalservice.

  • copy_domains_to_folder_server could be set through .npmrc. putting the following inside .npmrc file. It has the default value '.'
    copy_domains_to_folder_server=.

How to use the command

1, put the following scripts to the package.json file

    scripts: {
        "copy-domains": "node ./node_modules/@vital-ai/haley-js-scripts/share/copy-domains-server.js",
    }
1.0.9

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.12

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago