mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
init
This commit is contained in:
1 parent
7397a0d18d
commit
5001490210
7 files changed
+83
-111
No files matched your search
@@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"presets": [
|
|
||||||
[
|
|
||||||
"@babel/env",
|
|
||||||
{
|
|
||||||
"modules": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"@babel/plugin-external-helpers",
|
|
||||||
"@babel/plugin-transform-runtime"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -4,5 +4,4 @@ node_modules
|
|||||||
*.log
|
*.log
|
||||||
commit.json
|
commit.json
|
||||||
package-lock.json
|
package-lock.json
|
||||||
.size-snapshot.json
|
|
||||||
yarn.lock
|
yarn.lock
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"lerna": "3.4.3",
|
"lerna": "4.0.0",
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"packages": [
|
"packages": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
@@ -12,4 +12,4 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+12
-49
@@ -4,14 +4,12 @@
|
|||||||
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"bootstrap": "npx lerna bootstrap",
|
"bootstrap": "npx lerna bootstrap",
|
||||||
|
"lint": "npx eslint packages/*/src",
|
||||||
|
"build:sw": "node ./scripts/build-sw.js",
|
||||||
|
"test:create": "node ./scripts/createTests.js",
|
||||||
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
|
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
|
||||||
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
|
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
|
||||||
"build:all": "npm run build all",
|
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'"
|
||||||
"build:sw": "node ./scripts/build-sw.js",
|
|
||||||
"test:create": "npx cross-env NODE_ENV=test node ./scripts/createTests.js",
|
|
||||||
"test": "npx cross-env NODE_ENV=test mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",
|
|
||||||
"lint": "npx eslint packages/*/src",
|
|
||||||
"sizereport": "npx sizereport --config"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -26,54 +24,19 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/zhw2590582/ArtPlayer/issues"
|
"url": "https://github.com/zhw2590582/ArtPlayer/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/zhw2590582/ArtPlayer",
|
"homepage": "https://artPlayer.org",
|
||||||
"browserslist": "> 0.5%, last 2 versions, not dead",
|
"browserslist": "> 0.5%, last 2 versions, not dead",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.16.12",
|
"@parcel/config-default": "^2.5.0",
|
||||||
"@babel/eslint-parser": "^7.16.5",
|
"@parcel/core": "^2.5.0",
|
||||||
"@babel/plugin-external-helpers": "^7.16.7",
|
"@parcel/reporter-cli": "^2.5.0",
|
||||||
"@babel/plugin-transform-runtime": "^7.16.10",
|
"@parcel/transformer-less": "^2.5.0",
|
||||||
"@babel/preset-env": "^7.16.11",
|
"eslint": "^8.14.0",
|
||||||
"@babel/preset-react": "^7.16.7",
|
|
||||||
"@babel/runtime": "^7.16.7",
|
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
|
||||||
"@rollup/plugin-commonjs": "^22.0.0",
|
|
||||||
"@rollup/plugin-json": "^4.1.0",
|
|
||||||
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
||||||
"@rollup/plugin-replace": "^4.0.0",
|
|
||||||
"autoprefixer": "^10.4.2",
|
|
||||||
"browser-env": "^3.3.0",
|
|
||||||
"chai": "^4.3.6",
|
|
||||||
"chalk": "^4.1.2",
|
|
||||||
"cpy": "^8.1.2",
|
|
||||||
"cross-env": "^7.0.3",
|
|
||||||
"cssnano": "^5.0.16",
|
|
||||||
"del": "^6.0.0",
|
|
||||||
"eslint": "^8.3.0",
|
|
||||||
"eslint-config-airbnb-base": "^15.0.0",
|
|
||||||
"eslint-config-prettier": "^8.3.0",
|
|
||||||
"eslint-config-standard": "^14.0.0",
|
|
||||||
"eslint-plugin-import": "^2.25.4",
|
|
||||||
"eslint-plugin-node": "^11.1.0",
|
|
||||||
"eslint-plugin-promise": "^6.0.0",
|
|
||||||
"eslint-plugin-standard": "^5.0.0",
|
|
||||||
"glob": "^8.0.1",
|
"glob": "^8.0.1",
|
||||||
"inquirer": "^8.2.0",
|
"inquirer": "^8.2.3",
|
||||||
"lerna": "^4.0.0",
|
"lerna": "^4.0.0",
|
||||||
"mocha": "^9.2.0",
|
"mocha": "^9.2.2",
|
||||||
"mocha-chrome": "^2.2.0",
|
"mocha-chrome": "^2.2.0",
|
||||||
"node-html-parser": "^5.2.0",
|
|
||||||
"node-sass": "^7.0.1",
|
|
||||||
"postcss": "^8.4.5",
|
|
||||||
"prettier": "^2.5.1",
|
|
||||||
"rollup": "^2.66.1",
|
|
||||||
"rollup-plugin-eslint": "^7.0.0",
|
|
||||||
"rollup-plugin-postcss": "^4.0.2",
|
|
||||||
"rollup-plugin-size-snapshot": "^0.12.0",
|
|
||||||
"rollup-plugin-svgo": "^1.1.0",
|
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
|
||||||
"servor": "^4.0.2",
|
|
||||||
"travis-size-report": "^1.1.0",
|
|
||||||
"workbox-build": "^6.5.3"
|
"workbox-build": "^6.5.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,42 +1,29 @@
|
|||||||
{
|
{
|
||||||
"name": "artplayer-document",
|
"name": "artplayer-document",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scripts": {
|
"dependencies": {
|
||||||
"docusaurus": "docusaurus",
|
"@docusaurus/core": "2.0.0-beta.15",
|
||||||
"start": "npx docusaurus start",
|
"@docusaurus/preset-classic": "2.0.0-beta.15",
|
||||||
"build": "npx docusaurus build && npm run copy",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"copy": "rm -rf ../../docs/document && mv build ../../docs/document",
|
"@svgr/webpack": "^6.1.0",
|
||||||
"commit": "git add . && git commit -m \"build document\" -n",
|
"clsx": "^1.1.1",
|
||||||
"swizzle": "npx docusaurus swizzle",
|
"docusaurus-lunr-search": "^2.1.15",
|
||||||
"deploy": "npx docusaurus deploy",
|
"file-loader": "^6.2.0",
|
||||||
"clear": "npx docusaurus clear",
|
"prism-react-renderer": "^1.2.1",
|
||||||
"serve": "npx docusaurus serve",
|
"react": "^17.0.2",
|
||||||
"write-translations": "npx docusaurus write-translations",
|
"react-dom": "^17.0.2",
|
||||||
"write-heading-ids": "npx docusaurus write-heading-ids"
|
"url-loader": "^4.1.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"browserslist": {
|
||||||
"@docusaurus/core": "2.0.0-beta.15",
|
"production": [
|
||||||
"@docusaurus/preset-classic": "2.0.0-beta.15",
|
">0.5%",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"not dead",
|
||||||
"@svgr/webpack": "^6.1.0",
|
"not op_mini all"
|
||||||
"clsx": "^1.1.1",
|
],
|
||||||
"docusaurus-lunr-search": "^2.1.15",
|
"development": [
|
||||||
"file-loader": "^6.2.0",
|
"last 1 chrome version",
|
||||||
"prism-react-renderer": "^1.2.1",
|
"last 1 firefox version",
|
||||||
"react": "^17.0.2",
|
"last 1 safari version"
|
||||||
"react-dom": "^17.0.2",
|
]
|
||||||
"url-loader": "^4.1.1"
|
}
|
||||||
},
|
|
||||||
"browserslist": {
|
|
||||||
"production": [
|
|
||||||
">0.5%",
|
|
||||||
"not dead",
|
|
||||||
"not op_mini all"
|
|
||||||
],
|
|
||||||
"development": [
|
|
||||||
"last 1 chrome version",
|
|
||||||
"last 1 firefox version",
|
|
||||||
"last 1 safari version"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"name": "artplayer-document",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"scripts": {
|
||||||
|
"docusaurus": "docusaurus",
|
||||||
|
"start": "npx docusaurus start",
|
||||||
|
"build": "npx docusaurus build && npm run copy",
|
||||||
|
"copy": "rm -rf ../../docs/document && mv build ../../docs/document",
|
||||||
|
"commit": "git add . && git commit -m \"build document\" -n",
|
||||||
|
"swizzle": "npx docusaurus swizzle",
|
||||||
|
"deploy": "npx docusaurus deploy",
|
||||||
|
"clear": "npx docusaurus clear",
|
||||||
|
"serve": "npx docusaurus serve",
|
||||||
|
"write-translations": "npx docusaurus write-translations",
|
||||||
|
"write-heading-ids": "npx docusaurus write-heading-ids"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@docusaurus/core": "2.0.0-beta.15",
|
||||||
|
"@docusaurus/preset-classic": "2.0.0-beta.15",
|
||||||
|
"@mdx-js/react": "^1.6.22",
|
||||||
|
"@svgr/webpack": "^6.1.0",
|
||||||
|
"clsx": "^1.1.1",
|
||||||
|
"docusaurus-lunr-search": "^2.1.15",
|
||||||
|
"file-loader": "^6.2.0",
|
||||||
|
"prism-react-renderer": "^1.2.1",
|
||||||
|
"react": "^17.0.2",
|
||||||
|
"react-dom": "^17.0.2",
|
||||||
|
"url-loader": "^4.1.1"
|
||||||
|
},
|
||||||
|
"browserslist": {
|
||||||
|
"production": [
|
||||||
|
">0.5%",
|
||||||
|
"not dead",
|
||||||
|
"not op_mini all"
|
||||||
|
],
|
||||||
|
"development": [
|
||||||
|
"last 1 chrome version",
|
||||||
|
"last 1 firefox version",
|
||||||
|
"last 1 safari version"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
repo: 'zhw2590582/artplayer',
|
|
||||||
path: 'dist/*',
|
|
||||||
branch: 'master',
|
|
||||||
};
|
|
||||||
Reference in new issue
Block a user