@elleryvelope/create-lng-core-test2 v1.0.3
create-lng-core-app
This repo is designed to hold the create-lng-core-app script. The purpose of this script is to install a runnable command that'll allow us to import the contents of the core-app-sample package and generate a copy of it to any project we're trying to create.
Make sure you have configured you local .npmrc file so you can access the private velope repo
Because the create-lng-core-app will create a copy of the core-app-sample repo you'll need to have a core app access token which you can do by following the steps below.
- Add a line to ~/.npmrc as follows (replacing TOKEN with your personal access token):
//npm.pkg.github.com/:_authToken=YOUR_TOKEN_HERE
If everything is correctly set up, running npm install
should not give any errors.
Installing package locally and globally and creating a new project
You can install this script locally by importing the NPM package on a specific project and running the following command:
npm install @velope/create-lng-core-app@1.0.4
Or you can install it globally on your workspace by running the following command:
npm install -g https://github.com/Velope/create-lng-core-app.git
That'll install the package globally and allow you to use the create-lng-core-app command
After that you can create a new project with the following command:
npx create-lng-core-app [project name]