New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@myaszehn/common-package

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myaszehn/common-package

1- Install Typescript and del-cli ``` npm i typescript del-cli --save-dev ```

  • 1.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

common-package

1- Install Typescript and del-cli

npm i typescript del-cli --save-dev

2- Create tsconfig.json file

tsc --init

3- Update script section of package.json

"scripts": {
  "clean": "del ./build/*",
  "build": "npm run clean && tsc"
}

4- Update tsconfig.json

4.1- uncomment

"declaration": true,

4.2- uncomment and update path of outDir

"outDir": "./build"

5- install modules

npm i express 
express-validator 
jsonwebtoken 
cookie-session 
@types/cookie-session 
@types/express 
@types/jsonwebtoken

#publish module

set registry

# 1: create a org in npm
npm set registry https://registry.npmjs.org
#npm set registry https://npm.ok.ir/
npm init --scope=@myaszehn
npm publish --access=public

FAQs

Package last updated on 27 Oct 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc