-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 3.72 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
{
"name": "@kong/design-tokens",
"version": "1.17.2",
"description": "Kong UI Design Tokens and style dictionary",
"type": "module",
"scripts": {
"build": "pnpm build:clean && style-dictionary build --config ./config.mjs && pnpm copy:tokens-doc && pnpm copy:stylelint-plugin",
"build:clean": "rimraf ./dist",
"copy:tokens-doc": "shx cp -f './dist/tokens/README.md' './TOKENS.md'",
"copy:stylelint-plugin": "shx cp -R './stylelint-plugin' './dist/stylelint-plugin/'",
"lint": "eslint",
"lint:fix": "eslint --fix",
"sandbox": "run-p sandbox:open watch:tokens",
"sandbox:open": "vite sandbox -c ./sandbox/vite.config.ts",
"watch:tokens": "pnpm build && chokidar \"tokens/**/*.json\" -c \"pnpm build\"",
"semantic-release": "semantic-release",
"prepublishOnly": "npm run build",
"commit": "cz"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"TOKENS.md"
],
"main": "dist/tokens/js/cjs/index.js",
"module": "dist/tokens/js/index.mjs",
"types": "dist/tokens/js/index.d.ts",
"exports": {
".": {
"import": {
"default": "./dist/tokens/js/index.mjs",
"types": "./dist/tokens/js/index.d.ts"
},
"require": {
"default": "./dist/tokens/js/cjs/index.js",
"types": "./dist/tokens/js/cjs/index.d.ts"
}
},
"./package.json": "./package.json",
"./tokens/*": "./dist/tokens/*",
"./stylelint-plugin": "./dist/stylelint-plugin/index.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/Kong/design-tokens.git"
},
"author": "Kong Inc.",
"license": "Apache-2.0",
"homepage": "https://github.com/Kong/design-tokens#readme",
"bugs": {
"url": "https://github.com/Kong/design-tokens/issues"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
"@evilmartians/lefthook": "^1.8.4",
"@kong/eslint-config-kong-ui": "^1.1.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@vitejs/plugin-vue": "^5.2.1",
"chokidar-cli": "^3.0.0",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.15.0",
"npm-run-all2": "^6.2.6",
"rimraf": "^6.0.1",
"sass": "^1.81.0",
"semantic-release": "^24.2.0",
"shx": "^0.3.4",
"style-dictionary": "^4.2.0",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-restart": "^0.4.1",
"vite-plugin-vue-devtools": "^7.6.7",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
"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",
"TOKENS.md"
]
}
],
"@semantic-release/github"
]
},
"config": {
"commitizen": {
"path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira",
"skipScope": false,
"jiraOptional": true,
"jiraLocation": "post-description",
"jiraPrepend": "[",
"jiraAppend": "]"
}
},
"packageManager": "[email protected]",
"engines": {
"node": ">=20.18.1",
"pnpm": ">=9.14.3"
},
"volta": {
"node": "20.18.1"
}
}