/
package.json
119 lines (119 loc) · 3.48 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
113
114
115
116
117
118
119
{
"name": "@statisticsnorway/ssb-component-library",
"version": "2.0.99",
"description": "Component library for SSB (Statistics Norway)",
"main": "lib/bundle.js",
"scripts": {
"prebuild": "rimraf lib",
"build:prod": "cross-env ENV=production rollup -c --bundleConfigAsCjs",
"start": "cross-env ENV=development storybook dev -p 6006",
"test": "cross-env ENV=test jest --coverage",
"test:watch": "cross-env ENV=test jest --watch",
"clean-test": "cross-env ENV=test jest --no-cache --updateSnapshot --coverage",
"clear-tests": "jest --clear-cache -- -u",
"lint:js": "eslint src/**/*.jsx",
"lint:js:fix": "eslint --fix src/**/*.jsx",
"lint:css": "stylelint src/components/**/*.scss",
"lint:css:fix": "stylelint --fix src/components/**/*.scss",
"deploy": "npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/statisticsnorway/ssb-component-library.git"
},
"author": "",
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0"
}
],
"bugs": {
"url": "https://github.com/statisticsnorway/ssb-component-library/issues"
},
"sideEffects": false,
"homepage": "https://statisticsnorway.github.io/design-system/",
"peerDependencies": {
"react": "^18.0.0"
},
"overrides": {
"webpack": "~5.91.0"
},
"devDependencies": {
"@babel/cli": "~7.24.1",
"@babel/core": "~7.24.4",
"@babel/eslint-parser": "~7.24.1",
"@babel/preset-env": "~7.24.4",
"@babel/preset-react": "~7.24.1",
"@rollup/plugin-babel": "~6.0.4",
"@rollup/plugin-commonjs": "~25.0.7",
"@rollup/plugin-node-resolve": "~15.2.3",
"@rollup/plugin-replace": "~5.0.5",
"@rollup/plugin-terser": "~0.4.4",
"@storybook/addon-links": "~8.1.2",
"@storybook/addon-webpack5-compiler-babel": "~3.0.3",
"@storybook/react": "~8.0.5",
"@storybook/react-webpack5": "~8.1.1",
"@svgr/rollup": "~8.1.0",
"@svgr/webpack": "~8.1.0",
"@testing-library/jest-dom": "~6.4.2",
"@testing-library/react": "~15.0.2",
"@testing-library/user-event": "~14.5.2",
"babel-jest": "~29.7.0",
"babel-loader": "~9.1.3",
"babel-plugin-module-resolver": "~5.0.0",
"babel-plugin-prismjs": "~2.1.0",
"babel-plugin-transform-es2015-modules-commonjs": "~6.26.2",
"cross-env": "~7.0.3",
"css-loader": "~7.0.0",
"eslint": "~8.57.0",
"eslint-config-airbnb": "~19.0.4",
"eslint-plugin-import": "~2.29.1",
"eslint-plugin-jsx-a11y": "~6.8.0",
"eslint-plugin-react": "~7.34.1",
"eslint-webpack-plugin": "~4.1.0",
"file-loader": "~6.2.0",
"jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0",
"path": "~0.12.7",
"postcss": "~8.4.38",
"prop-types": "~15.8.1",
"react": "~18.3.1",
"react-dom": "~18.2.0",
"rollup": "~4.18.0",
"rollup-plugin-scss": "~4.0.0",
"sass-loader": "~14.2.1",
"storybook": "~8.0.5",
"style-loader": "~4.0.0",
"stylelint": "~16.3.1",
"stylelint-config-standard-scss": "~13.1.0",
"webpack": "~5.91.0",
"webpack-cli": "~5.1.4"
},
"dependencies": {
"prismjs": "~1.29.0",
"react-feather": "~2.0.10",
"sass": "~1.75.0",
"uuid": "~9.0.1"
},
"directories": {
"lib": "lib"
},
"files": [
"lib/bundle.css",
"src/**/*.scss",
"src/fonts/*"
],
"eslintConfig": {
"extends": "react-app"
},
"contributors": [
{
"name": "Kristoffer Lund"
},
{
"name": "Carina G. Nordseth"
}
]
}