@huntflow/ui 0.1.8 → 0.2.1

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
@@ -2,13 +2,16 @@
2
2
  "name": "@huntflow/ui",
3
3
  "description": "HuntFlow UiKit, icons, utils library",
4
4
  "private": false,
5
- "version": "0.1.8",
5
+ "version": "0.2.1",
6
6
  "author": {
7
7
  "name": "HuntFlow Developer",
8
8
  "nickname": "developer",
9
9
  "email": "developer@huntflow.ru",
10
10
  "github": "https://github.com/huntflow/uikit"
11
11
  },
12
+ "engines": {
13
+ "node": "22.18.0"
14
+ },
12
15
  "type": "module",
13
16
  "main": "./dist/ui.es.js",
14
17
  "types": "./dist/index.d.ts",
@@ -18,18 +21,21 @@
18
21
  ],
19
22
  "scripts": {
20
23
  "dev": "vite",
21
- "build": "npx tsx utils/svg-sprite.ts && vue-tsc -b && vite build",
24
+ "build": "npm run sprite && vue-tsc -b && vite build",
22
25
  "prepublishOnly": "npm run build",
23
26
  "preview": "vite preview",
24
27
  "storybook": "storybook dev -p 6006",
25
28
  "build-storybook": "storybook build",
26
29
  "lint": "eslint './src/**/*.{js,vue,ts}' --quiet",
27
- "icons": "npx tsx utils/figma-icons.ts",
30
+ "format": "prettier --write './src/**/*.{css,html,md}'",
31
+ "stylelint": "npx stylelint 'src/**/*.css' --config .stylelintrc.cjs",
32
+ "icons:download": "npx tsx utils/figma-icons.ts",
28
33
  "icons:update-list": "npx tsx utils/icon-list.ts",
29
- "variables": "npx tsx utils/figma-variables.ts",
30
34
  "visual:create": "npx tsx tests/screenshot-create.ts",
31
35
  "visual:compare": "npx tsx tests/compare-screenshots.ts",
32
- "sprite": "npx tsx utils/svg-sprite.ts"
36
+ "sprite": "npx tsx utils/svg-sprite.ts",
37
+ "prepare": "husky install",
38
+ "prepush-checks": "npm run lint && npm run format && npm run stylelint"
33
39
  },
34
40
  "publishConfig": {
35
41
  "access": "public"
@@ -81,18 +87,22 @@
81
87
  "eslint-plugin-jest": "^29.0.1",
82
88
  "eslint-plugin-storybook": "^9.1.2",
83
89
  "glob": "^11.0.3",
90
+ "husky": "^8.0.0",
84
91
  "node-fetch": "^3.3.2",
85
92
  "pixelmatch": "^7.1.0",
86
93
  "pngjs": "^7.0.0",
87
94
  "postcss": "^8.4.49",
95
+ "postcss-html": "^1.8.0",
88
96
  "postcss-loader": "^8.1.1",
89
97
  "postcss-nesting": "^13.0.2",
98
+ "prettier": "^3.6.2",
90
99
  "puppeteer": "^24.16.1",
91
100
  "sharp": "^0.34.3",
92
101
  "storybook": "^9.1.2",
93
102
  "storybook-addon-pseudo-states": "^9.1.2",
94
103
  "stylelint": "^16.23.1",
95
104
  "stylelint-config-recommended": "^17.0.0",
105
+ "stylelint-order": "^7.0.0",
96
106
  "svg-sprite": "^2.0.4",
97
107
  "tsx": "^4.20.3",
98
108
  "typescript": "^5.9.2",