-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
133 lines (133 loc) · 4.04 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "@statisticsnorway/ssb-component-library",
"version": "2.4.9",
"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,tsx}",
"lint:js:fix": "eslint --fix src/**/*.{jsx,tsx}",
"lint:css": "stylelint src/components/**/*.scss",
"lint:css:fix": "stylelint --fix src/components/**/*.scss",
"lint": "npm run lint:js && npm run lint:css",
"lint:fix": "npm run lint:js:fix && npm run lint:css:fix",
"format:fix": "npx prettier -w .",
"deploy": "npm publish",
"prepare": "husky"
},
"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.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@babel/cli": "~7.26.4",
"@babel/core": "~7.26.9",
"@babel/eslint-parser": "~7.26.8",
"@babel/preset-env": "~7.26.9",
"@babel/preset-react": "~7.26.3",
"@babel/preset-typescript": "~7.26.0",
"@rollup/plugin-babel": "~6.0.4",
"@rollup/plugin-commonjs": "~28.0.2",
"@rollup/plugin-node-resolve": "~16.0.0",
"@rollup/plugin-replace": "~6.0.2",
"@rollup/plugin-terser": "~0.4.4",
"@rollup/plugin-typescript": "~12.1.2",
"@storybook/addon-links": "^8.5.8",
"@storybook/addon-webpack5-compiler-babel": "~3.0.5",
"@storybook/react": "^8.5.8",
"@storybook/react-webpack5": "^8.5.8",
"@svgr/rollup": "~8.1.0",
"@svgr/webpack": "~8.1.0",
"@testing-library/dom": "~10.4.0",
"@testing-library/jest-dom": "~6.6.3",
"@testing-library/react": "~16.2.0",
"@testing-library/user-event": "~14.6.1",
"@types/jest": "~29.5.14",
"@types/react": "^18.3.13",
"@types/react-dom": "^18.3.1",
"babel-jest": "~29.7.0",
"babel-loader": "~9.2.1",
"babel-plugin-module-resolver": "~5.0.2",
"babel-plugin-prismjs": "~2.1.0",
"cross-env": "~7.0.3",
"css-loader": "~7.1.2",
"eslint": "~8.57.1",
"eslint-config-airbnb": "~19.0.4",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-import": "~2.31.0",
"eslint-plugin-jsx-a11y": "~6.10.2",
"eslint-plugin-prettier": "~5.2.3",
"eslint-plugin-react": "~7.37.4",
"eslint-webpack-plugin": "~4.2.0",
"file-loader": "~6.2.0",
"husky": "~9.1.7",
"jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0",
"jest-fail-on-console": "~3.3.1",
"path": "~0.12.7",
"postcss": "~8.5.3",
"prettier": "^3.5.2",
"prop-types": "~15.8.1",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"rollup": "~4.34.8",
"rollup-plugin-scss": "~4.0.1",
"sass-loader": "~16.0.5",
"storybook": "^8.5.8",
"style-loader": "~4.0.0",
"stylelint": "~16.14.1",
"stylelint-config-standard-scss": "~14.0.0",
"ts-jest": "~29.2.6",
"typescript": "~5.7.3",
"typescript-eslint": "~8.25.0",
"webpack": "~5.98.0",
"webpack-cli": "~6.0.1"
},
"dependencies": {
"prismjs": "~1.29.0",
"react-feather": "~2.0.10",
"sass": "~1.85.1"
},
"directories": {
"lib": "lib"
},
"files": [
"lib/bundle.css",
"src/**/*.scss",
"src/fonts/*"
],
"eslintConfig": {
"extends": "react-app"
},
"contributors": [
{
"name": "Kristoffer Lund"
},
{
"name": "Carina G. Nordseth"
}
]
}