-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.03 KB
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
{
"name": "@graylog/sawmill",
"version": "4.0.8",
"description": "Graylog's Design System and Component Library",
"main": "dist/index.js",
"author": "Graylog <engineering@graylog.com>",
"license": "MIT",
"types": "types.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/Graylog2/sawmill"
},
"scripts": {
"lint": "eslint lib --fix",
"build": "tsc",
"generate-themes": "ts-node lib/scripts/generateThemes.ts",
"prepublishOnly": "npm run build",
"test": "jest"
},
"files": [
"dist",
"types.d.ts"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./styled-components": {
"types": "./dist/styled-components/Sawmill.d.ts",
"default": "./dist/styled-components/Sawmill.js"
},
"./mantine": {
"types": "./dist/mantine/Sawmill.d.ts",
"default": "./dist/mantine/Sawmill.js"
},
"./fonts": {
"types": "./dist/fonts.d.ts",
"default": "./dist/fonts.js"
}
},
"dependencies": {
"@openfonts/dm-sans_latin": "^1.0.2",
"@openfonts/source-sans-pro_latin": "^1.44.2",
"@openfonts/ubuntu-mono_latin": "^1.44.1",
"chroma-js": "^3.2.0",
"lodash": "^4.17.21"
},
"jest": {
"preset": "ts-jest",
"testPathIgnorePatterns": [
"dist/*"
],
"transform": {
"\\.css$": "jest-transform-css"
},
"transformIgnorePatterns": [
"node_modules/(?!@openfonts)"
]
},
"devDependencies": {
"@types/chroma-js": "^3.1.2",
"@types/jest": "^29.5.4",
"@types/lodash": "^4.14.197",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^8.49.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^28.14.0",
"jest": "29.7.0",
"jest-transform-css": "^6.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "5.3.3"
},
"peerDependencies": {
"chroma-js": "^3.2.0",
"react": ">=16.0.0"
}
}