xiaohe-transition
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "xiaohe-transition", | ||
"type": "module", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"packageManager": "pnpm@8.12.1", | ||
@@ -20,15 +20,15 @@ "description": "🏀 一个简单易用的贝塞尔曲线过渡动画工具", | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
"types": "./lib/index.d.ts", | ||
"import": "./lib/index.mjs", | ||
"require": "./lib/index.cjs" | ||
} | ||
}, | ||
"main": "./dist/index.mjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"main": "./lib/index.mjs", | ||
"module": "./lib/index.mjs", | ||
"types": "./lib/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"./dist/*", | ||
"./dist/index.d.ts" | ||
"./lib/*", | ||
"./lib/index.d.ts" | ||
] | ||
@@ -38,9 +38,9 @@ } | ||
"files": [ | ||
"dist" | ||
"lib" | ||
], | ||
"scripts": { | ||
"dev": "unbuild --stub", | ||
"build": "unbuild", | ||
"dev": "unbuild --stub", | ||
"lint": "eslint .", | ||
"prepublishOnly": "nr build", | ||
"babel": "npx babel dist --config-file ./src/.babelrc.json --out-dir lib --copy-files --keep-file-extension", | ||
"prepublishOnly": "nr build && nr babel", | ||
"release": "bumpp && npm publish", | ||
@@ -50,2 +50,3 @@ "start": "esno src/index.ts", | ||
"typecheck": "tsc --noEmit", | ||
"eslint": "eslint .", | ||
"prepare": "simple-git-hooks" | ||
@@ -60,2 +61,5 @@ }, | ||
"@antfu/utils": "^0.7.7", | ||
"@babel/cli": "^7.23.4", | ||
"@babel/core": "^7.23.7", | ||
"@babel/preset-env": "^7.23.7", | ||
"@types/node": "^20.10.5", | ||
@@ -62,0 +66,0 @@ "bumpp": "^9.2.1", |
@@ -28,3 +28,3 @@ <div align="center"> | ||
#### NPM | ||
#### PNPM | ||
@@ -35,2 +35,4 @@ ``` shell | ||
#### YARN | ||
``` shell | ||
@@ -40,2 +42,4 @@ yarn add xiaohe-transition | ||
#### NPM | ||
``` shell | ||
@@ -45,8 +49,2 @@ npm install xiaohe-transition | ||
#### CDN | ||
``` html | ||
<script src="https://cdn.jsdelivr.net/npm/xiaohe-transition/dist/index.cjs"></script> | ||
``` | ||
### 🛹 使用 | ||
@@ -233,5 +231,3 @@ | ||
- ❓:若有疑问或BUG反馈,可提交[issues](https://github.com/xiaohe0601/xiaohe-transition/issues) | ||
- 📫:[HeDianGeng0601@outlook.com](mailto:HeDianGeng0601@outlook.com) | ||
- 🐧:暂未开通 | ||
@@ -238,0 +234,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
88337
18
568
1
247