@whcecw/maotu 0.0.29 → 0.0.31

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.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@whcecw/maotu",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "scripts": {
9
- "dev": "pnpm run format && vite",
9
+ "dev": "pnpm run setup:pdfjs && pnpm run format && vite",
10
10
  "build": "run-p type-check \"build-only {@}\" --",
11
11
  "preview": "vite preview",
12
12
  "test:unit": "vitest",
@@ -14,7 +14,7 @@
14
14
  "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
15
15
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
16
16
  "format": "prettier --write src/",
17
- "postinstall": "node scripts/copy-pdfjs-assets.mjs",
17
+ "setup:pdfjs": "node scripts/copy-pdfjs-assets.mjs",
18
18
  "setup:git-hooks": "git config core.hooksPath .githooks && git config commit.template .gitmessage",
19
19
  "lib": "vite build --mode lib",
20
20
  "npm": "vite build --mode npm"