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

@easyv/admin-utils

Package Overview
Dependencies
Maintainers
12
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyv/admin-utils - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3-beta.1

dist/es/index.js

162

package.json
{
"name": "@easyv/admin-utils",
"version": "0.0.2",
"description": "utils 集合",
"keywords": [],
"main": "dist/utils.js",
"typings": "dist/utils.d.ts",
"files": [
"dist"
],
"author": "nianyi",
"repository": {
"type": "git",
"url": ""
},
"license": "MIT",
"engines": {
"node": ">=12.0.0"
},
"version": "0.0.3-beta.1",
"description": "easyv/twin 公共 utils 集合",
"types": "./dist/types/index.d.ts",
"main": "./dist/lib/index.js",
"module": "./dist/es/index.js",
"scripts": {
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts",
"doc": "npx typedoc --tsconfig tsconfig.json --options typedoc.js",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"semantic-release": "semantic-release",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"precommit": "lint-staged",
"prepare": "modern build && husky install",
"dev": "modern dev",
"build": "modern build",
"build:watch": "modern build -w",
"reset": "rimraf ./**/node_modules",
"lint": "modern lint",
"change": "modern change",
"bump": "modern bump",
"pre": "modern pre",
"change-status": "modern change-status",
"gen-release-note": "modern gen-release-note",
"release": "modern release",
"new": "modern new",
"postpublish": "sync-to-mirror",
"travis-deploy-once": "travis-deploy-once"
"upgrade": "modern upgrade"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
"files": [
"dist"
],
"author": "xiaoyao",
"repository": {
"type": "git",
"url": "http://gitlab.prod.dtstack.cn/visdev/easyvadmin-utils"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
"eslintIgnore": [
"node_modules/",
"dist/"
],
"dependencies": {
"immer": "^10.0.3",
"lodash-es": "^4.17.21"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@easyv/sync-to-mirror": "0.0.1",
"@babel/core": "^7.23.6",
"@babel/preset-env": "^7.23.6",
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@types/jest": "^23.3.2",
"@types/node": "^10.11.0",
"@modern-js/eslint-config": "2.46.1",
"@modern-js/module-tools": "2.46.1",
"@types/node": "~16.11.7",
"colors": "^1.3.2",
"commitizen": "^3.0.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"cz-conventional-changelog": "^2.1.0",
"husky": "^1.0.1",
"immer": "^10.0.3",
"jest": "^23.6.0",
"jest-config": "^23.6.0",
"lint-staged": "^8.0.0",
"prettier": "^1.14.3",
"prompt": "^1.0.0",
"replace-in-file": "^3.4.2",
"rimraf": "^2.6.2",
"rollup": "^0.67.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript2": "^0.18.0",
"semantic-release": "^15.9.16",
"shelljs": "^0.8.3",
"travis-deploy-once": "^5.0.9",
"ts-jest": "^23.10.2",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-config-standard": "^8.0.1",
"typedoc": "^0.12.0",
"typescript": "^3.0.3"
"husky": "~8.0.1",
"lint-staged": "~13.1.0",
"prettier": "~2.8.1",
"rimraf": "~3.0.2",
"typescript": "~5.0.4"
},
"dependencies": {
"lodash-es": "^4.17.21"
"sideEffects": [],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}
}

@@ -1,49 +0,46 @@

# EasyV 平台侧 utils 合集
# Modern.js Package
**用途**: 主要解决不同项目(easyv/twin)使用相同函数,维护起来麻烦且易漏
## Setup
**目标**: 平台内部项目公共函数大合集
Install the dependencies:
## 安装
```bash
pnpm run install
```
`pnpm add @easyv/admin-utils`
## Get Started
`npm install @easyv/admin-utils`
Run and debug the module:
`yarn add @easyv/admin-utils`
```bash
pnpm run dev
```
## 用法
Run test cases:
**当前主要分为以下四类** (按照业务划分)
```bash
pnpm run test
```
- twin
- gui
- easyv
- common
Build the module for production:
## 贡献
```bash
pnpm run build
```
易知微引擎团队负责维护
Enable optional features:
## 联系方式
```bash
pnpm run new
```
若有需求可直接 pr 或者联系当前易知微引擎团队主管@逍遥
Other commands:
## 附录
```bash
pnpm run lint # Lint and fix source files
pnpm run change # Add a new changeset
pnpm run bump # Update version and changelog via changeset
pnpm run release # Release the package
```
包含任何其他相关信息,例如:
- 常见问题解答
问:后端有使用吗?
答:后端前端共同使用了 `src/easyv/theme*.ts`,用于 easyv 主题替换功能
***
问:gui 是@easyv/gui 全量 utils 吗?
答:是全量 (@easyv/gui@1.20.6)
- 已知问题
- 更新日志
For more information, see the [Modern.js Module documentation](https://modernjs.dev/module-tools/en).
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