This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.22 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
{
"name": "purplex-components",
"version": "6.12.0",
"private": true,
"main": "dist/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./base/*": {
"import": "./dist/esm/components/*/index.js",
"require": "./dist/components/*/index.js",
"types": "./dist/components/*/index.d.ts"
},
"./theme": {
"import": "./dist/esm/theme.js",
"require": "./dist/theme.js",
"types": "./dist/theme.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "run-s copy:fonts storybook:build",
"bump:major": "npm version major -m 'Bump v%s :rocket:'",
"bump:minor": "npm version minor -m 'Bump v%s :point_up:'",
"bump:patch": "npm version patch -m 'Bump v%s :speak_no_evil:'",
"bump": "npm run bump:patch",
"check:types": "tsc --noEmit --skipLibCheck",
"compile": "tsup",
"compile:icons": "svgr --expand-props none --filename-case kebab --typescript -d ./src/icons ./src/assets/images",
"copy:fonts": "cp './node_modules/inter-ui/Inter (web latin)/Inter-roman.var.woff2' './src/assets/fonts/Inter.woff2'",
"lint": "eslint . --ext .js,.ts,.jsx,.tsx",
"preview": "vite preview",
"start": "run-s copy:fonts storybook",
"start:dev": "run-p start watch",
"storybook": "start-storybook -p 6006 -c .storybook",
"storybook:build": "build-storybook -c .storybook",
"test": "echo 'Error: no test specified' && exit 1",
"watch": "tsup --watch src"
},
"dependencies": {
"@spicy-hooks/core": "^2.2.0",
"case-anything": "^2.1.10",
"color2k": "^2.0.0",
"rc-slider": "^9.7.5",
"rc-tooltip": "^5.2.2",
"react-select": "^5.4.0"
},
"devDependencies": {
"@babel/core": "^7.19.1",
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@storybook/addon-actions": "^6.5.12",
"@storybook/addon-essentials": "^6.5.12",
"@storybook/addon-links": "^6.5.12",
"@storybook/react": "^6.5.12",
"@svgr/cli": "^6.3.1",
"@types/rc-tooltip": "^3.7.7",
"@types/react": "^17.0.50",
"@types/react-dom": "^17.0.17",
"@vitejs/plugin-react": "^2.1.0",
"babel-loader": "^8.2.5",
"babel-preset-react-app": "^10.0.1",
"eslint": "^8.23.1",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-storybook": "^0.6.4",
"husky": "^8.0.1",
"inter-ui": "^3.19.3",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"storybook-addon-designs": "^6.3.1",
"tsup": "^6.2.3",
"typescript": "^4.8.3",
"vite": "^3.1.3"
},
"peerDependencies": {
"@emotion/react": "^11",
"@emotion/styled": "^11",
"react": ">=16",
"react-dom": ">=16"
},
"resolutions": {
"@types/react": "17.0.50",
"@types/react-dom": "17.0.17"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --ext .js,.ts,.jsx,.tsx --quiet"
]
},
"browserslist": [
"last 2 chrome versions"
],
"engines": {
"node": ">=14"
},
"volta": {
"node": "16.17.0"
}
}