UNPKG

@activecollab/components

Version:

ActiveCollab Components

174 lines (173 loc) • 6.33 kB
{ "name": "@activecollab/components", "version": "2.0.272", "description": "ActiveCollab Components", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "sideEffects": false, "files": [ "dist" ], "types": "dist/esm/index.d.ts", "scripts": { "start": "BABEL_ENV=storybook storybook dev", "build:story": "BABEL_ENV=storybook storybook build -c .storybook -o dist_story", "test": "jest", "test:cov": "jest --coverage", "lint": "eslint ./src --max-warnings=0 --ext .js,.jsx,.ts,.tsx", "lint:fix": "eslint ./src --ext .js,.jsx,.ts,.tsx --fix", "build:ts": "tsc -p ./configs/tsconfig.base.json --emitDeclarationOnly", "build:js": "NODE_ENV=production rollup -c --failAfterWarnings", "build:esm": "BABEL_ENV=esmUnbundled babel src --extensions '.js,.jsx,.ts,.tsx' --out-dir 'dist/esm' --source-maps", "build:cjs": "BABEL_ENV=cjs babel src --extensions '.js,.jsx,.ts,.tsx' --out-dir 'dist/cjs' --source-maps", "build": "npm run clean:dist && npm run build:js && npm run build:esm && npm run build:cjs && npm run build:ts", "clean:dist": "rimraf dist", "clean:story": "rimraf dist_story", "clean": "npm run clean:dist && npm run clean:story", "build:icons": "npx @svgr/cli --ext tsx -d ./src/components/Icons/collection ./src/assets/icons", "prepare": "husky install", "prettier:check": "prettier --check .", "prettier:write": "prettier --write .", "check-types": "tsc --noEmit --skipLibCheck --project ./configs/tsconfig.base.json" }, "repository": { "type": "git", "url": "git@code.activecollab.com:a51/design-system.git" }, "keywords": [ "Active", "Collab", "Design", "System" ], "author": "Bojan", "license": "MIT", "devDependencies": { "@babel/cli": "^7.16.0", "@babel/core": "^7.23.7", "@babel/eslint-parser": "^7.23.10", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-transform-arrow-functions": "^7.23.3", "@babel/plugin-transform-block-scoping": "^7.23.4", "@babel/plugin-transform-destructuring": "^7.23.3", "@babel/plugin-transform-function-name": "^7.23.3", "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4", "@babel/plugin-transform-numeric-separator": "^7.23.4", "@babel/plugin-transform-object-rest-spread": "^7.24.0", "@babel/plugin-transform-optional-chaining": "^7.23.4", "@babel/plugin-transform-runtime": "^7.16.4", "@babel/preset-env": "^7.23.8", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", "@fullhuman/postcss-purgecss": "^1.3.0", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-node-resolve": "^13.0.6", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^8.3.0", "@storybook/addon-a11y": "^10.1.0", "@storybook/addon-docs": "^10.1.0", "@storybook/addon-themes": "^10.1.0", "@storybook/addon-webpack5-compiler-babel": "^4.0.0", "@storybook/react": "^10.1.0", "@storybook/react-webpack5": "^10.1.0", "@svgr/cli": "^5.5.0", "@testing-library/dom": "^10.4.1", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^14.4.3", "@types/classnames": "^2.2.11", "@types/jest": "^27.0.3", "@types/node": "20.19.0", "@types/react": "^18.2.48", "@types/react-dom": "^18.2.18", "@types/react-test-renderer": "^18.0.7", "@types/react-transition-group": "^4.4.1", "@types/styled-components": "^5.1.18", "@typescript-eslint/eslint-plugin": "^5.6.0", "@typescript-eslint/parser": "^5.6.0", "@vitest/mocker": "^4.0.14", "autoprefixer": "^9.8.6", "babel-jest": "^27.4.5", "babel-loader": "^8.2.3", "babel-plugin-macros": "^3.1.0", "babel-plugin-styled-components": "^2.0.2", "cheerio": "^1.0.0-rc.12", "eslint": "^7.22.0", "eslint-config-prettier": "^8.3.0", "eslint-config-standard": "^14.1.0", "eslint-plugin-compat": "^3.9.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.3.1", "eslint-plugin-react": "^7.27.1", "eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-standard": "^4.1.0", "generator-function": "^1.0.0", "husky": "^7.0.4", "is-generator-function": "^1.0.7", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-specific-snapshot": "^7.0.0", "jest-styled-components": "^7.0.8", "lint-staged": "^12.1.2", "postcss": "^8.4.14", "postcss-apply": "^0.12.0", "postcss-cli": "^7.1.2", "postcss-color-function": "^4.1.0", "postcss-custom-properties": "^10.0.0", "postcss-import": "^12.0.1", "postcss-loader": "^3.0.0", "postcss-nested": "^4.2.3", "postcss-simple-vars": "^5.0.2", "prettier": "^2.5.1", "react": "^18.2.0", "react-docgen-typescript-loader": "^3.7.2", "react-dom": "^18.2.0", "react-svg-loader": "^3.0.3", "react-test-renderer": "^18.2.0", "rollup": "^2.61.0", "rollup-plugin-peer-deps-external": "^2.2.4", "storybook": "^10.1.0", "tailwindcss": "^3.0.24", "timezone-mock": "^1.1.3", "tslib": "^2.3.1", "twin.macro": "^3.4.0", "typescript": "^5.3.3", "vitest": "^4.0.14" }, "peerDependencies": { "react": "^16.12.0 || ^17.0.2 || ^18.2.0", "react-dom": "^16.12.0 || ^17.0.2 || ^18.2.0" }, "lint-staged": { "./src/**/*": "prettier --write --ignore-unknown", "./src/**/*.{js,jsx,ts,tsx}": [ "eslint --cache --fix --max-warnings=0 --no-ignore", "prettier --write" ] }, "dependencies": { "@babel/runtime": "^7.23.8", "@popperjs/core": "^2.11.0", "@tanstack/react-virtual": "^3.13.6", "classnames": "^2.3.1", "compromise": "^14.14.4", "compromise-dates": "^3.7.1", "country-explorer": "^1.1.2", "lodash.debounce": "^4.0.8", "moment": "^2.29.1", "moment-timezone": "^0.5.46", "react-custom-scrollbars-2": "^4.5.0", "react-focus-lock": "^2.7.1", "react-remove-scroll": "^2.4.3", "react-transition-group": "^4.4.2", "resize-observer-polyfill": "^1.5.1", "styled-components": "^5.3.3" }, "browserslist": [ ">0.2%", "not dead", "not op_mini all" ] }