mirror of
https://github.com/chakra-ui/chakra-ui.git
synced 2026-09-14 16:43:45 +08:00
5faecd40f7
* build: update ts-node; use swc: true option see: https://typestrong.org/ts-node/docs/swc/ * chore: add @swc/core dependency * feat: add swc as dependency to the cli package * chore: regenerate lock file Co-authored-by: Tim Kolberger <tim@kolberger.eu>
166 lines
5.6 KiB
JSON
166 lines
5.6 KiB
JSON
{
|
|
"name": "chakra-ui",
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"examples/*",
|
|
"tooling/*"
|
|
],
|
|
"nohoist": [
|
|
"@emotion/core/types",
|
|
"**/@emotion/core/types",
|
|
"**/@types/theme-ui",
|
|
"**/@types/theme-ui/**",
|
|
"**/@types/theme-ui__components"
|
|
]
|
|
},
|
|
"preconstruct": {
|
|
"packages": [
|
|
"packages/*",
|
|
"tooling/storybook-addon"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/chakra-ui/chakra-ui.git"
|
|
},
|
|
"author": "Segun Adebayo <sage@adebayosegun.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"pkg": "manypkg run",
|
|
"dev": "yarn build:babel && preconstruct dev",
|
|
"prepare": "husky install",
|
|
"fix:pkgs": "manypkg fix",
|
|
"version:pkgs": "changeset version",
|
|
"clean:emotion-types": "rimraf node_modules/@emotion/core/types",
|
|
"postinstall": "yarn clean:emotion-types && manypkg check",
|
|
"csb:install": "yarn && ts-node scripts/csb.ts",
|
|
"prestart": "yarn && yarn bootstrap",
|
|
"build:babel": "yarn pkg babel-plugin build",
|
|
"build:cli": "yarn pkg @chakra-ui/cli build",
|
|
"build:prop-docs": "yarn pkg props-docs build",
|
|
"build:tokens": "chakra-cli tokens packages/theme",
|
|
"build": "yarn build:babel && yarn build:cli && preconstruct build && yarn build:tokens",
|
|
"watch": "yarn preconstruct watch",
|
|
"test": "jest --maxWorkers=50%",
|
|
"test:watch": "jest --maxWorkers=25% --watch --onlyChanged",
|
|
"test:ci": "jest --color --runInBand --ci",
|
|
"lint": "concurrently yarn:lint:*",
|
|
"lint:eslint": "eslint packages/**/src/ --ext .ts,.tsx --config .eslintrc",
|
|
"lint:types": "tsc --noEmit",
|
|
"prestorybook": "rimraf node_modules/.cache/storybook && yarn dev",
|
|
"storybook": "start-storybook -p 6006",
|
|
"build:storybook": "build-storybook && sb extract",
|
|
"clean": "yarn clean-dist && rimraf node_modules",
|
|
"clean-dist": "manypkg exec rimraf dist",
|
|
"bootstrap": "preconstruct validate",
|
|
"commit": "git-cz",
|
|
"search-meta:gen": "ts-node scripts/get-search-meta.ts",
|
|
"changelog:gen": "ts-node scripts/changelog-generate.ts",
|
|
"changelog:write": "ts-node scripts/changelog-write.ts",
|
|
"changelog:commit": "git add CHANGELOG.md && git commit -am 'docs: add changelog' && git push",
|
|
"discord": "ts-node scripts/discord.ts",
|
|
"create:pkg": "ts-node scripts/plopfile.ts",
|
|
"release": "changeset publish",
|
|
"notify:release": "yarn changelog:write && yarn discord && yarn changelog:commit"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "18.0.1",
|
|
"@types/react-dom": "18.0.0",
|
|
"**/react": "18.0.0",
|
|
"**/react-dom": "18.0.0",
|
|
"@popperjs/core": "2.9.3"
|
|
},
|
|
"version": "1.0.0",
|
|
"dependencies": {
|
|
"@babel/cli": "^7.16.0",
|
|
"@babel/core": "^7.16.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.0",
|
|
"@babel/preset-env": "^7.16.4",
|
|
"@babel/preset-react": "^7.16.0",
|
|
"@babel/preset-typescript": "^7.16.0",
|
|
"@babel/runtime": "^7.16.3",
|
|
"@changesets/changelog-github": "0.4.2",
|
|
"@changesets/cli": "2.18.1",
|
|
"@commitlint/cli": "14.1.0",
|
|
"@commitlint/config-conventional": "14.1.0",
|
|
"@emotion/jest": "^11.9.1",
|
|
"@emotion/react": "^11.9.0",
|
|
"@emotion/styled": "^11.8.1",
|
|
"@jest/types": "27.4.2",
|
|
"@manypkg/cli": "0.19.1",
|
|
"@preconstruct/cli": "^2.1.5",
|
|
"@storybook/addon-a11y": "~6.5.0-alpha.64",
|
|
"@storybook/addon-actions": "~6.5.0-alpha.64",
|
|
"@storybook/addon-controls": "~6.5.0-alpha.64",
|
|
"@storybook/addon-storysource": "~6.5.0-alpha.64",
|
|
"@storybook/addon-toolbars": "~6.5.0-alpha.64",
|
|
"@storybook/cli": "~6.5.0-alpha.64",
|
|
"@storybook/react": "~6.5.0-alpha.64",
|
|
"@storybook/theming": "~6.5.0-alpha.64",
|
|
"@swc-node/jest": "^1.3.5",
|
|
"@swc/core": "^1.2.177",
|
|
"@types/edit-json-file": "^1.6.1",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/mkdirp": "1.0.2",
|
|
"@types/node": "^16.11.12",
|
|
"@types/react": "^18.0.1",
|
|
"@types/react-dom": "^18.0.0",
|
|
"@types/react-router-dom": "5.3.2",
|
|
"@types/react-table": "7.7.9",
|
|
"@types/shelljs": "0.8.9",
|
|
"@typescript-eslint/eslint-plugin": "5.3.0",
|
|
"@typescript-eslint/parser": "5.3.0",
|
|
"babel-eslint": "10.1.0",
|
|
"bundlesize": "0.18.1",
|
|
"chalk": "4.1.2",
|
|
"chart.js": "^3.6.0",
|
|
"commitizen": "4.2.4",
|
|
"cross-env": "7.0.3",
|
|
"csstype": "^3.0.11",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"discord.js": "^12.5.3",
|
|
"dotenv-cli": "4.1.0",
|
|
"edit-json-file": "1.6.0",
|
|
"eslint": "7.17.0",
|
|
"eslint-config-airbnb-typescript": "12.0.0",
|
|
"eslint-config-prettier": "7.1.0",
|
|
"eslint-config-react": "1.1.7",
|
|
"eslint-plugin-import": "2.22.1",
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
"eslint-plugin-prettier": "3.3.0",
|
|
"eslint-plugin-react": "7.22.0",
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
|
"eslint-plugin-testing-library": "3.9.2",
|
|
"execa": "5.1.1",
|
|
"framer-motion": "^6.2.9",
|
|
"husky": "^7.0.4",
|
|
"inquirer": "7.3.3",
|
|
"jest": "^27.5.1",
|
|
"jest-environment-jsdom": "^27.3.1",
|
|
"jest-watch-typeahead": "1.0.0",
|
|
"lint-staged": "11.2.6",
|
|
"listr": "0.14.3",
|
|
"lodash": "^4.17.21",
|
|
"mkdirp": "^1.0.4",
|
|
"plop": "2.7.6",
|
|
"prettier": "^2.4.1",
|
|
"react": "^18.0.0",
|
|
"react-chartjs-2": "^3.3.0",
|
|
"react-dom": "^18.0.0",
|
|
"react-hook-form": "7.18.1",
|
|
"react-icons": "^4.2.0",
|
|
"react-lorem-component": "0.13.0",
|
|
"react-router-dom": "6.0.0",
|
|
"react-spinners": "0.11.0",
|
|
"react-table": "7.7.0",
|
|
"react-test-renderer": "^18.0.0",
|
|
"rimraf": "3.0.2",
|
|
"shelljs": "0.8.5",
|
|
"storybook-addon-performance": "0.16.1",
|
|
"ts-node": "^10.7.0",
|
|
"typescript": "^4.6.3"
|
|
}
|
|
}
|