UNPKG

@greensight/gds

Version:
180 lines (179 loc) 6.11 kB
{ "name": "@greensight/gds", "version": "4.2.1", "description": "Greensight Design System", "keywords": [ "GDS", "Greensight", "Design System" ], "main": "./scss/cjs/index.js", "module": "./scss/esm/index.js", "repository": { "type": "git", "url": "git+https://github.com/greensight/gds.git" }, "homepage": "https://github.com/greensight/gds", "license": "MIT", "sideEffects": false, "types": "types", "bin": { "gds-init": "bin/init.js", "gds-scss-tokens": "bin/scss/index.js", "gds-tokens": "bin/index.js" }, "scripts": { "build": "run-s clear build:main", "build:main": "run-p build:types build:rollup && yarn clientScripts", "build:rollup": "rollup -c --bundleConfigAsCjs", "build:types": "yarn pnpify tsc -p tsconfig.types.json", "clear": "rimraf dist types", "deploy": "yarn storybook:build && storybook-to-ghpages -e docs", "publish": "yarn build && cd dist && npm publish && cd ..", "eslint": "eslint . --ext .js,.ts,.tsx,.mdx --fix", "lint-staged": "lint-staged", "storybook": "start-storybook -s ./public -p 3000 --ci", "storybook:build": "build-storybook -o docs -s ./public", "storybook:serve": "serve docs -l 8080", "gds-init": "node bin/init.js", "tokens": "node bin/index.js", "scss-tokens": "node bin/scss/index.js", "tokens:dev": "node bin/index.js -c gds-dev.config.json", "tsc": "yarn pnpify tsc", "clientScripts": "node scripts/addUseClient" }, "husky": { "hooks": { "pre-commit": "run-p lint-staged tsc" } }, "lint-staged": { "*.{js,ts,tsx,mdx}": [ "eslint --fix", "git add" ] }, "eslintIgnore": [ "node_modules", "public", "esm", "cjs", "types", "docs", "!/.storybook" ], "publishConfig": { "access": "public" }, "dependencies": { "@emotion/react": "11.11.4", "@emotion/styled": "11.11.5", "@tippyjs/react": "4.2.6", "chalk": "4.1.2", "deepmerge": "^4.3.1", "node-fetch-commonjs": "^3.3.2", "normalize.css": "8.0.1", "tippy.js": "6.3.7", "ts-dedent": "^2.2.0" }, "devDependencies": { "@babel/core": "^7.24.9", "@babel/preset-env": "^7.24.8", "@babel/preset-react": "^7.24.7", "@babel/preset-typescript": "^7.24.7", "@babel/runtime": "^7.24.8", "@babel/types": "^7.24.9", "@emotion/babel-plugin": "^11.11.0", "@emotion/babel-preset-css-prop": "11.11.0", "@emotion/css": "11.11.2", "@emotion/serialize": "1.1.4", "@emotion/utils": "1.2.1", "@mdx-js/loader": "^1.5.8", "@mdx-js/react": "^1.5.8", "@rollup/plugin-babel": "^6.0.4", "@rollup/plugin-commonjs": "^26.0.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@storybook/addon-a11y": "^6.5.14", "@storybook/addon-actions": "6.5.14", "@storybook/addon-backgrounds": "^6.5.14", "@storybook/addon-controls": "^6.5.14", "@storybook/addon-docs": "6.5.14", "@storybook/addon-viewport": "^6.5.14", "@storybook/builder-webpack5": "6.5.14", "@storybook/client-api": "^6.5.14", "@storybook/manager-webpack5": "^6.5.14", "@storybook/preset-scss": "^1.0.3", "@storybook/react": "6.5.14", "@storybook/storybook-deployer": "^2.8.16", "@svgr/rollup": "^8.1.0", "@svgr/webpack": "^8.1.0", "@trivago/prettier-plugin-sort-imports": "4.3.0", "@types/babel__core": "7.20.5", "@types/chalk": "2.2.0", "@types/core-js": "2.5.8", "@types/eslint": "8.56.10", "@types/eslint-plugin-prettier": "3.1.3", "@types/mdx-js__react": "2.0.0", "@types/node": "^20.14.11", "@types/prettier": "3.0.0", "@types/react": "18.3.3", "@types/react-is": "18.3.0", "@types/rimraf": "4.0.5", "@types/rollup-plugin-commonjs": "9.3.1", "@types/svgr__rollup": "4.3.5", "@types/webpack": "5.28.5", "@types/webpack-env": "^1.18.5", "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.1", "@yarnpkg/pnpify": "^4.1.0", "babel-loader": "^9.1.3", "classnames": "^2.5.1", "core-js": "^3.37.1", "css-loader": "^5.2.6", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-node": "^0.3.9", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-mdx": "^3.1.5", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.34.4", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-storybook": "^0.8.0", "husky": "^4.3.8", "lint-staged": "^15.2.7", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "react": "18.3.1", "react-docgen-typescript-plugin": "^1.0.8", "react-dom": "18.3.1", "react-is": "18.3.1", "rimraf": "^6.0.1", "rollup": "^4.18.1", "rollup-plugin-copy": "^3.5.0", "rollup-plugin-multi-input": "^1.4.2", "rollup-plugin-postcss": "^4.0.2", "sass": "^1.77.8", "sass-loader": "^10.1.1", "serve": "^14.2.3", "storybook-addon-designs": "^6.3.1", "style-loader": "^2.0.0", "ts-node": "^10.9.2", "typescript": "5.5.3", "vite": "^5.3.4", "webpack": "^5.93.0", "worker-loader": "^3.0.8" }, "peerDependencies": { "react": "18.3.1", "react-dom": "18.3.1" }, "engines": { "node": ">= 16.0.0" }, "packageManager": "yarn@3.3.1", "bugs": { "url": "https://github.com/greensight/gds/issues" } }