npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sks-plugin-el-erp

v1.0.9

Published

用于erp的element扩展

Readme

element用于erp的扩展

发布前配置

npm login --registry=https://registry.npmjs.org

发布新版本

正式版

npm publish

测试版

{
  "version": "1.0.4-beta.2",
  "package.json": "发布时文件中的版本号,下个测试版最后面的版本号+1,例如 1.0.4-beta.3"
}

发布测试版

npm publish --tag beta1 --registry=https://registry.npmjs.org

安装测试版

npm install sks-plugin-el-erp@beta1

撤销发布包

千万不要使用 即使你撤销了发布的包,发包的时候也不能再和被撤销的包的名称和版本重复了

#npm unpublish

依赖说明

npm版本               6.14.12
nodejs版本            v10.24.1

win笔记本使用

能够编译成静态

nodejs版本            v14.17.3
npm版本               6.14.13

linux mint使用

能够编译成静态

nodejs版本            v14.17.3
npm版本               6.14.13

nginx配置

开发配置

server {
	listen       38088;
	server_name  location;

	location /{
		proxy_set_header Host $http_host;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header REMOTE-HOST $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_pass http://127.0.0.1:28088/;
	}
	
	location /sks-plugin-el-erp/ {
		#location 路径不能改,实际目录为 /home/shoukaiseki/gitwork/sks-plugin-el-erp;
		#否则无法正确映射到实际路径
		root  /home/shoukaiseki/gitwork;
		autoindex on;                          #开启目录浏览功能;   
		autoindex_exact_size off;            #关闭详细文件大小统计,让文件大小显示MB,GB单位,默认为b;   
		autoindex_localtime on;              #开启以服务器本地时区显示文件修改日期!   
	}
}

正式配置

server {
	#fastcgi_intercept_errors on;
	listen       80;
	server_name  www.shoukaiseki.top;

	location /{

		proxy_set_header Host $http_host;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header REMOTE-HOST $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_pass http://127.0.0.1:81/syntaxhighlighter/;
	}
	
	location /sks-plugin-el-erp/ {
		#location 路径不能改,实际目录为 D:/gitproject/sks-plugin-el-erp;
		#否则无法正确映射到实际路径
		root   D:/gitproject/;
		autoindex on;                          #开启目录浏览功能;   
		autoindex_exact_size off;            #关闭详细文件大小统计,让文件大小显示MB,GB单位,默认为b;   
		autoindex_localtime on;              #开启以服务器本地时区显示文件修改日期!   
	}
	
	error_page   500 502 503 504  /50x.html;
	location = /50x.html {
		root   html;
	}
}

源码编译

scss编译成 css

将 package-sass221102.json 中的

{
"node-scss": "7.0.3",
"sass": "1.32.13",
"sass-loader": "10.1.1",
}

复制到 package.json 中,然后安装依赖包后执行

npm run css:build