UNPKG

@atlaskit/tokens

Version:

Design tokens are the single source of truth to name and store design decisions.

134 lines (133 loc) 4.33 kB
{ "name": "@atlaskit/tokens", "version": "14.0.0", "description": "Design tokens are the single source of truth to name and store design decisions.", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror", "author": "Atlassian Pty Ltd", "license": "Apache-2.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "module:es2019": "dist/es2019/index.js", "types": "dist/types/index.d.ts", "sideEffects": [ "**/*.css" ], "atlaskit:src": "src/index.tsx", "atlassian": { "react-compiler": { "enabled": true, "gating": { "source": "@atlassian/react-compiler-gating", "importSpecifierName": "isReactCompilerActivePlatform" } }, "team": "Design System Team", "website": { "name": "Design tokens", "category": "Libraries" } }, "scripts": { "prebuilt": "yes | cp -R $(npx repo-root)/packages/design-system/tokens/dist/cjs/* $(npx repo-root)/packages/design-system/tokens/prebuilt/", "ak-postbuild": "yarn prebuilt && (cd $(npx repo-root) && yarn build --includeDependencies @atlassian/codegen -d cjs,esm,es2019) && yarn workspace @atlaskit/tokens codegen-tokens && yarn workspace @atlaskit/tokens check-clean-git", "check-clean-git": "git diff --exit-code -- packages/design-system/tokens/ || (echo 'tokens are out of date, run yarn build tokens' && false)", "codegen-tokens": "run-ts ./scripts/style-dictionary/build.tsx && run-ts ./scripts/style-dictionary/build-plugin-token-map.tsx && cd $(npx repo-root)/packages/design-system/primitives && yarn codegen-styles && cd $(npx repo-root)/packages/design-system/ds-explorations && yarn codegen-styles" }, "dependencies": { "@atlaskit/ds-lib": "^8.0.0", "@atlaskit/platform-feature-flags": "^2.0.0", "@babel/runtime": "^7.0.0", "@babel/traverse": "^7.23.2", "@babel/types": "^7.20.0", "bind-event-listener": "^3.0.0" }, "peerDependencies": { "react": "^18.2.0 || ^19.0.0" }, "devDependencies": { "@af/formatting": "workspace:^", "@af/visual-regression": "workspace:^", "@atlaskit/avatar": "^26.0.0", "@atlaskit/button": "^24.0.0", "@atlaskit/calendar": "^18.0.0", "@atlaskit/checkbox": "^18.0.0", "@atlaskit/code": "^18.0.0", "@atlaskit/css": "^1.0.0", "@atlaskit/docs": "^12.0.0", "@atlaskit/dropdown-menu": "^17.0.0", "@atlaskit/dynamic-table": "^19.0.0", "@atlaskit/form": "^16.0.0", "@atlaskit/heading": "^6.0.0", "@atlaskit/icon": "^36.0.0", "@atlaskit/inline-message": "^16.0.0", "@atlaskit/link": "^4.0.0", "@atlaskit/lozenge": "^14.0.0", "@atlaskit/popup": "^5.0.0", "@atlaskit/primitives": "^20.0.0", "@atlaskit/radio": "^9.0.0", "@atlaskit/section-message": "^9.0.0", "@atlaskit/select": "^22.0.0", "@atlaskit/tag": "^15.0.0", "@atlaskit/textarea": "^9.0.0", "@atlaskit/textfield": "^9.0.0", "@atlaskit/theme": "^26.0.0", "@atlaskit/tooltip": "^23.0.0", "@atlassian/codegen": "^0.2.0", "@atlassian/feature-flags-test-utils": "^1.1.0", "@atlassian/react-compiler-gating": "workspace:^", "@atlassian/structured-docs-types": "workspace:^", "@atlassian/ts-loader": "^0.1.0", "@babel/core": "7.24.9", "@compiled/react": "^0.20.0", "@hypermod/utils": "^0.4.2", "@testing-library/react": "^16.3.0", "color-blend": "^4.0.0", "echarts": "^5.4.1", "echarts-for-react": "3.0.6", "jscodeshift": "^17.0.0", "json5": "^2.2.2", "lodash": "^4.17.21", "postcss": "^8.4.7", "postcss-less": "^6.0.0", "react": "^19.0.0", "react-window": "^1.8.8", "style-dictionary": "^3.8.0" }, "techstack": { "@atlassian/frontend": { "import-structure": "atlassian-conventions", "circular-dependencies": "file-and-folder-level" }, "@repo/internal": { "dom-events": "use-bind-event-listener", "design-system": "v1", "ui-components": "lite-mode", "deprecation": "no-deprecated-imports", "styling": [ "compiled" ] } }, "hypermod": { "dependencies": [ "@hypermod/utils", "postcss", "postcss-less" ] }, "platform-feature-flags": { "platform_increased-contrast-themes": { "type": "boolean" }, "platform-dst-shape-theme-default": { "type": "boolean" }, "platform-dst-motion-theme-default": { "type": "boolean" } }, "homepage": "https://atlassian.design/components/tokens" }