-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 4.86 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
{
"name": "@collaborne/media-player",
"version": "3.1.1",
"description": "Customizable React media player that uses @mui design system and own functionality",
"author": "Collaborne",
"license": "UNLICENSED",
"repository": "Collaborne/media-player",
"main": "dist/index.js",
"source": "src/index.ts",
"engines": {
"node": ">=10"
},
"scripts": {
"build": "npm run build:ts --",
"build:locales": "cross-env TS_NODE_PROJECT=tasks/tsconfig.json TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\" }' node -r ts-node/register -r source-map-support/register tasks/prepare-locales.ts .storybook/locales",
"build:ts": "tsc -p tsconfig.dist.json --noEmit false",
"build:watch": "npm run build -- --watch",
"build:docs": "typedoc",
"build:coverage": "npm run test:coverage && create-coverage-badges && npm run test:move-coverage",
"lint": "npm run lint:ts",
"lint:ts": "eslint --report-unused-disable-directives $(node -p 'require(\"./tsconfig.test.json\").include.map(include => `'\\${include}.\\{js,ts,tsx\\}'`).join(\" \")')",
"test:coverage": "cross-env CI=1 SKIP_PREFLIGHT_CHECK=true react-scripts test --env=jsdom --coverage .",
"test:move-coverage": "copyfiles -a 'coverage/**' 'gh-pages-dist/' && echo 'coverage files copied'",
"test": "run-s lint test:build test:unit",
"test:build": "npm run build:locales && tsc --noEmit -p tsconfig.test.json",
"test:unit": "cross-env CI=1 SKIP_PREFLIGHT_CHECK=true react-scripts test --env=jsdom --passWithNoTests",
"test:watch": "cross-env SKIP_PREFLIGHT_CHECK=true react-scripts test --env=jsdom",
"predeploy": "run-s storybook:build build:docs build:coverage",
"deploy": "gh-pages -d gh-pages-dist",
"storybook": "npm run build:locales && NODE_OPTIONS=\"${NODE_OPTIONS} --openssl-legacy-provider\" FAST_REFRESH=false storybook dev -p 9009",
"storybook:build": "npm run build:locales && NODE_OPTIONS=\"${NODE_OPTIONS} --openssl-legacy-provider\" storybook build --quiet -o gh-pages-dist"
},
"peerDependencies": {
"@mui/material": "^6.1.8",
"@types/debug": "^4.1.7",
"color-blend": "^4.0.0",
"debug": "^4.3.4",
"lodash": "^4.17.21",
"react": "^17.0.0 || ^18.0.0",
"react-icons": "^5.3.0",
"react-player": "^2.12.0",
"react-transition-group": "^4.4.5",
"react-use": "^17.4.0",
"uuidv4": "^6.2.13"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@collaborne/github-badges": "^0.0.3",
"@emotion/react": "^11.13.5",
"@emotion/styled": "^11.13.5",
"@mui/material": "^6.1.8",
"@storybook/addon-actions": "^8.0.5",
"@storybook/addon-controls": "^8.0.5",
"@storybook/addon-docs": "^8.0.5",
"@storybook/addon-links": "^8.0.5",
"@storybook/addon-toolbars": "^8.0.5",
"@storybook/addons": "^6.5.9",
"@storybook/preset-create-react-app": "^8.0.5",
"@storybook/react": "^8.0.5",
"@storybook/react-webpack5": "^8.0.5",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.1",
"@types/jest": "^28.1.3",
"@types/lodash": "^4.14.182",
"@types/mkdirp": "^1.0.2",
"@types/node": "^22.10.1",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/react-router-dom": "^5.1.8",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"babel-loader": "^8.2.5",
"chromatic": "^6.10.1",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"eslint": "^8.18.0",
"eslint-config-collaborne": "^5.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-disable": "^2.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-standard": "^4.1.0",
"gh-pages": "^4.0.0",
"mkdirp": "^1.0.4",
"node-random-name": "^1.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.3.0",
"react-intl-universal": "2.5.3",
"react-is": "^18.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "5.0.1",
"storybook": "^8.0.5",
"ts-node": "~10.8.1",
"tsconfig-collaborne": "^1.7.0",
"tss-react": "^4.4.0",
"typedoc": "^0.23.9",
"typedoc-plugin-merge-modules": "^4.0.1",
"typedoc-plugin-missing-exports": "^1.0.0",
"typedoc-theme-hierarchy": "^3.0.0",
"typescript": "^5.7.2",
"webpack": "5.73.0"
},
"files": [
"dist",
"locales",
"src",
"tsconfig.json"
],
"dependencies": {
"mitt": "^3.0.0",
"react-rnd": "^10.3.7",
"resize-observer-polyfill": "^1.5.1",
"screenfull": "^5.2.0",
"zustand": "^4.5.2"
},
"jest": {
"collectCoverageFrom": [
"./src/**"
],
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"coveragePathIgnorePatterns": [
"/src/types",
"/src/react-app-env.d.ts",
"/src/theme.ts",
"/src/.eslintrc.json",
"index.ts"
]
}
}