-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.61 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.61 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
{
"name": "@digdir/designsystemet-css",
"version": "1.10.0",
"description": "CSS for Designsystemet",
"author": "Designsystemet team",
"repository": {
"type": "git",
"url": "git+https://github.com/digdir/designsystemet.git"
},
"homepage": "https://github.com/digdir/designsystemet/tree/main/packages/css",
"license": "MIT",
"exports": {
"./theme": {
"types": "./theme/types.d.ts",
"default": "./dist/theme/designsystemet.css"
},
"./theme.css": "./dist/theme/designsystemet.css",
"./theme/*": "./dist/theme/*",
".": {
"types": "./types.d.ts",
"default": "./dist/src/index.css"
},
"./*": "./dist/src/*"
},
"files": [
"./types.d.ts",
"theme/types.d.ts",
"dist"
],
"publishConfig": {
"access": "public"
},
"browserslist": [
"cover 90% in NO",
"last 2 versions",
"Firefox ESR",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"keywords": [
"css",
"designsystem",
"designsystemet",
"digdir"
],
"scripts": {
"build": "rimraf dist && pnpm build:theme && postcss ./src/*.css --base . --dir ./dist && postcss ./theme/*.css --dir ./dist/theme",
"build:theme": "tsx ../cli/bin/designsystemet.ts tokens build -t ../../design-tokens -o ./theme --experimental-tailwind"
},
"dependencies": {
"@digdir/designsystemet-types": "workspace:^"
},
"devDependencies": {
"autoprefixer": "^10.4.23",
"cssnano": "^7.1.2",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-import": "^16.1.1",
"postcss-nesting": "^13.0.2",
"rimraf": "^6.1.2",
"tsx": "^4.21.0"
}
}