forked from navikt/aksel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.77 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 4.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"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 scripts/clean.mts",
"clean:reset": "node 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 ./scripts",
"lint:versions": "node 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",
"docgen": "yarn workspaces foreach -vv -pA run docgen",
"changelog": "deno run --allow-read --allow-write --no-config scripts/deno/changelog/createMainChangelog.ts",
"updateArticleViews": "deno run --allow-net --allow-env --allow-read --no-config scripts/deno/article-views/update-article-views/main.ts",
"changeset": "changeset",
"create-version": "changeset version && yarn changelog && yarn",
"release": "yarn boot && yarn docgen && changeset publish && yarn script:git-release",
"postinstall": "husky install"
},
"workspaces": [
"@navikt/core/*",
"@navikt/aksel-icons",
"@navikt/aksel-icons/figma-plugin",
"@navikt/aksel-stylelint",
"@navikt/aksel",
"aksel.nav.no",
"scripts/eslint",
"scripts/analyzer",
"scripts"
],
"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": {
"@biomejs/biome": "2.4.10",
"@changesets/cli": "2.29.7",
"@dnd-kit/react": "0.3.2",
"@eslint/js": "^10.0.1",
"@storybook/addon-a11y": "^10.2.10",
"@storybook/addon-docs": "^10.2.10",
"@storybook/addon-themes": "^10.2.10",
"@storybook/addon-vitest": "^10.2.10",
"@storybook/nextjs-vite": "^10.2.10",
"@storybook/react-vite": "^10.2.10",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@tanstack/react-table": "8.21.3",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitest/browser": "4.1.0",
"@vitest/browser-playwright": "4.1.0",
"@vitest/coverage-v8": "4.1.0",
"@vitest/eslint-plugin": "1.6.14",
"chromatic": "15.1.0",
"concurrently": "9.2.1",
"cross-env": "^10.0.0",
"eslint": "^9.39.2",
"eslint-plugin-aksel-local": "*",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-storybook": "^10.2.10",
"eslint-plugin-testing-library": "^7.16.0",
"fast-glob": "3.3.3",
"globals": "^17.4.0",
"husky": "^8.0.0",
"lint-staged": "16.4.0",
"playwright": "^1.57.0",
"prettier": "3.8.1",
"react": "19.2.4",
"react-docgen-typescript": "2.2.2",
"react-dom": "19.2.4",
"storybook": "^10.2.10",
"storybook-addon-pseudo-states": "^10.2.10",
"stylelint": "^17.2.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": "5.9.3",
"typescript-eslint": "^8.39.0",
"vite": "^7.2.4",
"vite-plugin-turbosnap": "^1.0.3",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "4.1.0"
},
"packageManager": "yarn@4.12.0"
}