-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·167 lines (167 loc) · 4.91 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
{
"name": "franklin-sites",
"description": "React and Zurb Foundation based design system for life sciences web applications",
"version": "0.0.249",
"main": "dist/franklin-components.js",
"exports": {
".": "./dist/franklin-components.js",
"./franklin.css": "./dist/franklin.css"
},
"files": [
"src",
"dist",
"assets"
],
"types": "dist/types/components/index.d.ts",
"sideEffects": false,
"repository": "https://github.com/ebi-uniprot/franklin.git",
"author": "Xavier Watkins <[email protected]>",
"license": "MIT",
"scripts": {
"build": "rm -r dist; yarn build-library && yarn build-types && yarn build-storybook",
"build-library": "webpack",
"build-types": "tsc --project tsconfig.declaration.json",
"analyse": "webpack-bundle-analyzer dist/stats.json",
"jest-coverage-ratchet": "jest-coverage-ratchet",
"coverage-bump": "npm-run-all test:unit jest-coverage-ratchet",
"test": "npm-run-all --continue-on-error test:*",
"test:lint": "eslint src stories --ext .ts,.tsx --cache --cache-location 'node_modules/.eslintcache'",
"test:types": "tsc --project tsconfig.check.json",
"test:unit": "jest --coverage",
"test-watch": "jest --watch",
"prettier": "prettier src --write",
"prerelease": "yarn test && yarn build",
"release": "yarn publish && git push --follow-tags origin main",
"start": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepare": "husky"
},
"browserslist": [
"last 2 version",
"> 1%",
"IE 11"
],
"jest": {
"coverageReporters": [
"json-summary",
"lcov",
"text-summary",
"clover"
],
"coverageThreshold": {
"global": {
"lines": 80.14,
"statements": 79.64,
"functions": 77,
"branches": 70.16
}
},
"setupFilesAfterEnv": [
"<rootDir>/jest-setup.ts"
],
"transform": {
"^.+\\.(tsx|ts)?$": "babel-jest",
".+\\.(css|styl|less|sass|scss)$": "jest-css-modules-transform"
},
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss|sass)$": "<rootDir>/__mocks__/styleMock.js",
"^lodash-es$": "lodash"
},
"testEnvironment": "jsdom"
},
"lint-staged": {
"*.+(ts|tsx|css|scss)": [
"prettier --write"
]
},
"peerDependencies": {
"react": "18.x",
"react-dom": "18.x"
},
"resolutions": {
"strip-ansi": "6.0.1",
"string-width": "4.2.2",
"wrap-ansi": "7.0.0"
},
"dependencies": {
"classnames": "2.5.1",
"d3": "5.16.0",
"foundation-sites": "6.8.1",
"history": "5.3.0",
"lodash-es": "4.17.21",
"timing-functions": "2.0.1",
"type-fest": "4.26.1"
},
"devDependencies": {
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.4",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@storybook/addon-actions": "8.3.2",
"@storybook/addon-essentials": "8.3.2",
"@storybook/addon-knobs": "8.0.1",
"@storybook/addon-webpack5-compiler-babel": "3.0.3",
"@storybook/blocks": "8.3.2",
"@storybook/react": "8.3.2",
"@storybook/react-webpack5": "8.3.2",
"@svgr/webpack": "8.1.0",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@types/d3": "5.16.3",
"@types/jest": "29.5.13",
"@types/lodash-es": "4.17.12",
"@types/react": "18.3.8",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "8.4.0",
"@typescript-eslint/parser": "8.4.0",
"babel-jest": "29.7.0",
"babel-loader": "9.2.1",
"core-js": "3.38.1",
"css-loader": "7.1.2",
"eslint": "^8",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.6.3",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-storybook": "0.6.15",
"file-loader": "6.2.0",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-coverage-ratchet": "0.2.3",
"jest-css-modules-transform": "4.4.2",
"jest-environment-jsdom": "29.7.0",
"jest-silent-reporter": "0.6.0",
"lint-staged": "15.2.10",
"lorem-ipsum": "2.0.8",
"mini-css-extract-plugin": "^2.9.1",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-markdown": "9.0.1",
"rehype-raw": "7.0.0",
"sass": "1.70.0",
"sass-loader": "14.0.0",
"storybook": "8.3.2",
"style-loader": "4.0.0",
"svg-url-loader": "8.0.0",
"typescript": "5.6.2",
"webpack": "5.94.0",
"webpack-bundle-analyzer": "4.10.2",
"webpack-cli": "5.1.4"
}
}