-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
105 lines (105 loc) · 3.43 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
{
"name": "@brave/leo",
"version": "0.0.1",
"description": "Base repo to transform json design tokens from the figma design token plugin via amazon style directory.",
"main": "index.js",
"type": "module",
"dependencies": {
"@storybook/test": "8.4.6",
"svelte": "4.2.19",
"svelte-preprocess": "5.1.4",
"tailwindcss": "3.2.6",
"tslib": "2.5.0"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@ctrl/tinycolor": "3.6.1",
"@floating-ui/dom": "1.6.12",
"@fontsource-variable/inter": "5.0.20",
"@fontsource/manrope": "5.0.21",
"@fontsource/poppins": "5.0.15",
"@fontsource/roboto-flex": "5.0.16",
"@material/material-color-utilities": "0.3.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-typescript": "11.1.6",
"@storybook/addon-actions": "8.4.6",
"@storybook/addon-essentials": "8.4.6",
"@storybook/addon-interactions": "8.4.6",
"@storybook/addon-links": "8.4.6",
"@storybook/addon-storysource": "8.4.6",
"@storybook/addon-svelte-csf": "4.2.0",
"@storybook/addon-themes": "8.4.6",
"@storybook/preset-scss": "1.0.3",
"@storybook/svelte": "8.4.6",
"@storybook/svelte-vite": "8.4.6",
"@sveltejs/vite-plugin-svelte": "3.1.2",
"@tsconfig/svelte": "5.0.4",
"@types/jest": "29.5.14",
"@types/jsdom": "21.1.7",
"@types/react": "18.3.12",
"babel-loader": "9.2.1",
"css-loader": "6.11.0",
"css-tree": "2.3.1",
"figma-api-exporter": "github:brave/figma-api-exporter#61b2a43",
"jsdom": "21.1.2",
"lodash.camelcase": "4.3.0",
"lodash.merge": "4.6.2",
"postcss": "8.4.49",
"postcss-js": "4.0.1",
"postcss-sort-media-queries": "4.4.1",
"prettier": "3.4.1",
"prettier-plugin-svelte": "3.3.2",
"rollup": "3.29.5",
"rollup-plugin-svelte": "7.2.2",
"sass": "1.81.0",
"sass-loader": "13.3.3",
"storybook": "8.4.6",
"style-dictionary": "3.9.2",
"style-loader": "3.3.4",
"svelte-check": "3.8.6",
"svelte-loader": "3.2.4",
"svelte2tsx": "0.7.30",
"svg2vectordrawable": "2.9.1",
"svgo": "3.3.2",
"ts-jest": "29.0.5",
"tsx": "4.16.2"
},
"peerDependencies": {
"@material/material-color-utilities": ">= 0.2.7",
"react": ">= 16.0.0",
"typescript": ">= 4.7.0"
},
"peerDependenciesMeta": {
"@material/material-color-utilities": {
"optional": true
},
"typescript": {
"optional": true
},
"react": {
"optional": true
}
},
"scripts": {
"format": "prettier ./ --write",
"format-diff": "prettier ./ --list-different",
"prepare": "npm run build",
"build": "npm run transform-tokens && npm run skiafy-icons && npm run android-icons && rollup -c rollup.config.js",
"dev": "rollup -c rollup.config.js --watch",
"update-icons": "tsx ./src/scripts/update-icons.ts",
"skiafy-icons": "tsx ./src/scripts/gen-skia-icons.ts",
"android-icons": "tsx ./src/scripts/gen-android-icons.ts",
"check": "svelte-check --compiler-warnings a11y-click-events-have-key-events:ignore,a11y-no-static-element-interactions:ignore && node ./src/scripts/audit-events.js",
"transform-tokens": "tsx ./src/tokens/transformTokens.ts && tsc -p ./tsconfig-tokens.json",
"test": "jest tests --coverage=false",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"bin": {
"leo-check": "./src/scripts/audit-tokens.js"
},
"license": "MIT",
"overrides": {
"axios": "1.7.8"
}
}