This repository has been archived by the owner on Oct 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
151 lines (151 loc) · 4.88 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
{
"name": "react-universal-player",
"version": "0.1.1-2",
"description": "Universal video player",
"keywords": [
"video",
"youutube",
"vimeo",
"react",
"player",
"ssr",
"isomorphic",
"universal"
],
"main": "./bundles/index.umd.js",
"module": "./index.js",
"typings": "./index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/luishdz1010/react-universal-player"
},
"author": "Luis Hernandez Castillo <luis.hdz1010@gmail.com>",
"license": "MIT",
"engines": {
"node": ">=8.5",
"npm": ">=6.0",
"yarn": "^1.0"
},
"scripts": {
"cleanup": "shx rm -rf dist",
"prebuild": "npm run cleanup && npm run verify",
"build": "tsc && tsc --target es2020 --outDir dist/es && rollup -c config/rollup.config.js && rollup -c config/rollup.config.js --environment NODE_ENV:production",
"postbuild": "node scripts/copy && npm run size",
"docs": "typedoc -p . --theme minimal --target 'es6' --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out docs src/",
"test": "jest && karma start karma.conf.js",
"test:node": "jest",
"test:browser": "KARMA_SINGLE=1 karma start karma.conf.js --browsers=CustomChrome",
"test:ci": "jest",
"validate-js": "tsc -p ./config && tsc -p ./scripts",
"verify": "npm run validate-js && npm run style && npm run test:ci",
"commit": "git-cz",
"style": "npm run format -- --write --list-different && npm run lint",
"style:fix": "npm run format:fix && npm run lint:fix",
"format": "prettier \"**/*.{ts,tsx,js,jsx,css,scss,sass,less,md}\"",
"format:fix": "npm run format -- --write",
"lint": "eslint --ext .js,.ts,.tsx src",
"lint:fix": "npm run lint -- --fix",
"prerelease": "npm run build",
"release": "standard-version",
"postrelease": "node scripts/copy && node scripts/build && npm run release:github && npm run release:npm",
"release:github": "git push --no-verify --follow-tags origin master",
"release:npm": "npm publish dist",
"release:preflight": "npm pack ./dist --dry-run",
"size": "node scripts/file-size ./dist/bundles/index.umd.min.js"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint --config config/commitlint.config.js -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{ts,tsx,js,jsx,css,scss,sass,less,md}": [
"prettier --write",
"git add"
],
"src/**/*.{ts,tsx}": [
"npm run lint:fix",
"git add"
]
},
"peerDependencies": {
"@types/react": "*",
"react": ">=16.8.0",
"tslib": "1.10.0"
},
"dependencies": {
"@types/vimeo__player": "2.9.0",
"@types/youtube": "0.0.38",
"script-loading-toolkit": "1.2.3"
},
"devDependencies": {
"@commitlint/cli": "8.2.0",
"@commitlint/config-conventional": "8.2.0",
"@rollup/plugin-alias": "2.2.0",
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "9.3.2",
"@types/jasmine": "3.5.0",
"@types/jest": "24.0.23",
"@types/node": "12.12.14",
"@types/prettier": "1.19.0",
"@types/react": "16.9.15",
"@types/testing-library__react": "9.1.2",
"@types/warning": "3.0.0",
"@types/webpack-config-utils": "2.3.0",
"@typescript-eslint/eslint-plugin": "2.10.0",
"@typescript-eslint/parser": "2.10.0",
"commitizen": "4.0.3",
"cz-conventional-changelog": "3.0.2",
"eslint": "6.7.2",
"eslint-config-airbnb": "18.0.1",
"eslint-config-prettier": "6.7.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "23.1.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "3.1.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^2.3.0",
"gzip-size": "5.1.1",
"husky": "3.1.0",
"jasmine": "3.5.0",
"jest": "24.9.0",
"jest-environment-jsdom-fourteen": "1.0.1",
"jest-watch-typeahead": "0.4.2",
"karma": "4.4.1",
"karma-chrome-launcher": "3.1.0",
"karma-firefox-launcher": "1.2.0",
"karma-jasmine": "2.0.1",
"karma-parallel": "0.3.1",
"karma-rollup-preprocessor": "7.0.2",
"kleur": "3.0.3",
"lint-staged": "9.5.0",
"prettier": "1.19.1",
"pretty-bytes": "5.3.0",
"react": "16.12.0",
"react-dom": "16.12.0",
"rollup": "1.27.9",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-json": "4.0.0",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-sourcemaps": "0.4.2",
"rollup-plugin-terser": "5.1.2",
"rollup-plugin-typescript": "1.0.1",
"rollup-plugin-uglify": "6.0.3",
"shx": "0.3.2",
"standard-version": "7.0.1",
"ts-jest": "24.2.0",
"tslib": "1.10.0",
"typedoc": "0.15.3",
"typescript": "3.7.3",
"warning": "4.0.3",
"webpack-config-utils": "2.3.1"
}
}