| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- {
- "name": "semi",
- "version": "0.0.1",
- "description": "Semi monorepo main project",
- "author": "",
- "workspaces": [
- "packages/**"
- ],
- "private": true,
- "scripts": {
- "install:codesandbox": "npm i lerna && npm run bootstrap",
- "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 --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 --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",
- "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": "build-storybook -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 && 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",
- "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": {
- "@douyinfe/semi-site-banner": "^0.0.2",
- "@douyinfe/semi-site-doc-style": "0.0.1",
- "@douyinfe/semi-site-header": "^0.0.10",
- "@douyinfe/semi-site-markdown-blocks": "^0.0.7",
- "@mdx-js/react": "^1.6.22",
- "@svgr/core": "^5.5.0",
- "@types/react-window": "^1.8.5",
- "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",
- "date-fns": "^2.23.0",
- "debug": "^4.3.2",
- "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": "^3.0.0-beta.0",
- "gatsby-source-filesystem": "^2.11.1",
- "grapheme-splitter": "^1.0.4",
- "immutability-helper": "^3.1.1",
- "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": "^1.11.1",
- "react-scroll-parallax": "^2.4.0",
- "react-sortable-hoc": "^2.0.0",
- "react-virtualized": "^9.22.3",
- "reset-css": "^5.0.1",
- "sass": "1.32.13",
- "typeface-inconsolata": "0.0.72",
- "typeface-inter": "^3.18.1",
- "unist-util-remove": "^1.0.3",
- "unist-util-visit": "^2.0.3",
- "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.15.8",
- "@babel/preset-react": "^7.14.5",
- "@babel/preset-typescript": "^7.15.0",
- "@babel/runtime": "^7.15.3",
- "@babel/types": "^7.15.4",
- "@commitlint/cli": "^9.1.2",
- "@commitlint/config-conventional": "^7.6.0",
- "@octokit/rest": "^18.12.0",
- "@shopify/jest-dom-mocks": "^2.11.7",
- "@storybook/addon-a11y": "^6.4.10",
- "@storybook/addon-actions": "^6.4.10",
- "@storybook/addon-knobs": "^6.4.0",
- "@storybook/addon-toolbars": "^6.4.10",
- "@storybook/builder-webpack5": "^6.5.0-alpha.13",
- "@storybook/cli": "^6.4.0",
- "@storybook/manager-webpack5": "^6.5.0-alpha.13",
- "@storybook/react": "^6.4.10",
- "@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": "^1.7.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",
- "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": "latest",
- "fs-extra": "^8.1.0",
- "glob": "^7.1.7",
- "html-webpack-plugin": "^3.2.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": "^3.22.1",
- "lint-staged": "^10.5.4",
- "marked": "^2.1.3",
- "mini-css-extract-plugin": "^0.12.0",
- "null-loader": "^3.0.0",
- "postcss-loader": "^2.1.6",
- "prettier": "^1.19.1",
- "progress-bar-webpack-plugin": "^1.12.1",
- "react-dnd-cjs": "^9.5.1",
- "react-storybook-addon-props-combinations": "^1.1.0",
- "rimraf": "^2.7.1",
- "sass-loader": "^7.3.1",
- "semver": "^7.3.5",
- "sha1": "^1.1.1",
- "sinon": "^6.3.5",
- "storybook-addon-turbo-build": "^1.0.1",
- "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.4.3",
- "webpack": "^4.46.0",
- "webpack-cli": "^3.3.12",
- "webpack-dev-server": "^3.11.2",
- "webpackbar": "^5.0.0-3",
- "cypress": "9.5.2",
- "cypress-plugin-tab": "^1.0.5",
- "@cypress/code-coverage": "^3.9.12"
- },
- "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"
- },
- "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"
- }
|