styimat 1.6.1 → 1.6.3

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 +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "styimat",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "一个高效的CSS变量预处理库,支持Lab/LCH颜色空间自动转换、嵌套选择器和Display P3广色域,让现代CSS开发更简洁强大。",
5
5
  "keywords": [
6
6
  "css",
@@ -44,12 +44,15 @@
44
44
  "build:min": "npx terser styimat.js -o styimat.min.js --comments '/^!'",
45
45
  "prepare": "npm run build:min",
46
46
  "prepublishOnly": "npm run build:min",
47
- "postpublish": "npm run git:auto-tag",
47
+ "postpublish": "git:auto-commit && npm run git:auto-tag",
48
48
  "release": "npm publish",
49
49
  "publish:patch": "npm version patch --no-git-tag-version && npm publish",
50
50
  "publish:minor": "npm version minor --no-git-tag-version && npm publish",
51
51
  "publish:major": "npm version major --no-git-tag-version && npm publish",
52
52
  "git:auto-commit": "git add . && git commit -m 'chore: auto commit for publish' || echo 'No changes to commit'",
53
53
  "git:auto-tag": "git tag -d v$(node -p \"require('./package.json').version\") 2>/dev/null || true && git tag -a v$(node -p \"require('./package.json').version\") -m 'Version $(node -p \"require('./package.json').version\")' && git push && git push --tags"
54
+ },
55
+ "dependencies": {
56
+ "terser": "^5.44.1"
54
57
  }
55
58
  }