|
@@ -35,7 +35,11 @@
|
|
"build:css": "lerna run build:css",
|
|
"build:css": "lerna run build:css",
|
|
"build-storybook": "build-storybook -c ./.storybook/js/",
|
|
"build-storybook": "build-storybook -c ./.storybook/js/",
|
|
"build:gatsbydoc": "lerna run build:lib --scope=@douyinfe/semi-webpack-plugin && cross-env NODE_ENV=production node --max_old_space_size=16384 ./node_modules/gatsby/cli.js build --prefix-paths --verbose && rm -rf build && mv public build",
|
|
"build:gatsbydoc": "lerna run build:lib --scope=@douyinfe/semi-webpack-plugin && cross-env NODE_ENV=production node --max_old_space_size=16384 ./node_modules/gatsby/cli.js build --prefix-paths --verbose && rm -rf build && mv public build",
|
|
- "build:icon": "lerna run build:icon --scope='@douyinfe/semi-{icons,illustrations}'"
|
|
|
|
|
|
+ "build:icon": "lerna run build:icon --scope='@douyinfe/semi-{icons,illustrations}'",
|
|
|
|
+ "cypress:coverage": "npx wait-on http://127.0.0.1:6006 && ./node_modules/.bin/cypress run",
|
|
|
|
+ "postcypress:coverage": "yarn coverage:merge",
|
|
|
|
+ "posttest:coverage": "yarn coverage:merge",
|
|
|
|
+ "coverage:merge": "npx istanbul-combine -d test/merged -p detail -r lcov -r json cypress/coverage/coverage-final.json test/coverage/coverage-final.json"
|
|
},
|
|
},
|
|
"dependencies": {
|
|
"dependencies": {
|
|
"@douyinfe/semi-site-banner": "0.0.1",
|
|
"@douyinfe/semi-site-banner": "0.0.1",
|
|
@@ -108,6 +112,7 @@
|
|
"@babel/types": "^7.15.4",
|
|
"@babel/types": "^7.15.4",
|
|
"@commitlint/cli": "^9.1.2",
|
|
"@commitlint/cli": "^9.1.2",
|
|
"@commitlint/config-conventional": "^7.6.0",
|
|
"@commitlint/config-conventional": "^7.6.0",
|
|
|
|
+ "@cypress/code-coverage": "^3.9.12",
|
|
"@octokit/rest": "^18.12.0",
|
|
"@octokit/rest": "^18.12.0",
|
|
"@shopify/jest-dom-mocks": "^2.11.7",
|
|
"@shopify/jest-dom-mocks": "^2.11.7",
|
|
"@storybook/addon-a11y": "^6.4.10",
|
|
"@storybook/addon-a11y": "^6.4.10",
|
|
@@ -138,6 +143,7 @@
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-jest": "^24.9.0",
|
|
"babel-loader": "^8.2.2",
|
|
"babel-loader": "^8.2.2",
|
|
|
|
+ "babel-plugin-istanbul": "^6.1.1",
|
|
"babel-plugin-transform-require-context": "^0.1.1",
|
|
"babel-plugin-transform-require-context": "^0.1.1",
|
|
"babel-runtime": "^6.26.0",
|
|
"babel-runtime": "^6.26.0",
|
|
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|
|
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|