mirror of
https://github.com/navikt/aksel.git
synced 2026-10-12 16:52:03 +00:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
130 lines
4.4 KiB
JSON
130 lines
4.4 KiB
JSON
{
|
|
"name": "aksel",
|
|
"description": "Nav designsystem + Aksel.nav.no",
|
|
"version": "1.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"boot": "yarn workspaces foreach -vv -pA --topological-dev --no-private run build",
|
|
"clean": "node tooling/scripts/clean.mts",
|
|
"clean:reset": "node tooling/scripts/clean.mts --reset",
|
|
"test": "yarn workspaces foreach -vv -pA run test",
|
|
"dev": "yarn workspace aksel.nav.no dev",
|
|
"lint": "yarn lint:eslint && yarn lint:css && yarn lint:biome && yarn lint:cycle && yarn lint:versions",
|
|
"lint:eslint": "yarn eslint --max-warnings=0 .",
|
|
"lint:css": "yarn stylelint '@navikt/**/*.css'",
|
|
"lint:biome": "yarn biome lint .",
|
|
"lint:cycle": "yarn biome lint --only=suspicious/noImportCycles --error-on-warnings ./@navikt ./tooling",
|
|
"lint:versions": "node tooling/scripts/in-sync-versions.mts",
|
|
"storybook": "WITH_WEBSITE=true storybook dev -p 6006",
|
|
"storybook:aksel": "WITH_WEBSITE=true storybook dev -c aksel.nav.no/website/.storybook -p 6007",
|
|
"storybook:test": "vitest run --config ./vitest.config.ts --project=storybook --silent",
|
|
"build:storybook": "storybook build",
|
|
"chromatic": "npx chromatic --only-changed --build-script-name build:storybook-chromatic",
|
|
"build:storybook-chromatic": "cross-env CHROMATIC=true WITH_WEBSITE=true storybook build",
|
|
"changelog": "yarn update:repo-changelog",
|
|
"changeset": "changeset",
|
|
"create-version": "changeset version && yarn changelog && yarn",
|
|
"release": "yarn boot && yarn docgen:meta && changeset publish && yarn script:git-release",
|
|
"postinstall": "husky"
|
|
},
|
|
"workspaces": [
|
|
"@navikt/core/*",
|
|
"@navikt/aksel-icons",
|
|
"@navikt/aksel-stylelint",
|
|
"@navikt/aksel",
|
|
"aksel.nav.no",
|
|
"aksel.nav.no/*",
|
|
"tooling/*",
|
|
"apps/*"
|
|
],
|
|
"prettier": {
|
|
"plugins": [
|
|
"@trivago/prettier-plugin-sort-imports"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": "./aksel.nav.no/website/**",
|
|
"options": {
|
|
"plugins": [
|
|
"@trivago/prettier-plugin-sort-imports"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"files": "**/*.css",
|
|
"options": {
|
|
"printWidth": 130
|
|
}
|
|
}
|
|
],
|
|
"importOrder": [
|
|
"^@navikt/(.*)$",
|
|
"^@/(.*)$",
|
|
"^[./]"
|
|
],
|
|
"importOrderSortSpecifiers": true
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx}": "eslint --max-warnings=0 --no-warn-ignored",
|
|
"*.css": "stylelint",
|
|
"*.{ts,tsx,js,jsx,css,json}": "biome lint --no-errors-on-unmatched",
|
|
"*": "prettier --write --ignore-unknown"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/navikt/aksel.git"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^3.0.1",
|
|
"@biomejs/biome": "2.5.14",
|
|
"@changesets/cli": "2.31.1",
|
|
"@eslint/js": "^10.0.1",
|
|
"@github-ui/storybook-addon-performance-panel": "^1.3.0",
|
|
"@storybook/addon-a11y": "^10.6.0",
|
|
"@storybook/addon-docs": "^10.6.0",
|
|
"@storybook/addon-themes": "^10.6.0",
|
|
"@storybook/addon-vitest": "^10.6.0",
|
|
"@storybook/nextjs-vite": "^10.6.0",
|
|
"@storybook/react-vite": "^10.6.0",
|
|
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
|
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
"@types/node": "^24.10.9",
|
|
"@types/react": "19.2.14",
|
|
"@types/react-dom": "19.2.3",
|
|
"@vitest/browser": "4.1.11",
|
|
"@vitest/browser-playwright": "4.1.11",
|
|
"@vitest/coverage-v8": "4.1.11",
|
|
"@vitest/eslint-plugin": "1.6.27",
|
|
"chromatic": "18.0.1",
|
|
"cross-env": "^10.1.0",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-aksel-local": "*",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"eslint-plugin-storybook": "^10.6.0",
|
|
"eslint-plugin-testing-library": "^7.16.0",
|
|
"fast-glob": "3.3.3",
|
|
"globals": "^17.7.0",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "17.6.0",
|
|
"playwright": "1.61.1",
|
|
"prettier": "3.9.6",
|
|
"react": "19.3.0",
|
|
"react-docgen-typescript": "2.4.0",
|
|
"react-dom": "19.3.0",
|
|
"storybook": "^10.6.0",
|
|
"stylelint": "^17.15.0",
|
|
"stylelint-config-standard": "^40.0.0",
|
|
"stylelint-declaration-block-no-ignored-properties": "^3.0.0",
|
|
"stylelint-value-no-unknown-custom-properties": "^6.1.1",
|
|
"typescript": "6.0.3",
|
|
"typescript-eslint": "^8.70.0",
|
|
"typescript-language-server": "6.0.0",
|
|
"vite": "^8.1.5",
|
|
"vite-plugin-turbosnap": "^1.0.3",
|
|
"vitest": "4.1.11"
|
|
},
|
|
"packageManager": "yarn@4.18.0"
|
|
}
|