-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3 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
{
"name": "@folkehelseinstituttet/react-components",
"version": "6.0.0",
"description": "Frontend components made with react for use in FHI",
"repository": {
"type": "git",
"url": "https://github.com/folkehelseinstituttet/Fhi.Frontend.ReactComponents"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"start": "npm run storybook",
"test": "jest src",
"test:watch": "npm run test -- --watch",
"babel": "npm run clean && cross-env NODE_ENV=production npx babel --extensions .ts,.tsx,.svg,.snap -d dist src --copy-files --no-copy-ignored --ignore **/*.stories.tsx,**/__tests__,**/*.svg --source-maps",
"clean": "rm -rf dist",
"build": "npm test && npm run eslint && npm run babel && npm run build:types",
"eslint": "npx eslint src --ext .ts --ext .tsx",
"prepack": "npm run build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"build:types": "tsc --p tsconfig.release.json"
},
"author": "",
"license": "MIT",
"peerDependencies": {
"@folkehelseinstituttet/style": "^6.0.0",
"react": ">=18",
"react-bootstrap": "^2.3.1",
"react-dom": ">=18",
"react-router-dom": "^6.3.0",
"styled-components": ">=6"
},
"peerDependenciesMeta": {
"react-bootstrap": {
"optional": true
},
"react-router-dom": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@folkehelseinstituttet/style": "^6.4.0",
"@mdx-js/react": "^2.3.0",
"@storybook/addon-actions": "^7.0.4",
"@storybook/addon-essentials": "^7.6.20",
"@storybook/addon-interactions": "^7.6.20",
"@storybook/addon-links": "^7.6.20",
"@storybook/react": "^7.0.4",
"@storybook/react-webpack5": "^7.6.20",
"@storybook/testing-library": "^0.1.0",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"babel-loader": "^9.2.1",
"babel-plugin-styled-components": "^2.1.4",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.7.0",
"lodash.camelcase": "^4.3.0",
"react": "^18.3.1",
"react-bootstrap": "^2.10.5",
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0",
"react-test-renderer": "^18.3.1",
"resolve-url-loader": "^5.0.0",
"sass": "^1.80.6",
"sass-loader": "^13.3.3",
"storybook": "^7.6.20",
"style-loader": "^3.3.4",
"styled-components": "^6.1.13",
"ts-node": "^10.9.2",
"tslib": "^2.8.1"
}
}