1.0.2 • Published 3 years ago
@nareshkumarh/theme-components v1.0.2
Build web components for internal products
Step 1: Create NPM Project & publish.
Prerequisite
- Create NPM Account
- Command Prompt: npm login
Step 1.1: Create NPM Project
- Create Stencil Project
npm init stencil
- Pick a starter: component
- Project name: theme-components
cd theme-components npm install npm start
* Reference Screensho:

#### Step 1.2: Update Package.json
```json
{
"name": "@nareshkumarh/theme-components",
"version": "1.0.0",
"description": "WebComponents for Developer Platform",
"main": "index.js",
"scripts": {
"publish":"npm publish --access public"
},
"keywords": [],
"author": "",
"license": "ISC"
}
Create index.js
- index.js file No Content
Publish NPM Package
npm publish --access public
(or)
npm run publish