@lntvow/utils 1.1.1 → 1.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +14 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lntvow/utils",
3
- "version": "1.1.1",
3
+ "version": "1.1.16",
4
4
  "description": "工具库",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -11,6 +11,16 @@
11
11
  "main": "dist/index.cjs.js",
12
12
  "module": "dist/index.es.js",
13
13
  "types": "dist/index.d.ts",
14
+ "scripts": {
15
+ "dev": "vite",
16
+ "test": "vitest",
17
+ "build": "vite build && node script/dts-bundle.js",
18
+ "commit": "git add . && git-cz && git push",
19
+ "release": "git add . && git commit -m 更新 && bumpp package.json --commit --no-tag --push && npm publish",
20
+ "rimraf": "rimraf ./node_modules/",
21
+ "update": "pnpm -r update",
22
+ "preinstall": "npx only-allow pnpm"
23
+ },
14
24
  "devDependencies": {
15
25
  "@lntvow/eslint-config": "^3.0.5",
16
26
  "bumpp": "^9.1.1",
@@ -18,6 +28,7 @@
18
28
  "cz-conventional-changelog": "^3.3.0",
19
29
  "dts-bundle": "^0.7.3",
20
30
  "typescript": "^5.1.3",
31
+ "vite": "^4.3.9",
21
32
  "vite-plugin-dts": "3.0.0-beta.1",
22
33
  "vitest": "^0.32.2"
23
34
  },
@@ -26,15 +37,5 @@
26
37
  "path": "node_modules/cz-conventional-changelog"
27
38
  }
28
39
  },
29
- "eslintTypescript": "true",
30
- "scripts": {
31
- "dev": "vite",
32
- "test": "vitest",
33
- "build": "pnpm build-dts && pnpm release",
34
- "build-dts": "vite build && node script/dts-bundle.js",
35
- "commit": "git add . && git-cz && git push",
36
- "rimraf": "rimraf ./node_modules/",
37
- "preinstall": "npx only-allow pnpm",
38
- "release": "git add . && git commit -m 更新 && bumpp package.json --commit --no-tag --push && pnpm publish --access public"
39
- }
40
- }
40
+ "eslintTypescript": "true"
41
+ }