mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 05:26:15 -08:00
add sizereport
This commit is contained in:
1 parent
47058616de
commit
e0b5da64fb
3 files changed
+19
-7
No files matched your search
+9
-6
@@ -1,13 +1,16 @@
|
||||
language: node_js
|
||||
|
||||
node_js:
|
||||
- stable
|
||||
- stable
|
||||
|
||||
before_script:
|
||||
- npm install
|
||||
- npm i packages/* && lerna bootstrap --hoist
|
||||
- npm install
|
||||
- npm i packages/* && lerna bootstrap --hoist
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
- npm run build:all
|
||||
- npm run test
|
||||
- npm run lint
|
||||
- npm run build:all
|
||||
- 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:all": "npm run build all && git add . && git commit -m \"build all packages\" -n ",
|
||||
"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": {
|
||||
"type": "git",
|
||||
@@ -64,5 +65,8 @@
|
||||
"rollup-plugin-svgo": "^1.0.2",
|
||||
"rollup-plugin-uglify": "^6.0.2",
|
||||
"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