forked from amzn/style-dictionary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
157 lines (157 loc) · 3.78 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
{
"name": "style-dictionary-esm",
"type": "module",
"version": "1.9.1",
"packageManager": "pnpm@7.9.5",
"node": ">=14.16",
"description": "Style once, use everywhere. A build system for creating cross-platform styles.",
"author": "Amazon",
"license": "Apache-2.0",
"homepage": "https://github.com/amzn/style-dictionary",
"repository": {
"type": "git",
"url": "git://github.com/amzn/style-dictionary.git"
},
"bugs": {
"url": "https://github.com/amzn/style-dictionary/issues"
},
"keywords": [
"style dictionary",
"style",
"dictionary",
"amazon",
"css",
"design",
"properties",
"tokens",
"sass",
"scss",
"iOS",
"Android",
"react",
"react native",
"style guide"
],
"contributors": [
"Yuliya Baran <baranyu@amazon.com>",
"Charles Dorner <dornerc@amazon.com>",
"Dustin Boudreau <boudrd@amazon.com>",
"Danny Banks <djb@amazon.com>",
"Yaël Guilloux <yael@ipseity.fr>"
],
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.mjs"
},
"./types/*": {
"types": "./types/*.d.ts",
"import": "./types/*.d.ts",
"require": "./types/*.d.ts"
}
},
"main": "./dist/index.mjs",
"types": "types/index.d.ts",
"bin": {
"style-dictionary": "./bin/style-dictionary.js"
},
"files": [
"LICENSE",
"NOTICE",
"bin",
"dist",
"templates",
"types"
],
"scripts": {
"build": "unbuild",
"install-cli": "npm install -g $(npm pack)",
"lint": "eslint --fix \"src/**/*.js\" \"__tests__/**/*.js\" \"__integration__/**/*.js\" \"types/**/*.ts\"",
"prepare": "husky install",
"release": "release-it",
"serve-docs": "docsify serve docs -p 3000 -P 12345",
"test": "pnpm run test:types && pnpm run lint && vitest --segfault-retry=3 --run",
"test:types": "tsd",
"test:watch": "pnpm run test:types && pnpm run lint && vitest --segfault-retry=3",
"test:run": "vitest --segfault-retry=3 --run",
"test:ui": "vitest --segfault-retry=3 --ui",
"reset:snapshots": "rm -rf __integration__/__snapshots__/*.js.snap && rm -rf __tests__/formats/__snapshots__/*.js.snap"
},
"dependencies": {
"chalk": "^5.3.0",
"change-case": "^4.1.2",
"commander": "^11.1.0",
"consola": "^3.2.3",
"fast-glob": "^3.3.2",
"glob": "^10.3.10",
"jiti": "^1.21.0",
"json5": "^2.2.3",
"jsonc-parser": "^3.2.0",
"lodash.template": "^4.5.0",
"tinycolor2": "^1.6.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.1.1",
"@babel/preset-env": "^7.23.3",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@vitest/ui": "^0.34.6",
"eslint": "^8.54.0",
"fs-extra": "^11.2.0",
"husky": "^8.0.3",
"less": "^4.2.0",
"lint-staged": "^15.1.0",
"pathe": "^1.1.1",
"release-it": "^17.0.0",
"sass": "^1.69.5",
"stylus": "^0.62.0",
"tsd": "^0.29.0",
"typescript": "^5.3.2",
"unbuild": "^2.0.0",
"unplugin-auto-import": "^0.17.1",
"vitest": "^0.34.6",
"yaml": "^2.3.4"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@babel/*"
]
}
},
"husky": {
"hooks": {
"pre-commit": "npm test && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.js": [
"pnpm run lint",
"git add"
]
},
"release-it": {
"hooks": {
"before:init": [
"pnpm build"
]
},
"npm": {
"access": "public"
},
"git": {
"commitMessage": "chore(release): release v${version}"
},
"github": {
"release": true,
"releaseName": "v${version}"
}
}
}