-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
100 lines (100 loc) · 3.87 KB
/
package.json
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
{
"private": true,
"name": "frontend-packages",
"description": "NDLA Frontend Packages",
"scripts": {
"prepare": "yarn workspace @ndla/preset-panda run prepare",
"build": "nx run-many --target=build",
"build:types": "nx run-many --target=prepublish",
"lint": "yarn format-check && yarn lint-es",
"lint-es": "eslint --cache --max-warnings=0 ./packages",
"lint:fix": "yarn lint-es --fix",
"format": "prettier '**/*(*.js|*.jsx|*.md|*.ts|*.tsx)' --write",
"format-check": "prettier '**/*(*.js|*.jsx|*.md|*.ts|*.tsx)' --check",
"type-check": "tsc --noEmit",
"type-check-watch": "yarn type-check --watch --preserveWatchOutput",
"test": "cross-env NODE_ENV=unittest vitest --run",
"check-all": "yarn type-check && yarn format-check && yarn lint-es && yarn test",
"deploy": "vercel --token $VERCEL_TOKEN alias set frontend-packages-master.vercel.app designmanual.ndla.no",
"clean": "rm -rf ./packages/*/dist ./packages/*/es ./packages/*/lib",
"deploy-pr": "node ./packages/ndla-scripts/src/run-script.js vercel-github",
"bootstrap": "yarn nx run-many --target build prepublish",
"bootstrap:ci": "yarn prepare && yarn nx run-many --target build prepublish --skip-nx-cache",
"publish": "yarn clean && yarn bootstrap:ci && lerna publish",
"watch:src": "node ./scripts/watch.js",
"watch:tsc": "nx watch --all -- nx prepublish \\$NX_PROJECT_NAME",
"watch": "concurrently 'yarn watch:src' 'yarn watch:tsc'",
"start": "storybook dev -p 6006 --no-open",
"prebuild-storybook": "yarn bootstrap:ci",
"build-storybook": "cross-env NODE_ENV=production storybook build",
"serve-storybook": "cross-env NODE_ENV=production serve -l 5000 ./storybook-static",
"check-translations": "cross-env NODE_ENV=unittest vitest --run 'packages/ndla-ui/src/locale/__tests__/'",
"generate:icons": "node ./scripts/createTsIconComponents.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/NDLANO/frontend-packages.git"
},
"bugs": {
"url": "https://github.com/NDLANO/frontend-packages/issues"
},
"homepage": "https://github.com/NDLANO/frontend-packages",
"author": "[email protected]",
"license": "GPL-3.0",
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@fontsource/source-code-pro": "^4.5.9",
"@fontsource/source-sans-pro": "^4.5.9",
"@fontsource/source-serif-pro": "^4.5.7",
"@ndla/types-backend": "^1.0.1",
"@pandacss/dev": "^0.48.0",
"@storybook/addon-a11y": "^8.4.7",
"@storybook/addon-docs": "^8.4.7",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"@svgr/plugin-prettier": "^8.1.0",
"@svgr/plugin-svgo": "^8.1.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "16.1.0",
"@types/htmlparser2": "^3.10.3",
"@types/lodash.throttle": "^4.1.9",
"@types/node": "^20.12.12",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.1",
"@vitejs/plugin-react": "^4.3.4",
"chalk": "^2.4.2",
"chokidar": "^3.5.3",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"eslint": "^9.15.0",
"i18next": "^23.11.5",
"jsdom": "^25.0.1",
"lerna": "^8.1.9",
"nx": "20.1.4",
"postcss": "^8.4.22",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-i18next": "^14.1.1",
"react-router-dom": "^6.3.0",
"serve": "^14.2.4",
"storybook": "^8.4.7",
"typescript": "^5.7.2",
"typescript-eslint": "^8.15.0",
"vercel": "^33.6.2",
"vite": "^6.0.2",
"vitest": "^2.1.8"
},
"packageManager": "[email protected]"
}