-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
174 lines (174 loc) · 5.39 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
{
"name": "plyr-react",
"version": "5.3.0",
"description": "A simple HTML5, YouTube and Vimeo player for react using plyr",
"keywords": [
"react",
"plyr",
"video",
"vimeo",
"youtube",
"accessibility",
"javascript",
"player",
"media"
],
"homepage": "https://chintan9.github.io/plyr-react/",
"repository": {
"type": "git",
"url": "[email protected]:chintan9/plyr-react.git"
},
"license": "MIT",
"author": "Chintan Prajapati",
"sideEffects": false,
"exports": {
"./package.json": "./package.json",
"./plyr.css": "./plyr.css",
".": {
"types": "./index.d.ts",
"module": "./esm/index.js",
"import": "./esm/index.mjs",
"default": "./index.js"
}
},
"main": "./index.js",
"types": "./index.d.ts",
"files": [
"**"
],
"scripts": {
"pretest": "tsc --noEmit",
"test": "jest",
"test:ci": "jest",
"test:coverage": "jest --coverage --forceExit --colors",
"test:coverage:watch": "jest --watch",
"test:dev": "jest --watch --no-coverage",
"lint": "esw --ext .tsx --ext .ts --color",
"lint:fix": "npm run lint --fix",
"eslint": "eslint --fix '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'",
"eslint:ci": "eslint '*.{js,json}' '{src,tests}/**/*.{ts,tsx}'",
"prebuild": "shx rm -rf dist",
"build": "rollup -c",
"postbuild": "npm run copy",
"precopy": "shx cp -r dist/src/* dist/esm && shx cp -r dist/src/* dist && shx rm -rf dist/src && shx rm -rf dist/{src,tests}",
"copy": "concurrently -m 8 'npm:copy:*'",
"copy:package-json": "shx cp package.json dist && json -I -f dist/package.json -e 'this.private=false; this.devDependencies=undefined; this.scripts=undefined; this.publishConfig=undefined'",
"copy:static-content": "shx cp README.md LICENSE dist",
"prepare": "npm run build && husky install",
"prerelease": "npm run build",
"release": "npm publish",
"predeploy": "npm run prepare",
"deploy": "gh-pages -d"
},
"dependencies": {
"plyr": "^3.7.7",
"react-aptor": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.0",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.5.0",
"@rollup/plugin-url": "^7.0.0",
"@svgr/rollup": "^6.5.1",
"@swc/core": "^1.3.42",
"@swc/jest": "^0.2.24",
"@testing-library/dom": "^8.20.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.3",
"@types/enzyme": "^3.10.12",
"@types/jest": "^27.5.2",
"@types/mocha": "^9.1.1",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"all-contributors-cli": "^6.24.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^8.3.0",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-react-app": "^10.0.1",
"concurrently": "^8.2.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.3",
"dts-bundle-generator": "^7.2.0",
"esbuild": "^0.17.12",
"eslint": "^8.36.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^26.9.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-watch": "^8.0.0",
"gh-pages": "^4.0.0",
"glob": "^8.1.0",
"husky": "^8.0.3",
"jasmine-expect": "^5.0.0",
"jest": "^27.5.1",
"jest-environment-jsdom": "^27.5.1",
"jest-pnp-resolver": "^1.2.3",
"jest-resolve": "^28.1.3",
"jest-watch-typeahead": "^2.2.2",
"json": "^11.0.0",
"lint-staged": "^12.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.6",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-app-polyfill": "^3.0.0",
"react-docgen-typescript": "^2.2.2",
"react-dom": "^17.0.2",
"react-error-overlay": "^6.0.11",
"react-test-renderer": "^17.0.2",
"rollup": "^2.79.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-esbuild": "^4.10.3",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"sass": "^1.59.3",
"sass-loader": "^12.6.0",
"shx": "^0.3.4",
"sort-package-json": "^1.57.0",
"style-loader": "^3.3.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"webpack": "^5.76.2"
},
"peerDependencies": {
"plyr": "^3.7.7",
"react": ">=16.8"
},
"peerDependenciesMeta": {
"plyr": {
"optional": false
},
"react": {
"optional": true
}
},
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public"
}
}