-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 4.52 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
{
"resolutions": {
"@types/react": "^17.0.10",
"postcss": "^8.4.16"
},
"name": "betterplace-design-system",
"author": "betterplace <[email protected]>",
"license": "Apache-2.0",
"homepage": "http://betterplace.github.io/betterplace-design-system",
"version": "0.0.11",
"files": [
"dist"
],
"main": "./dist/betterplace-design-system.umd.js",
"module": "./dist/betterplace-design-system.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/betterplace-design-system.es.js",
"require": "./dist/betterplace-design-system.umd.js"
}
},
"scripts": {
"setup": "./script/setup",
"test": "jest",
"dev": "vite",
"build": "yarn build-tokens && tsc -p tsconfig.base.json && vite build && cp -r ./build/* ./dist/",
"preview": "vite preview",
"prestorybook": "yarn build-tokens",
"storybook": "start-storybook -p 6006",
"figma::tokens": "ts-node -r dotenv/config --project ./tsconfig.tsnode.json figma/fetch_tokens.ts PJ7OUutWRrSHW6qgaPNW1l",
"figma::components": "ts-node -r dotenv/config --project ./tsconfig.tsnode.json figma/fetch_components.ts PJ7OUutWRrSHW6qgaPNW1l",
"component::add::figma": "ts-node --project ./tsconfig.tsnode.json node_modules/.bin/yo ./generator --figma --test --story --root src/lib",
"component::add::lib": "ts-node --project ./tsconfig.tsnode.json node_modules/.bin/yo ./generator --test --story --root src/lib",
"component::add::local": "ts-node --project ./tsconfig.tsnode.json node_modules/.bin/yo ./generator --root",
"build-storybook": "export BASE_URL='/betterplace-design-system/'; build-storybook",
"build-tokens": "style-dictionary build --config config/style-dictionary/config.js",
"lint": "tsc -p tsconfig.base.json && eslint . && stylelint src/**/*.css",
"prepare": "husky install"
},
"dependencies": {
"classnames": "^2.3.1"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"remotedev": "^0.2.9",
"rxjs": "^7.5.5"
},
"devDependencies": {
"@babel/core": "^7.17.9",
"@storybook/addon-a11y": "^6.5.12",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-docs": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-interactions": "^6.5.12",
"@storybook/addon-jest": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/builder-vite": "^0.2.2",
"@storybook/react": "^6.5.12",
"@storybook/testing-library": "^0.0.13",
"@swc/core": "^1.2.189",
"@swc/jest": "^0.2.21",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.0",
"@types/jest": "^27.5.1",
"@types/prettier": "^2.6.1",
"@types/react": "^17.0.10",
"@types/react-dom": "^17.0.10",
"@types/through2": "^2.0.36",
"@types/yeoman-generator": "^5.2.10",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"babel-loader": "^8.2.4",
"dotenv": "^16.0.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-mdx": "^1.17.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-mdx": "^1.17.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"figma-api": "^1.10.1",
"fuse.js": "^6.6.2",
"husky": ">=6",
"isomorphic-unfetch": "^3.1.0",
"jest": "^28.1.0",
"jest-css-modules": "^2.1.0",
"jest-environment-jsdom": "^28.1.0",
"lint-staged": ">=10",
"postcss": "^8.4.16",
"postcss-apply": "^0.12.0",
"postcss-nested": "^5.0.6",
"postcss-nesting": "^10.1.7",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"remotedev": "^0.2.9",
"rxjs": "^7.5.5",
"storybook-addon-designs": "^6.3.1",
"style-dictionary": "^3.7.0",
"stylelint": "^14.8.1",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^25.0.0",
"stylelint-prettier": "^2.0.0",
"through2": "^4.0.2",
"ts-jest": "^28.0.2",
"ts-node": "^10.7.0",
"ts-node-register": "^1.0.0",
"typescript": "^4.5.4",
"vite": "^3.1.3",
"vite-plugin-dts": "^1.5.0",
"vite-plugin-dynamic-import": "^0.9.3",
"vite-plugin-eslint": "^1.8.1",
"yeoman-generator": "^5.6.1",
"yo": "^4.3.0"
},
"lint-staged": {
"**/*.ts?(x)": "bash -c tsc -p ./tsconfig.json --noEmit",
"**/*.{ts, tsx, mdx}": "eslint --cache --fix",
"*.?(s)css": [
"stylelint --fix",
"stylelint"
]
}
}