test: test bundle size in CI
parent
99eae3605d
commit
c8305f6013
|
@ -5,6 +5,7 @@ sudo: false
|
||||||
script: yarn test
|
script: yarn test
|
||||||
before_script:
|
before_script:
|
||||||
- yarn prettier:check
|
- yarn prettier:check
|
||||||
|
- yarn test:size
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
|
@ -76,6 +76,7 @@
|
||||||
"react:14": "npm run react:clean && npm i react@^0.14 react-dom@^0.14 react-addons-test-utils@^0.14 --save-dev",
|
"react:14": "npm run react:clean && npm i react@^0.14 react-dom@^0.14 react-addons-test-utils@^0.14 --save-dev",
|
||||||
"react:15": "npm run react:clean && npm i react@^15 react-dom@^15 react-addons-test-utils@^15 --save-dev",
|
"react:15": "npm run react:clean && npm i react@^15 react-dom@^15 react-addons-test-utils@^15 --save-dev",
|
||||||
"test": "npm run clean && jest",
|
"test": "npm run clean && jest",
|
||||||
|
"test:size": "size-limit",
|
||||||
"prepublishOnly": "npm run build",
|
"prepublishOnly": "npm run build",
|
||||||
"storybook": "start-storybook -p 6006",
|
"storybook": "start-storybook -p 6006",
|
||||||
"build-storybook": "build-storybook",
|
"build-storybook": "build-storybook",
|
||||||
|
|
Loading…
Reference in New Issue