/
package.json
140 lines (140 loc) · 3.96 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
{
"name": "@kong/design-tokens",
"version": "1.12.12",
"description": "Kong UI Design Tokens and style dictionary",
"scripts": {
"build": "yarn build:clean && style-dictionary build && yarn copy:tokens-doc && yarn 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 '**/*.{js,ts,vue,json}'",
"lint:fix": "eslint '**/*.{js,ts,vue,json}' --fix",
"sandbox": "run-p sandbox:open watch:tokens",
"sandbox:open": "vite sandbox -c ./sandbox/vite.config.ts",
"watch:tokens": "yarn build && chokidar \"tokens/**/*.json\" -c \"yarn 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.js"
},
"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.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
"@evilmartians/lefthook": "^1.6.11",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"@vitejs/plugin-vue": "^5.0.4",
"chokidar-cli": "^3.0.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsonc": "^2.15.1",
"eslint-plugin-n": "^17.6.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-vue": "^9.26.0",
"npm-run-all2": "^6.1.2",
"rimraf": "^5.0.7",
"sass": "^1.77.1",
"semantic-release": "^22.0.12",
"shx": "^0.3.4",
"style-dictionary": "^3.9.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite-plugin-restart": "^0.4.0",
"vite-plugin-vue-devtools": "^7.1.3",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
"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": "]"
}
},
"volta": {
"node": "18.20.2",
"yarn": "1.22.22"
}
}