{ "name": "semi", "version": "0.0.1", "description": "Semi monorepo main project", "author": "", "workspaces": [ "packages/**" ], "private": true, "scripts": { "install:codesandbox": "npm i lerna@^6 -g && npm run bootstrap", "bootstrap": "lerna bootstrap -- --legacy-peer-deps", "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 --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 -- rimraf ./lib && lerna run build:lib --scope @douyinfe/semi-webpack-plugin --scope eslint-plugin-semi-design", "story": "npm run pre-story && sb dev -c ./.storybook/js/ -p 6006", "story:ts": "npm run pre-story && sb dev -c ./.storybook/ts/ -p 6007", "story:ani": "npm run pre-story && sb dev -c ./.storybook/animation/react -p 6008", "lint": "npm run lint:script && npm run lint:style", "lint:script": "eslint packages src --ext '.js,.jsx,.ts,.tsx'", "lint:script-fix": "eslint packages src --ext '.js,.jsx,.ts,.tsx' --fix", "lint:style": "stylelint '**/*.{scss,sass}'", "lint:style-fix": "stylelint '**/*.{scss,sass}' --fix", "test": "cross-env NODE_ENV=test ./node_modules/.bin/jest --silent", "test:unit": "cross-env NODE_ENV=test type=unit ./node_modules/.bin/jest --silent --notify", "test:story": "cross-env NODE_ENV=test type=story ./node_modules/.bin/jest --silent --notify --maxWorkers=4", "test:coverage": "cross-env TZ=Asia/Shanghai NODE_ENV=test type=unit ./node_modules/.bin/jest --silent --coverage --notify", "test:storyUpdate": "cross-env NODE_ENV=test type=story ./node_modules/.bin/jest --silent -u --notify --maxWorkers=4", "test:cy": "npx wait-on http://127.0.0.1:6006 && ./node_modules/.bin/cypress open", "build:lib": "lerna run build:lib", "build:js": "lerna run build:js", "build:css": "lerna run build:css", "build-storybook": "sb build -c ./.storybook/js/ -o ./storybook && cp -r storybook storybook-static", "build-storybook-static": "sb build -c ./.storybook/js/", "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 && rimraf 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", "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" }, "engines": { "node": ">= 16.0.0" }, "dependencies": { "@dnd-kit/modifiers": "^7.0.0", "@douyinfe/semi-site-banner": "^0.1.5", "@douyinfe/semi-site-doc-style": "0.0.4", "@douyinfe/semi-site-header": "^0.0.29", "@douyinfe/semi-site-markdown-blocks": "^0.0.18", "@mdx-js/mdx": "1.6.22", "@mdx-js/react": "^1.6.22", "@storybook/react-webpack5": "^7.0.7", "@svgr/core": "^5.5.0", "@types/react-window": "^1.8.5", "@visactor/react-vchart": "^1.10.4", "@visactor/vchart-semi-theme": "^1.10.4", "aos": "^2.3.4", "camelcase": "^6.2.0", "chroma-js": "^2.1.2", "classnames": "^2.3.1", "copy-text-to-clipboard": "^2.2.0", "cross-env": "^5.2.1", "css": "^2.2.4", "cypress-real-events": "^1.8.1", "date-fns": "^2.23.0", "debug": "^4.3.2", "execa": "5", "fast-xml-parser": "^4.2.7", "gatsby": "^2.32.13", "gatsby-plugin-i18n": "^1.0.1", "gatsby-plugin-mdx": "^1.10.1", "gatsby-plugin-react-helmet": "^3.10.0", "gatsby-plugin-remove-serviceworker": "^1.0.0", "gatsby-plugin-svgr": "2.1.0", "gatsby-source-filesystem": "^2.11.1", "grapheme-splitter": "^1.0.4", "immutability-helper": "^3.1.1", "jest-canvas-mock": "^2.5.2", "lodash-es": "^4.17.21", "memoize-one": "^5.2.1", "normalize.css": "^8.0.1", "prop-types": "^15.7.2", "qs": "^6.10.1", "re-resizable": "^6.9.0", "react": "^16.14.0", "react-clipboard.js": "^2.0.16", "react-dnd": "^9.5.1", "react-dnd-html5-backend": "^9.5.1", "react-dom": "^16.14.0", "react-helmet": "^5.2.1", "react-infinite-scroller": "^1.2.4", "react-inlinesvg": "^1.2.0", "react-intl": "^3.12.1", "react-lazyload": "^3.2.0", "react-resizable": "^3.0.5", "react-router-dom": "^6.22.2", "react-scroll-parallax": "^2.4.0", "react-sortable-hoc": "^2.0.0", "react-virtualized": "^9.22.3", "reset-css": "^5.0.1", "sass": "1.54.9", "typeface-inconsolata": "0.0.72", "typeface-inter": "^3.18.1", "unist-util-remove": "^1.0.3", "unist-util-visit": "^2.0.3", "wait-on": "^6.0.1", "wcag-color": "^1.1.1" }, "devDependencies": { "@actions/core": "^1.6.0", "@actions/github": "^5.0.0", "@babel/cli": "^7.14.8", "@babel/core": "^7.15.0", "@babel/eslint-parser": "^7.15.0", "@babel/eslint-plugin": "^7.14.5", "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-proposal-decorators": "^7.14.5", "@babel/plugin-proposal-object-rest-spread": "^7.14.7", "@babel/plugin-transform-runtime": "^7.15.8", "@babel/preset-env": "^7.21.4", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "7.15.0", "@babel/runtime": "^7.15.3", "@babel/types": "^7.21.5", "@commitlint/cli": "^9.1.2", "@commitlint/config-conventional": "^7.6.0", "@cypress/code-coverage": "^3.9.12", "@octokit/rest": "^18.12.0", "@shopify/jest-dom-mocks": "^2.11.7", "@storybook/addon-a11y": "^7.0.7", "@storybook/addon-actions": "^7.0.7", "@storybook/addon-knobs": "^7.0.2", "@storybook/addon-toolbars": "^7.0.7", "@storybook/cli": "^7.0.7", "@storybook/react": "^7.0.7", "@svgr/webpack": "^5.5.0", "@types/classnames": "^2.3.0", "@types/enhanced-resolve": "^3.0.7", "@types/fs-extra": "^9.0.12", "@types/jest": "^23.3.14", "@types/lodash": "^4.14.172", "@types/lodash-es": "^4.17.4", "@types/node": "^14.17.9", "@types/react": "^18.0.5", "@types/react-dom": "^18.0.1", "@types/react-resizable": "^3.0.4", "@types/react-router-dom": "^5.3.3", "@types/svgo": "^2.3.1", "@types/webpack": "^4.41.30", "@typescript-eslint/eslint-plugin": "^4.29.1", "@typescript-eslint/parser": "^4.29.1", "awesome-typescript-loader": "^5.2.1", "axios": "^0.21.1", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^24.9.0", "babel-loader": "^8.2.2", "babel-plugin-istanbul": "^6.1.1", "babel-plugin-transform-require-context": "^0.1.1", "babel-runtime": "^6.26.0", "case-sensitive-paths-webpack-plugin": "^2.4.0", "chromatic": "^6.0.6", "crypto": "^1.0.1", "css-loader": "^3.6.0", "cypress": "^12.12.0", "cypress-plugin-tab": "^1.0.5", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.6", "enzyme-to-json": "^3.6.2", "esbuild": "^0.14.47", "esbuild-loader": "^2.14.0", "eslint": "^7.32.0", "eslint-config-jest-enzyme": "^7.1.2", "eslint-plugin-import": "^2.24.0", "eslint-plugin-jest": "^24.4.0", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-markdown": "^2.2.1", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-semi-design": "^2.33.0", "fs-extra": "^8.1.0", "glob": "^7.1.7", "html-webpack-plugin": "^5.6.0", "husky": "^1.3.1", "jest": "^24.9.0", "jest-date-mock": "^1.0.8", "jest-enzyme": "^7.1.2", "jest-mock-random": "^1.1.1", "jsdom": "^15.2.1", "lerna": "4.0.0", "lint-staged": "^10.5.4", "marked": "^2.1.3", "mini-css-extract-plugin": "^0.12.0", "null-loader": "^4.0.1", "postcss-loader": "^2.1.6", "prettier": "^1.19.1", "progress-bar-webpack-plugin": "^2.1.0", "react-dnd-cjs": "^9.5.1", "react-storybook-addon-props-combinations": "^1.1.0", "rimraf": "^2.7.1", "sass-loader": "^10.1.1", "semver": "^7.3.5", "sha1": "^1.1.1", "sinon": "^6.3.5", "storybook": "future", "storybook-addon-turbo-build": "^2.0.0", "style-loader": "^0.23.1", "stylelint": "^13.13.1", "svgo": "^2.7.0", "terser-webpack-plugin": "^4.2.3", "ts-loader": "^5.4.5", "typescript": "^4.8.3", "webpack": "^5.77.0", "webpack-cli": "^3.3.12", "webpack-dev-server": "^3.11.2", "webpackbar": "^5.0.0-3" }, "husky": { "hooks": { "commit-msg": "commitlint .commitlintrc.js -E HUSKY_GIT_PARAMS", "pre-commit": "lint-staged" } }, "resolutions": { "@types/react": "^18.0.5", "@types/react-dom": "^18.0.1", "babel-plugin-lodash/@babel/types": "~7.20.0" }, "lint-staged": { "src/**/*.{js,jsx,ts,tsx}": [ "eslint --ext '.js,.jsx,.ts,.tsx' --fix" ], "packages/**/*.{js,jsx,ts,tsx}": [ "eslint --ext '.js,.jsx,.ts,.tsx' --fix" ], "*.{scss,css}": [ "stylelint" ] }, "license": "MIT" }