Socket
Socket
Sign inDemoInstall

@d2phap/npm-package-template

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @d2phap/npm-package-template

NPM package template with Typescript, Webpack, SCSS, EsLint, Babel


Version published
Weekly downloads
6
increased by500%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

📦 NPM Package template

NPM package template with Typescript, Webpack, SCSS, EsLint, Babel

Package url: https://www.npmjs.com/package/@d2phap/npm-package-template

Try the package:

npm i vue-file-selector

☢️ Development note!

Even though I set up URL alias in tsconfig.json and webpack.config.js, you should always use relative path for importing Js module, because TypeScript does not support resolving alias path to relative path. Source:

Instead of this:

import { Person } from '@/module/person';

Do this:

import { Person } from './module/person';

🚀 Getting started

# 1. Install dependencies
npm i

# 2. Start development server
npm start

# 3. Build and compile for production
npm run build

# 4. Commit your changes

# 5. Bump package version
npm version <version_number>

# 6. Publish your package
npm publish

💖 Support my open source work

Buy me a beer? Buy me a beer? Become a sponsor

Cryptocurrency donation:

# Ethereum
0xc19be8972809b6b989f3e4ba16595712ba8e0de4

# Bitcoin
1PcCezBmM3ahTzfBBi5KVWnnd3bCHbas8Z

Thanks for your gratitude and finance help!

Keywords

FAQs

Last updated on 09 May 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc