Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mrtujiawei/scripts

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mrtujiawei/scripts

打包脚本

  • 0.0.6
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Scripts

命令

t-scripts start 在当前目录开启服务 t-scripts build 打包当前目录下的项目 t-scripts build lib 打包当前目录下的库

约定配置

入口文件: src/index 静态目录: public 页面模板: public/index.html 输出目录: dist/

.env

# 打包后的库名, 可通过 window[LIB_NAME] 使用
# build lib 时必填
LIB_NAME: string

# 打包环境 默认 development
NODE_ENV: 'development' | 'production'

# 输出目录 默认 dist
OUTPUT_PATH: string

Keywords

FAQs

Package last updated on 24 May 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