-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
182 lines (182 loc) · 5.72 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
178
179
180
181
182
{
"name": "suomifi-ui-components",
"version": "15.0.1",
"description": "Suomi.fi UI component library",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"typings": "dist/types/index.d.ts",
"files": [
"dist",
"README.md"
],
"sideEffects": false,
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vrk-kpa/suomifi-ui-components.git"
},
"author": "Joonas Kallunki <[email protected]> (https://jkallunki.net/)",
"contributors": [
"Aappo Ålander",
"Joonas Kaski",
"Sami Korpela",
"Valtteri Laukkanen",
"Ilkka Pättikangas",
"Mikko Riippi",
"Jenni Unkuri"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/vrk-kpa/suomifi-ui-components/issues"
},
"homepage": "https://github.com/vrk-kpa/suomifi-ui-components#readme",
"keywords": [
"react",
"suomifi",
"styleguide",
"styled-components",
"typescript",
"UI",
"accessibility",
"a11y"
],
"scripts": {
"prepare": "npm-run-all husky:install build",
"husky:install": "husky install",
"pre-commit": "lint-staged",
"pre-push": "npm run validate",
"start": "npm run styleguide",
"start:withaxe": "cross-env AXE=\"true\" npm run styleguidist server",
"test": "jest test src --passWithNoTests",
"test:updatesnapshots": "jest test --u",
"lint": "run-p lint:eslint lint:stylelint",
"lint:eslint": "eslint src",
"lint:stylelint": "stylelint \"./src/**/*.{ts,tsx}\"",
"prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"prettier:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"validate": "run-p test lint prettier:check",
"build": "npm-run-all build:clean build:rollup build:copytypes build:cleantmp",
"build:clean": "rimraf ./dist",
"build:rollup": "rollup -c",
"build:copytypes": "copyfiles -f ./dist/tmp/index.d.ts ./dist/types",
"build:cleantmp": "rimraf ./dist/tmp",
"bundle-analyzer": "size-limit --why",
"styleguide": "styleguidist server",
"styleguide:build": "cross-env BASE_PATH=/suomifi-ui-components styleguidist build",
"styleguide:assets": "node styleguide.add.version.js && cross-env BUILD_TYPE=ASSETS BASE_PATH=/suomifi-ui-components styleguidist build && node styleguide.move.build.js",
"deploy": "gh-pages -d styleguide -m \"[skip ci] Updates\"",
"deploy-dev": "gh-pages -d styleguide -e dev -m \"[skip ci] Updates\""
},
"devDependencies": {
"@axe-core/react": "4.7.3",
"@babel/core": "7.22.10",
"@babel/plugin-transform-runtime": "7.22.10",
"@babel/preset-env": "7.22.10",
"@babel/preset-react": "7.22.5",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.0",
"@rollup/plugin-node-resolve": "15.3.0",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.3",
"@types/jest-axe": "3.5.5",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/styled-components": "5.1.26",
"@types/warning": "3.0.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"autoprefixer": "10.4.14",
"babel-jest": "29.6.2",
"babel-plugin-styled-components": "2.1.4",
"clipboard-copy": "4.0.1",
"copyfiles": "2.4.1",
"cross-env": "7.0.3",
"css-loader": "6.8.1",
"cssnano": "6.0.1",
"eslint": "8.46.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.8.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-jest": "26.6.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-react": "7.33.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-tree-shaking": "1.10.0",
"fs-extra": "11.1.1",
"gh-pages": "5.0.0",
"husky": "8.0.3",
"jest": "29.6.2",
"jest-axe": "8.0.0",
"jest-environment-jsdom": "29.6.2",
"jest-styled-components": "7.1.1",
"lint-staged": "13.2.3",
"npm-run-all": "4.1.5",
"postcss": "8.4.31",
"postcss-import": "15.1.0",
"postcss-styled-syntax": "0.4.0",
"prettier": "3.0.1",
"prettier-eslint": "15.0.1",
"prop-types": "15.8.1",
"react": "18.3.1",
"react-docgen": "5.4.3",
"react-docgen-typescript": "2.2.2",
"react-dom": "18.3.1",
"react-is": "17.0.2",
"react-styleguidist": "13.1.3",
"rimraf": "5.0.1",
"rollup": "4.24.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-progress": "1.1.2",
"rollup-plugin-ts": "3.4.5",
"sass": "1.64.2",
"sass-loader": "13.3.2",
"size-limit": "7.0.8",
"style-loader": "3.3.3",
"styled-components": "6.1.13",
"stylelint": "15.10.2",
"stylelint-config-recommended": "13.0.0",
"ts-jest": "29.1.1",
"ts-loader": "9.4.3",
"tslib": "2.6.1",
"typescript": "4.9.5",
"util": "0.12.5",
"webpack": "5.95.0"
},
"dependencies": {
"@babel/runtime": "7.23.5",
"@popperjs/core": "2.11.8",
"@types/react-modal": "3.16.0",
"classnames": "2.3.2",
"date-fns": "2.30.0",
"polished": "4.2.2",
"react-modal": "3.16.1",
"react-popper": "2.3.0",
"suomifi-design-tokens": "6.0.0",
"suomifi-icons": "7.2.0"
},
"peerDependencies": {
"@types/styled-components": ">=5.1.9",
"@types/warning": ">=3.0.0",
"react": ">=16.8.0",
"styled-components": ">=5.2.1"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": "prettier --check",
"src/**/*.{js,jsx,ts,tsx}": [
"eslint",
"stylelint"
]
},
"size-limit": [
{
"path": "dist/suomifi-ui-components.esm.js"
}
]
}