styimat 1.2.3 → 1.2.4
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 +9 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "styimat",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "A powerful CSS variable preprocessor with nested selectors, Lab/LCH color spaces conversion and modern color features.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -43,15 +43,13 @@
|
|
|
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
|
|
47
|
-
"postpublish": "
|
|
48
|
-
"release": "npm
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"git:
|
|
53
|
-
"git:
|
|
54
|
-
"git:push": "git push",
|
|
55
|
-
"git:auto": "git add . && git commit -m 'Auto commit' && git push"
|
|
46
|
+
"prepublishOnly": "npm run build:min",
|
|
47
|
+
"postpublish": "npm run git:auto-tag",
|
|
48
|
+
"release": "npm publish",
|
|
49
|
+
"publish:patch": "npm version patch --no-git-tag-version && npm publish",
|
|
50
|
+
"publish:minor": "npm version minor --no-git-tag-version && npm publish",
|
|
51
|
+
"publish:major": "npm version major --no-git-tag-version && npm publish",
|
|
52
|
+
"git:auto-commit": "git add . && git commit -m 'chore: auto commit for publish' || echo 'No changes to commit'",
|
|
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"
|
|
56
54
|
}
|
|
57
55
|
}
|