-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.15 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
{
"name": "@comicrelief/component-library",
"author": "Comic Relief Engineering Team",
"version": "0.0.0-see.readme.for.semantic.release.process",
"main": "dist/index.js",
"license": "ISC",
"jest": {
"verbose": true,
"testPathIgnorePatterns": [
"<rootDir>/playwright/",
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"moduleNameMapper": {
"\\.(css|jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/assetTransformer.js",
"^axios$": "axios/dist/node/axios.cjs"
}
},
"module": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/comicrelief/component-library.git"
},
"dependencies": {
"@hookform/resolvers": "^3.9.0",
"axios": "^1.7.2",
"lazysizes": "^5.3.2",
"lodash": "^4.17.11",
"moment": "^2.29.4",
"prop-types": "^15.8.1",
"pure-react-carousel": "1.30.1",
"react": "^17.0.2",
"react-canvas-confetti": "^1.4.0",
"react-currency-format": "^1.1.0",
"react-dom": "^17.0.2",
"react-hook-form": "^7.52.1",
"react-modal": "^3.16.1",
"react-range-slider-input": "^3.0.7",
"react-responsive": "^9.0.2",
"react-spinners": "^0.11.0",
"react-uid": "^2.3.3",
"styled-components": "^5.3.11",
"youtube-player": "^5.6.0",
"yup": "^1.4.0"
},
"resolutions": {
"react-scripts/workbox-webpack-plugin/workbox-build/@surma/rollup-plugin-off-main-thread/ejs": "3.1.6"
},
"scripts": {
"build": "rm -rf dist && NODE_ENV=production babel src --out-dir dist --copy-files --ignore __tests__,spec.js,test.js",
"test:unit": "yarn run jest",
"test:unit:update": "yarn jest -u",
"styleguide": "cross-env FAST_REFRESH=false styleguidist server",
"styleguide:build": "styleguidist build",
"test:e2e": "playwright test --project=chromium",
"test:e2e--h": "playwright test --project=chromium --headed",
"test:e2e:ci": "NODE_ENV=development; start-server-and-test styleguide http://localhost:6060 test:e2e",
"test:e2e:local": "export NODE_ENV=development; start-server-and-test styleguide http://localhost:6060 test:e2e",
"lint": "eslint src",
"lint-fix": "yarn lint --fix"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@playwright/test": "^1.38.1",
"babel-plugin-import": "^1.13.8",
"cross-env": "^7.0.3",
"ejs": "^3.1.9",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^26.1.0",
"jest-styled-components": "^7.1.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"react-scripts": "4.0.3",
"react-styleguidist": "^11.1.7",
"react-test-renderer": "^17.0.2",
"semantic-release": "^17.4.6",
"start-server-and-test": "^2.0.4"
}
}