New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ylwl-ui

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ylwl-ui

游龙网络公用组件库

latest
npmnpm
Version
1.0.10
Version published
Maintainers
2
Created
Source

yl-components 游龙前端通用组件库

vscode 推荐配置

在 vscode 的扩展中安装 prettier Code formatter 和 ESlint 两个插件 然后把 vscode 的设置改成如下配置

{
  "editor.formatOnSave": true,
  "eslint.validate": ["javascript", "javascriptreact", "vue", "html", "markdown"],
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[vue]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  }
}

安装依赖

npm install

启动项目

npm run dev

构建项目,测试环境预览

npm run build

构建发布到 npm 的包

npm run build:npm

发布项目

npm publish

按 eslint 规则格式化所有代码

npm run lint

Keywords

test

FAQs

Package last updated on 24 Mar 2021

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