styimat 1.0.1 → 1.0.2

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 +22 -10
package/package.json CHANGED
@@ -1,15 +1,7 @@
1
1
  {
2
2
  "name": "styimat",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A powerful CSS variable preprocessor with nested selectors, Lab/LCH color spaces conversion and modern color features.",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://gitee.com/wxy6987/styimat.git"
8
- },
9
- "bugs": {
10
- "url": "https://gitee.com/wxy6987/styimat/issues"
11
- },
12
- "homepage": "https://gitee.com/wxy6987/styimat#readme",
13
5
  "keywords": [
14
6
  "css",
15
7
  "preprocessor",
@@ -39,10 +31,30 @@
39
31
  "bin": {
40
32
  "styimat": "convert-styimat.js"
41
33
  },
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "https://gitee.com/wxy6987/styimat.git"
37
+ },
38
+ "bugs": {
39
+ "url": "https://gitee.com/wxy6987/styimat/issues"
40
+ },
41
+ "homepage": "https://gitee.com/wxy6987/styimat#readme",
42
42
  "scripts": {
43
43
  "test": "echo \"No tests yet\" && exit 0",
44
44
  "build:min": "npx terser styimat.js -o styimat.min.js --comments '/^!'",
45
45
  "prepare": "npm run build:min",
46
- "prepublishOnly": "npm run build:min && echo 'Built successfully!'"
46
+ "prepublishOnly": "npm run build:min && echo 'Built successfully!'",
47
+ "preversion": "git add . && echo 'All files added to Git'",
48
+ "version": "git add . && git add -u",
49
+ "postversion": "git push && git push --tags",
50
+ "postpublish": "git add . && git commit -m 'chore: publish v$(node -p \"require('./package.json').version\")' && git push",
51
+ "release": "npm run release:patch",
52
+ "release:patch": "npm version patch && npm publish",
53
+ "release:minor": "npm version minor && npm publish",
54
+ "release:major": "npm version major && npm publish",
55
+ "git:add": "git add .",
56
+ "git:commit": "git commit -m",
57
+ "git:push": "git push",
58
+ "git:auto": "git add . && git commit -m 'Auto commit' && git push"
47
59
  }
48
60
  }