-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
177 lines (177 loc) · 6.48 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "@freenow/wave",
"version": "2.18.1",
"description": "React components of the Wave design system for your Front-End project",
"main": "lib/cjs/index.js",
"typings": "lib/types/index.d.ts",
"module": "lib/esm/index.js",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"default": "./lib/esm/index.js",
"types": "./lib/types/index.d.ts"
},
"./experimental": {
"import": "./lib/esm/experimental/index.js",
"require": "./lib/cjs/experimental/index.js",
"default": "./lib/esm/experimental/index.js",
"types": "./lib/types/experimental/index.d.ts"
}
},
"typesVersions": {
"*": {
"experimental": [
"lib/types/experimental/index.d.ts"
]
}
},
"bin": {
"run_v2_migration": "./scripts/run_v2_migration.sh"
},
"sideEffects": false,
"scripts": {
"clean": "rm -rf lib",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "ttsc --target es5 --module commonjs --outDir lib/cjs",
"build:esm": "ttsc --target es6 --module esnext --outDir lib/esm",
"build:documentation": "storybook build",
"generate": "npm run generate:icons",
"generate:icons": "node ./scripts/generate-icons assets/icons -r -o src/icons --exclude-color-prop **/brands/** **/flags/** --exclude-suffix **/flags/**",
"prettier": "pretty-quick --staged",
"test": "jest",
"test:fixture": "./scripts/run_fixtures.sh",
"test:watch": "jest --watch",
"test:codemods": "jest codemods",
"lint": "npx concurrently \"npm run lint:eslint\" \"npm run lint:stylelint\"",
"lint:stylelint": "stylelint --config .stylelintrc 'src/**/*.ts?(x)'",
"lint:eslint": "eslint --format pretty --ext .js,.jsx,.ts,.tsx src/",
"husky:commitMsg": "commitlint -E HUSKY_GIT_PARAMS",
"husky:precommit": "npm run lint:eslint -- --fix && npm run prettier",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},
"husky": {
"hooks": {
"commit-msg": "npm run husky:commitMsg",
"pre-commit": "npm run husky:precommit"
}
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/freenowtech/wave.git"
},
"files": [
"lib/",
"codemods/"
],
"license": "Apache-2.0",
"overrides": {
"react-refresh": "0.11.0",
"react-is": "17.0.2",
"react-windowed-select": {
"@types/react": "17.0.67"
}
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": ">4.3"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"@storybook/addon-actions": "^7.6.20",
"@storybook/addon-essentials": "^7.6.20",
"@storybook/addon-interactions": "^7.6.20",
"@storybook/addon-links": "^7.6.20",
"@storybook/manager-api": "^7.6.20",
"@storybook/react": "^7.6.20",
"@storybook/react-webpack5": "^7.6.20",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^7.6.20",
"@svgr/core": "^5.3.0",
"@svgr/plugin-prettier": "^5.3.0",
"@svgr/plugin-svgo": "^5.3.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/babel__traverse": "7.17.1",
"@types/jest": "^25.1.4",
"@types/jest-axe": "^3.2.1",
"@types/jscodeshift": "^0.11.6",
"@types/node": "^17.0.41",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@types/react-transition-group": "^4.2.4",
"@types/styled-components": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^4.28.4",
"babel-loader": "^8.3.0",
"eslint": "^7.31.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.7",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-unicorn": "^34.0.1",
"husky": "^4.2.3",
"jest": "^26.6.3",
"jest-axe": "^3.4.0",
"jest-date-mock": "^1.0.8",
"jest-styled-components": "^7.0.2",
"jscodeshift": "^0.15.0",
"minimatch": "^3.0.4",
"prettier": "^2.0.2",
"pretty-quick": "^2.0.1",
"react": "^18.2.0",
"react-docgen-typescript-plugin": "^1.0.5",
"react-dom": "^18.2.0",
"react-helmet": "^6.0.0",
"react-select-event": "^5.3.0",
"semantic-release": "^17.4.2",
"storybook": "^7.6.20",
"storybook-dark-mode": "^3.0.3",
"styled-components": "^5.3.8",
"stylelint": "^13.2.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"ts-jest": "^26.5.6",
"ts-morph": "^7.0.0",
"ttypescript": "^1.5.12",
"typescript": "^4.0.8",
"typescript-plugin-styled-components": "^1.5.0",
"yargs": "^15.3.1"
},
"dependencies": {
"@datepicker-react/hooks": "^2.3.1",
"@popperjs/core": "^2.11.5",
"@styled-system/theme-get": "^5.1.2",
"@types/react-select": "^4.0.18",
"@types/styled-system": "^5.1.9",
"date-fns": "^2.11.1",
"react-aria": "^3.35.1",
"react-aria-components": "^1.4.1",
"react-popper": "^2.3.0",
"react-transition-group": "^4.3.0",
"styled-system": "^5.1.5",
"warning": "^4.0.3",
"wave-react-windowed-select": "^1.0.0"
}
}