-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Gjorde storybook scriptsene bedre ved å bygge designsystemet før…
… man bygger storybook
- Loading branch information
Showing
1 changed file
with
96 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,96 +1,98 @@ | ||
{ | ||
"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": { | ||
"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": "lerna run lint --stream", | ||
"lint:fix": "lerna run lint:fix --stream", | ||
"start": "npm run storybook", | ||
"watch:component-overview": "lerna run watch --scope='@sb1/ffe-component-index'", | ||
"start:component-overview": "lerna run start --scope='@sb1/ffe-component-index'", | ||
"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": "storybook dev -p 6006", | ||
"build-storybook": "storybook build", | ||
"sync-tokens-to-figma": "ts-node packages/ffe-core/scripts/figma-api/sync_tokens_to_figma.ts", | ||
"sync-figma-to-tokens": "ts-node packages/ffe-core/scripts/figma-api/sync_figma_to_tokens.ts" | ||
}, | ||
"lint-staged": { | ||
"{packages,buildtool,component-overview,linting,test,.storybook}/**/*.{js,jsx,ts,tsx,json,css,less,md}": [ | ||
"prettier --write" | ||
] | ||
}, | ||
"workspaces": [ | ||
".storybook/*", | ||
"packages/*", | ||
"linting/*", | ||
"buildtool", | ||
"component-overview" | ||
], | ||
"devDependencies": { | ||
"@axe-core/playwright": "^4.9.0", | ||
"@commitlint/cli": "^19.3.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@figma/rest-api-spec": "^0.10.0", | ||
"@playwright/test": "^1.43.1", | ||
"@storybook/addon-essentials": "^8.2.7", | ||
"@storybook/addon-interactions": "^8.2.7", | ||
"@storybook/addon-links": "^8.2.7", | ||
"@storybook/addon-storysource": "^8.2.9", | ||
"@storybook/blocks": "^8.2.7", | ||
"@storybook/manager-api": "^8.2.9", | ||
"@storybook/react": "^8.2.7", | ||
"@storybook/react-vite": "^8.2.7", | ||
"@storybook/test": "^8.2.7", | ||
"@storybook/theming": "^8.2.9", | ||
"@testing-library/dom": "^10.1.0", | ||
"@testing-library/react": "^16.0.0", | ||
"@testing-library/user-event": "^14.5.2", | ||
"@types/jest": "^29.5.12", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "18.3.0", | ||
"@typescript-eslint/eslint-plugin": "^7.8.0", | ||
"@typescript-eslint/parser": "^7.8.0", | ||
"case": "^1.5.5", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-storybook": "^0.8.0", | ||
"husky": "^9.0.11", | ||
"lerna": "^8.1.3", | ||
"lint-staged": "^15.2.2", | ||
"mkdirp": "^3.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"postcss-less": "^6.0.0", | ||
"prettier": "^3.3.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"rimraf": "^6.0.1", | ||
"storybook": "^8.2.7", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.7.2" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"plugin:storybook/recommended" | ||
] | ||
} | ||
"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": { | ||
"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": "lerna run lint --stream", | ||
"lint:fix": "lerna run lint:fix --stream", | ||
"start": "npm run storybook", | ||
"watch:component-overview": "lerna run watch --scope='@sb1/ffe-component-index'", | ||
"start:component-overview": "lerna run start --scope='@sb1/ffe-component-index'", | ||
"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": "storybook build", | ||
"storybook": "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-tokens-to-figma": "ts-node packages/ffe-core/scripts/figma-api/sync_tokens_to_figma.ts", | ||
"sync-figma-to-tokens": "ts-node packages/ffe-core/scripts/figma-api/sync_figma_to_tokens.ts" | ||
}, | ||
"lint-staged": { | ||
"{packages,buildtool,component-overview,linting,test,.storybook}/**/*.{js,jsx,ts,tsx,json,css,less,md}": [ | ||
"prettier --write" | ||
] | ||
}, | ||
"workspaces": [ | ||
".storybook/*", | ||
"packages/*", | ||
"linting/*", | ||
"buildtool", | ||
"component-overview" | ||
], | ||
"devDependencies": { | ||
"@axe-core/playwright": "^4.9.0", | ||
"@commitlint/cli": "^19.3.0", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@figma/rest-api-spec": "^0.10.0", | ||
"@playwright/test": "^1.43.1", | ||
"@storybook/addon-essentials": "^8.2.7", | ||
"@storybook/addon-interactions": "^8.2.7", | ||
"@storybook/addon-links": "^8.2.7", | ||
"@storybook/addon-storysource": "^8.2.9", | ||
"@storybook/blocks": "^8.2.7", | ||
"@storybook/manager-api": "^8.2.9", | ||
"@storybook/react": "^8.2.7", | ||
"@storybook/react-vite": "^8.2.7", | ||
"@storybook/test": "^8.2.7", | ||
"@storybook/theming": "^8.2.9", | ||
"@testing-library/dom": "^10.1.0", | ||
"@testing-library/react": "^16.0.0", | ||
"@testing-library/user-event": "^14.5.2", | ||
"@types/jest": "^29.5.12", | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "18.3.0", | ||
"@typescript-eslint/eslint-plugin": "^7.8.0", | ||
"@typescript-eslint/parser": "^7.8.0", | ||
"case": "^1.5.5", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-storybook": "^0.8.0", | ||
"husky": "^9.0.11", | ||
"lerna": "^8.1.3", | ||
"lint-staged": "^15.2.2", | ||
"mkdirp": "^3.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"postcss-less": "^6.0.0", | ||
"prettier": "^3.3.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"rimraf": "^6.0.1", | ||
"storybook": "^8.2.7", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.7.2" | ||
}, | ||
"eslintConfig": { | ||
"extends": [ | ||
"plugin:storybook/recommended" | ||
] | ||
}, | ||
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" | ||
} |