@ryze-digital/create-website

1.0.0-beta.2 • Public • Published

RYZE Digital Project Starter Kit

Run linter(s) workflow status

Usage

Open the folder in which you want to set up a new project. In Ecoma projects (for example) this is /public/project/frontend. The folder needs to be empty. Run the following script and replace @namespace/project-name with the name of your project.

npm init @ryze-digital/website@latest @namespace/project-name

Options

Change output directory

By default, the output directory is /build. If build files need to be located under a different path, you can add a third parameter to the call from above:

npm init @ryze-digital/website@latest @namespace/project-name ../../public/dist

The path has to be relative to the folder in which you run the command.

Toubleshooting

If you use a path outside the folder in which you run the command, it can happen that the pre-production script throws the following error:

Warning: Cannot delete files outside the current working directory. Use --force to continue.

To fix this, you can set deleteOriginals to false for the cacheBust task inside Gruntfile.js. Please note that in this case the unhashed build files will remain in the output directory.

Loglevel

Loglevel can be changed to see more detail output during installation. By default, loglevel is silent. Allowed values are error, warn, info, verbose and silly.

npm init @ryze-digital/website@latest @namespace/project-name --loglevel error

Readme

Keywords

Package Sidebar

Install

npm i @ryze-digital/create-website

Weekly Downloads

0

Version

1.0.0-beta.2

License

UNLICENSED

Unpacked Size

16.7 kB

Total Files

25

Last publish

Collaborators

  • baedda