-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
163 lines (163 loc) · 5.44 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
{
"name": "@fandom/jwplayer-fandom",
"version": "2.16.1",
"description": "JWPlayer for Fandom",
"engines": {
"node": ">=18.0.0"
},
"exports": {
".": "./dist/main.js",
"./DesktopArticleVideoLoader": "./dist/DesktopArticleVideoLoader.js",
"./MobileArticleVideoLoader": "./dist/MobileArticleVideoLoader.js",
"./CanonicalVideoLoader": "./dist/CanonicalVideoLoader.js",
"./RedVentureVideoPlayer": "./dist/RedVentureVideoPlayer.js"
},
"files": [
"dist"
],
"types": "./dist/main.d.ts",
"install-peers": "install-peers",
"scripts": {
"start": "yarn build-fandom-player && npm-run-all --parallel watch app",
"build": "yarn build-fandom-player && yarn build-stand-alone",
"build-fandom-player": "yarn run create-dist && rollup -c",
"build-stand-alone": "cd stand-alone && yarn && yarn run create-standalone-dist && rollup -c rollup-stand-alone.config.js",
"deploy-stand-alone": "ts-node --project stand-alone/tsconfig-stand-alone.json stand-alone/deploy/deploy.ts",
"watch": "NODE_ENV=development rollup -c --watch",
"app": "cd test-jw && yarn && yarn start",
"dev": "yarn build && yarn app",
"create-dist": "rm -rf dist && mkdir -p dist",
"create-standalone-dist": "rm -rf standalone-dist && mkdir -p standalone-dist",
"lint": "yarn eslint src && yarn prettier --check src",
"lint:fix": "npm-run-all --continue-on-error --parallel lint:prettier lint:eslint",
"lint:prettier:src": "prettier --write src",
"lint:prettier:scripts": "prettier --write scripts",
"lint:prettier:tests": "prettier --write tests",
"lint:prettier": "npm-run-all --continue-on-error --parallel lint:prettier:src",
"lint:eslint:src": "eslint --cache --fix src",
"lint:eslint:scripts": "eslint --cache --fix scripts",
"lint:eslint:tests": "eslint --cache --fix tests",
"lint:eslint": "npm-run-all --continue-on-error --parallel lint:eslint:src",
"test": "jest",
"prepare": "husky install",
"pub:patch": "npm version patch && yarn pub",
"pub:minor": "npm version minor && yarn pub",
"pub:major": "npm version major && yarn pub",
"pub": "yarn install && yarn build && npm publish --tag beta",
"purgeSingleFile": "ts-node --project stand-alone/tsconfig-stand-alone.json stand-alone/deploy/purge/purgeSingleFile.ts",
"serveFilesOnBrowser": "npx browser-sync start --server --files \"**/.js\"",
"artifactoryCleanup": "node scripts/artifactory-cleanup.js"
},
"lint-staged": {
"src/**/*.(ts|tsx|js)": [
"prettier --write",
"eslint --cache --fix"
],
"scripts/**/*.(ts|tsx|js)": [
"prettier --write",
"eslint --cache --fix"
],
"tests/**/*.(ts|tsx|js)": [
"prettier --write",
"eslint --cache --fix"
],
"src/**/*.json": [
"prettier --write"
],
"src/**/*.md": [
"prettier --write"
],
"scripts/**/*.json": [
"prettier --write"
],
"tests/**/*.json": [
"prettier --write"
],
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
},
"publishConfig": {
"registry": "https://artifactory.wikia-inc.com/artifactory/api/npm/wikia-npm/"
},
"repository": "git+https://github.com/Wikia/jwplayer-fandom.git",
"author": "Warren Leaverton <[email protected]>",
"license": "ISC",
"bugs": {
"url": "https://github.com/Wikia/jwplayer-fandom/issues"
},
"homepage": "https://github.com/Wikia/jwplayer-fandom#readme",
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/plugin-proposal-optional-chaining": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-react": "^7.16.5",
"@babel/preset-typescript": "^7.16.5",
"@fandom-frontend/eslint-config": "^3.0.0",
"@fandom-frontend/prettier-config": "^2.1.0",
"@fandom/pathfinder-lite": "1.0.5",
"@google-cloud/storage": "^5.16.1",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "21.0.1",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.1.3",
"@rollup/plugin-replace": "4.0.0",
"@rollup/plugin-typescript": "8.3.0",
"@testing-library/react": "14.0.0",
"@types/jest": "29.5.5",
"@types/react": "17.0.39",
"@types/youtube": "^0.0.47",
"@typescript-eslint/eslint-plugin": "5.16.0",
"@typescript-eslint/parser": "5.16.0",
"autoprefixer": "10.4.14",
"cssnano": "^5.1.15",
"eslint": "^7.0.0",
"eslint-config-prettier": "8.4.0",
"husky": ">=6",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "12.3.4",
"node-sass": "^7.0.3",
"node-watch": "0.7.3",
"npm-run-all": "4.1.5",
"postcss": "8.4.22",
"postcss-cssnext": "3.1.1",
"postcss-design-tokens": "1.3.0",
"postcss-nested": "6.0.1",
"postcss-simple-vars": "7.0.1",
"prettier": "2.5.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"rollup": "2.68.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-dts": "4.2.0",
"rollup-plugin-postcss": "4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "5.9.0",
"semver": "7.5.4",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"tslib": "^2.3.1",
"typescript": "^4.5.4",
"zx": "^4.2.0"
},
"peerDependencies": {
"i18next": "^19.7.0",
"react": "^16.14.0 || ^17.0.2 || ^18.0.0",
"react-dom": "^16.14.0 || ^17.0.2 || ^18.0.0",
"react-i18next": "^11.7.1",
"@fandom/tracking-metrics": "^0.4.1"
},
"dependencies": {
"@fandom-frontend/design-system": "15.18.1",
"@fandom-frontend/react-common": "13.23.1",
"@fandom/context": "^0.6.1",
"@fandom/tracking-metrics": "0.4.1",
"@wikia/post-quecast": "2.0.1",
"clsx": "1.2.1",
"js-cookie": "3.0.1"
},
"resolutions": {
"**/@types/react": "17.0.39"
}
}