1.0.12 • Published 4 years ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.12

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago