-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.95 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
{
"name": "design-token-editor",
"version": "0.6.0",
"description": "A react component to view/edit design token values",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"default": "./lib/cjs/index.js"
},
"./esm/": "./lib/esm/",
"./css/": "./lib/css/",
"./tokens": "./lib/tokens/tokens.js",
"./lib/": "./lib/"
},
"scripts": {
"start": "npm-run-all -p watch:* storybook",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"build:design-tokens": "style-dictionary build -c style-dictionary.config.json",
"build:sass": "sass src/styles/index.scss lib/css/dte.css",
"build": "npm-run-all build:*",
"test": "echo \"Error: no test specified\" && exit 1",
"watch:design-tokens": "chokidar --initial --command 'npm run build:design-tokens' 'src/**/*.tokens.json' 'src/**/tokens.json'",
"watch:sass": "sass --watch src/styles/index.scss lib/css/dte.css",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"format": "prettier --write 'src/**/*'",
"checkformat": "prettier --check 'src/**/*'"
},
"files": [
"lib/",
"src/styles"
],
"repository": {
"type": "git",
"url": "git+https://github.com/sergei-maertens/design-token-editor.git"
},
"keywords": [
"react",
"design-tokens",
"style-dictionary"
],
"author": "Sergei Maertens",
"license": "MIT",
"bugs": {
"url": "https://github.com/sergei-maertens/design-token-editor/issues"
},
"homepage": "https://github.com/sergei-maertens/design-token-editor#readme",
"devDependencies": {
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@open-formulieren/design-tokens": "^0.25.0",
"@storybook/addon-actions": "^7.6.14",
"@storybook/addon-essentials": "^7.6.14",
"@storybook/addon-interactions": "^7.6.14",
"@storybook/addon-links": "^7.6.14",
"@storybook/blocks": "^7.6.14",
"@storybook/jest": "^0.2.3",
"@storybook/react": "^7.6.14",
"@storybook/react-webpack5": "^7.6.14",
"@storybook/testing-library": "^0.2.2",
"@types/color": "^3.0.3",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@utrecht/design-tokens": "^1.0.0-alpha.429",
"babel-loader": "^8.3.0",
"chokidar": "^3.5.3",
"chokidar-cli": "^3.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.57.1",
"storybook": "^7.6.14",
"style-dictionary": "^3.7.2",
"typescript": "^5.3.3",
"webpack": "^5.75.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"dependencies": {
"clsx": "^1.2.1",
"color": "^4.2.3"
}
}