init-base-shopify-framework-ntt
v1.1.0
Published
CLI to initialize a Shopify app and add a component folder in app/routes with an assets subfolder.
Readme
init-base-shopify-framework-ntt
CLI to initialize a Shopify app and add a component folder in app/routes with an assets subfolder.
Version: 1.0.1
Prerequisites
- Node.js
- Shopify CLI installed globally
Installation
You can use this tool with npx (no install required):
npx init-base-shopify-framework-nttOr install globally:
npm install -g init-base-shopify-framework-ntt
init-base-shopify-framework-nttUsage
npx init-base-shopify-framework-nttThis will:
- Scaffold a new Shopify app using the Remix template (via Shopify CLI)
- Detect the newly created app directory
- Add the following folder structure inside your new app:
my-shopify-app/
app/
routes/
component/
assets/- Create a
.eslintrc.cjsfile in the root of your new app with custom ESLint rules.
Bin
This package provides a CLI command:
init-base-shopify-frameworkDevelopment
- Main entry:
index.js - Type: CommonJS
- Dev Dependencies:
- eslint ^8.0.0
Notes
- If multiple new directories are detected after running the Shopify CLI, the first one will be used.
- Make sure you have the Shopify CLI installed and accessible in your PATH.
License
ISC
