mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-30 12:01:20 -08:00
add sizereport
This commit is contained in:
1 parent
47058616de
commit
e0b5da64fb
3 files changed
+13
-1
No files matched your search
@@ -11,3 +11,6 @@ script:
|
|||||||
- npm run lint
|
- npm run lint
|
||||||
- npm run build:all
|
- npm run build:all
|
||||||
- npm run test
|
- npm run test
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- npm run sizereport
|
||||||
+5
-1
@@ -12,7 +12,8 @@
|
|||||||
"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 && git add . && git commit -m \"build all packages\" -n ",
|
"build:all": "npm run build all && git add . && git commit -m \"build all packages\" -n ",
|
||||||
"test": "npx mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",
|
"test": "npx mocha-chrome ./test/index.html --mocha '{\"ui\":\"bdd\"}'",
|
||||||
"lint": "npx eslint packages/*/src"
|
"lint": "npx eslint packages/*/src",
|
||||||
|
"sizereport": "npx sizereport --config"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -64,5 +65,8 @@
|
|||||||
"rollup-plugin-svgo": "^1.0.2",
|
"rollup-plugin-svgo": "^1.0.2",
|
||||||
"rollup-plugin-uglify": "^6.0.2",
|
"rollup-plugin-uglify": "^6.0.2",
|
||||||
"servor": "^2.2.1"
|
"servor": "^2.2.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"travis-size-report": "^1.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
module.exports = {
|
||||||
|
repo: 'zhw2590582/artplayer',
|
||||||
|
path: 'dist/*',
|
||||||
|
branch: 'master',
|
||||||
|
};
|
||||||
Reference in new issue
Block a user