-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 4.13 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 4.13 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
{
"name": "@sb1/ffe",
"version": "1.0.0",
"description": "Felles Front End",
"author": "SpareBank 1",
"license": "SEE LICENSE IN README.md",
"private": true,
"browserslist": [
"last 3 versions",
"not ie >= 0"
],
"scripts": {
"ai": "npx @modelcontextprotocol/inspector node ~/git/mcp-designsystem/build/index.js",
"clean": "run-s clean:lib clean:lerna:clean clean:lerna",
"clean:lib": "rimraf packages/*/lib packages/*/es packages/*/types",
"clean:lerna": "lerna clean --yes",
"clean:lerna:clean": "lerna run clean",
"build": "lerna run build --stream",
"watch": "lerna watch -- lerna run build:es --scope=\\$LERNA_PACKAGE_NAME --ignore=@sb1/ffe-component-index",
"ghpages": "lerna run ghpages",
"lint": "npm-run-all --parallel lint:js lint:style",
"lint:fix": "npm-run-all --parallel lint:js:fix lint:style:fix",
"lint:js": "find packages -type f -path \"*/src/*\" \\( -name \"*.ts\" -o -name \"*.tsx\" -o -name \"*.js\" -o -name \"*.jsx\" \\) | xargs oxlint",
"lint:js:fix": "find packages -type f -path \"*/src/*\" \\( -name \"*.ts\" -o -name \"*.tsx\" -o -name \"*.js\" -o -name \"*.jsx\" \\) | xargs oxlint --fix",
"lint:style": "lerna run lint:style --stream --parallel",
"lint:style:fix": "lerna run lint:style:fix --stream --parallel",
"start": "npm run build && npm run storybook",
"test": "./buildtool/bin/cli.js jest",
"test:watch": "./buildtool/bin/cli.js jest --watch",
"test:playwright": "playwright test --config ./test/playwright.config.ts",
"test:playwright-head": "playwright test --config ./test/playwright.config.ts --headed",
"lerna": "lerna",
"prepare": "husky",
"storybook:build": "node scripts/generate-dependency-graph.js && node scripts/update-ffe-dependency-lists.js && storybook build",
"storybook": "node scripts/generate-dependency-graph.js && node scripts/update-ffe-dependency-lists.js && echo \"💡[INFO] If Storybook fails, try building the design system first with: npm run build\" && storybook dev -p 6006",
"build-storybook": "run-s build storybook:build",
"sync-figma-to-tokens": "tsx packages/ffe-core/scripts/figma-api/sync_figma_to_tokens.ts",
"count": "node count-stories.js",
"ready": "npm run build && npm run lint:fix && npm run test",
"update:ai-context": "node scripts/generate-enhanced-ai-context.js"
},
"lint-staged": {
"{packages,buildtool,test,.storybook}/**/*.{js,jsx,ts,tsx}": [
"oxlint --fix"
],
"{packages,buildtool,test,.storybook}/**/*.less": [
"./buildtool/bin/cli.js stylelint --fix",
"prettier --write"
],
"{packages,buildtool,test,.storybook}/**/*.{json,css,md}": [
"prettier --write"
]
},
"workspaces": [
".storybook/*",
"packages/*",
"linting/*",
"buildtool"
],
"devDependencies": {
"@axe-core/playwright": "^4.11.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@figma/rest-api-spec": "^0.10.0",
"@playwright/test": "^1.57.0",
"@storybook/addon-essentials": "^8.6.14",
"@storybook/addon-interactions": "^8.6.14",
"@storybook/addon-links": "^8.6.0",
"@storybook/addon-storysource": "^8.6.14",
"@storybook/blocks": "^8.6.14",
"@storybook/manager-api": "^8.6.14",
"@storybook/react": "^8.6.0",
"@storybook/react-vite": "^8.6.0",
"@storybook/test": "^8.6.14",
"@storybook/theming": "^8.6.14",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"case": "^1.6.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"husky": "^9.1.7",
"lerna": "^9.0.3",
"lint-staged": "^15.2.2",
"mkdirp": "^3.0.1",
"npm-run-all": "^4.1.5",
"oxlint": "^0.9.3",
"postcss-less": "^6.0.0",
"prettier": "^3.7.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^6.1.2",
"storybook": "^8.6.0",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}