-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
165 lines (165 loc) · 5.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "@kong/icons",
"version": "1.13.0",
"description": "Kong Icon Library",
"license": "Apache-2.0",
"type": "module",
"main": "./dist/kong-icons.cjs",
"module": "./dist/kong-icons.es.js",
"files": [
"dist"
],
"types": "dist/types/index.d.ts",
"typings": "dist/types",
"exports": {
".": {
"import": "./dist/kong-icons.es.js",
"require": "./dist/kong-icons.cjs",
"types": "./dist/types/index.d.ts"
},
"./package.json": "./package.json",
"./dist/*": "./dist/*"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "yarn generate && USE_SANDBOX=true vite",
"build": "yarn delete:generated && yarn stylelint && yarn lint && yarn build:components",
"build:components": "yarn generate && yarn typecheck && vite build && rimraf ./dist/style.css && vue-tsc -p './tsconfig.build.json' --emitDeclarationOnly && tsc-alias -p './tsconfig.build.json'",
"build:visualize": "yarn generate && cross-env BUILD_VISUALIZER=true vite build -m production",
"generate": "yarn delete:generated && npx --yes tsx --tsconfig './scripts/tsconfig.json' './scripts/generate.ts' && yarn fix:generated",
"update-component-list": "npx --yes tsx --tsconfig './scripts/tsconfig.json' './scripts/component-list.ts' && yarn fix:generated",
"delete:generated": "rimraf './src/components' && rimraf './dist'",
"build:sandbox": "yarn generate && yarn typecheck && cross-env USE_SANDBOX=true vite build",
"preview:sandbox": "cross-env USE_SANDBOX=true vite preview",
"test": "cross-env FORCE_COLOR=1 vitest run",
"test:open": "vitest --ui",
"typecheck": "vue-tsc -p './tsconfig.build.json' --noEmit",
"lint": "eslint",
"lint:fix": "eslint --fix",
"lint:fix:generated": "eslint './src/components/**/*.{ts,vue}' './src/component-list.ts' './src/temp-generated-component-list.ts' --fix",
"stylelint": "stylelint './src/**/*.{css,scss,vue}'",
"stylelint:fix": "stylelint './src/**/*.{css,scss,vue}' --fix",
"stylelint:fix:generated": "stylelint './src/components/**/*.vue' --fix",
"fix:generated": "yarn lint:fix:generated && yarn stylelint:fix:generated",
"semantic-release": "semantic-release",
"commit": "cz"
},
"devDependencies": {
"@babel/types": "^7.24.5",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
"@evilmartians/lefthook": "^1.6.12",
"@kong/design-tokens": "^1.12.12",
"@kong/eslint-config-kong-ui": "^1.0.3",
"@kong/kongponents": "9.0.0-alpha.162",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.12.12",
"@types/node-emoji": "^2.1.0",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/ui": "^1.6.0",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"autoprefixer": "^10.4.19",
"c8": "^9.1.0",
"cheerio": "^1.0.0-rc.12",
"commitizen": "^4.3.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.4.0",
"jsdom": "^24.1.0",
"node-emoji": "^2.1.3",
"picocolors": "^1.0.1",
"postcss": "^8.4.38",
"postcss-html": "^1.7.0",
"rimraf": "^5.0.7",
"rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.2",
"semantic-release": "^22.0.12",
"stylelint": "^16.6.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-order": "^6.0.4",
"tsc-alias": "^1.8.10",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite-plugin-vue-devtools": "^7.2.0",
"vitest": "^1.6.0",
"vue": "^3.4.27",
"vue-router": "^4.3.2",
"vue-tsc": "^2.0.19"
},
"peerDependencies": {
"vue": ">= 3.3.4 < 4"
},
"homepage": "https://icons.konghq.com/",
"repository": {
"type": "git",
"url": "https://github.com/Kong/icons.git"
},
"author": {
"name": "Kong Inc.",
"url": "https://konghq.com/"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json",
"src/component-list.ts",
"scripts/utilities/__snapshots__/generate-icon-components.spec.ts.snap"
]
}
],
"@semantic-release/github"
]
},
"engines": {
"node": ">=18.17.0"
},
"volta": {
"node": "20.14.0",
"yarn": "1.22.22"
},
"config": {
"commitizen": {
"path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira",
"skipScope": false,
"jiraOptional": true,
"jiraLocation": "post-description",
"jiraPrepend": "[",
"jiraAppend": "]"
}
}
}