|
@@ -12,10 +12,10 @@
|
|
|
"bootstrap": "lerna bootstrap",
|
|
|
"docsite": "npm run develop",
|
|
|
"pre-develop": "npm run scripts:changelog && node ./scripts/designToken.js ./static/designToken.json",
|
|
|
- "develop": "npm run pre-develop && gatsby clean && lerna run build:lib --scope=@douyinfe/semi-webpack-plugin && gatsby develop -H 0.0.0.0 --port=3666 --verbose",
|
|
|
+ "develop": "npm run pre-develop && gatsby clean && lerna run build:lib --scope @douyinfe/semi-webpack-plugin --scope eslint-plugin-semi-design && gatsby develop -H 0.0.0.0 --port=3666 --verbose",
|
|
|
"scripts:changelog": "node scripts/changelog.js",
|
|
|
"start": "npm run story",
|
|
|
- "pre-story": "lerna exec --scope=@douyinfe/semi-ui --scope=@douyinfe/semi-foundation -- rm -rf ./lib && lerna run build:lib --scope=@douyinfe/semi-webpack-plugin",
|
|
|
+ "pre-story": "lerna exec --scope=@douyinfe/semi-ui --scope=@douyinfe/semi-foundation -- rm -rf ./lib && lerna run build:lib --scope @douyinfe/semi-webpack-plugin --scope eslint-plugin-semi-design",
|
|
|
"story": "npm run pre-story && start-storybook -c ./.storybook/js/ -p 6006",
|
|
|
"story:ts": "npm run pre-story && && start-storybook -c ./.storybook/ts/ -p 6007",
|
|
|
"story:ani": "npm run pre-story && && start-storybook -c ./.storybook/animation/react -p 6008",
|
|
@@ -34,7 +34,7 @@
|
|
|
"build:js": "lerna run build:js",
|
|
|
"build:css": "lerna run build:css",
|
|
|
"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 --scope eslint-plugin-semi-design && 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}'",
|
|
|
"cypress:coverage": "npx wait-on http://127.0.0.1:6006 && ./node_modules/.bin/cypress run",
|
|
|
"postcypress:coverage": "yarn coverage:merge",
|