-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
112 lines (112 loc) · 4.35 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
101
102
103
104
105
106
107
108
109
110
111
112
{
"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 --ext .js,.jsx,.ts,.tsx --max-warnings=0 ./packages --ignore-path .gitignore",
"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 BABEL_ENV=test NODE_ENV=unittest jest",
"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 BABEL_ENV=test NODE_ENV=unittest jest '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",
"@emotion/babel-plugin": "^11.12.0",
"@emotion/jest": "^11.13.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.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": "^0.2.86",
"@pandacss/dev": "^0.46.0",
"@storybook/addon-a11y": "^8.4.0",
"@storybook/addon-docs": "^8.4.0",
"@storybook/addon-essentials": "^8.4.0",
"@storybook/addon-links": "^8.4.0",
"@storybook/builder-vite": "^8.4.0",
"@storybook/manager-api": "^8.4.0",
"@storybook/react": "^8.4.0",
"@storybook/react-vite": "^8.4.0",
"@storybook/theming": "^8.4.0",
"@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/jest-dom": "^6.1.5",
"@testing-library/react": "14.1.2",
"@types/htmlparser2": "^3.10.3",
"@types/jest": "^29.5.10",
"@types/lodash.throttle": "^4.1.9",
"@types/node": "^20.12.12",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.3",
"babel-jest": "^29.7.0",
"chalk": "^2.4.2",
"chokidar": "^3.5.3",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"eslint": "^8.57.0",
"i18next": "^23.11.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^7.1.4",
"nx": "16.5.3",
"postcss": "^8.4.22",
"prettier": "^3.1.0",
"prismjs": "^1.29.0",
"react": "^18.3.1",
"react-device-detect": "^2.2.3",
"react-dom": "^18.3.1",
"react-helmet-async": "^1.3.0",
"react-i18next": "^14.1.1",
"react-router-dom": "^6.3.0",
"serve": "^14.2.3",
"storybook": "^8.4.0",
"ts-jest": "^29.1.1",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vite-tsconfig-paths": "^5.0.1"
},
"packageManager": "[email protected]"
}