Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (137 loc) · 4.76 KB
/
Copy pathpackage.json
File metadata and controls
137 lines (137 loc) · 4.76 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
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
134
135
136
137
{
"name": "interactive-surface-css",
"version": "1.7.3",
"description": "A framework-agnostic, accessible CSS interaction primitive for buttons, cards, and icon controls with token-driven theming.",
"keywords": [
"css",
"ui",
"design-system",
"accessibility",
"a11y",
"framework-agnostic",
"interaction-primitive",
"theming",
"design-tokens",
"buttons",
"cards",
"icon-button"
],
"license": "MIT",
"author": "Kyle Foster",
"repository": {
"type": "git",
"url": "git+https://github.com/Foscat/Interactive-Surface-CSS.git"
},
"bugs": {
"url": "https://github.com/Foscat/Interactive-Surface-CSS/issues"
},
"homepage": "https://foscat.github.io/Interactive-Surface-CSS/",
"type": "module",
"main": "./index.cjs",
"module": "./index.js",
"style": "./interactive-surface.css",
"unpkg": "./interactive-surface.css",
"jsdelivr": "./interactive-surface.css",
"exports": {
".": {
"require": "./index.cjs",
"import": "./index.js",
"default": "./index.js",
"style": "./interactive-surface.css"
},
"./interactive-surface.css": "./interactive-surface.css",
"./state-core.css": "./state-core.css",
"./standalone-preset.css": "./standalone-preset.css",
"./manifest.json": "./manifest.json",
"./index.html": "./index.html",
"./index.cjs": "./index.cjs",
"./package.json": "./package.json"
},
"sideEffects": [
"./index.js",
"./index.cjs",
"*.css",
"./demo/demo.css"
],
"files": [
"index.js",
"index.cjs",
"manifest.json",
"interactive-surface.css",
"state-core.css",
"standalone-preset.css",
"assets/android-chrome-192x192.png",
"assets/android-chrome-512x512.png",
"assets/apple-touch-icon.png",
"assets/browserconfig.xml",
"assets/favicon-16x16.png",
"assets/favicon-32x32.png",
"assets/favicon-48x48.png",
"assets/favicon-64x64.png",
"assets/favicon.ico",
"assets/maskable-icon-192x192.png",
"assets/maskable-icon-512x512.png",
"assets/mstile-150x150.png",
"assets/site.webmanifest",
"demo/demo.css",
"demo/demo.js",
"index.html",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"engines": {
"node": ">=20"
},
"scripts": {
"check:no-hex-colors": "node ./scripts/check-no-hex-colors.mjs",
"check:ownership": "node ./scripts/check-css-ownership.mjs",
"check:generated": "node ./scripts/build.mjs check",
"check:public": "node ./scripts/build.mjs check-public",
"lint:css": "stylelint \"styles/**/*.css\" \"*.css\" \"demo/**/*.css\"",
"pack:dry": "npm pack --dry-run --cache ./.npm-cache",
"bundle": "node ./scripts/build.mjs bundle",
"minify": "node ./scripts/build.mjs minify",
"build": "node ./scripts/build.mjs",
"test": "playwright test --config=./playwright.config.mjs",
"test:contracts": "node --test tests/manifest-contract.test.mjs tests/public-contract.test.mjs tests/build.test.mjs tests/documentation.test.mjs tests/fixture-cleanup.test.mjs tests/ownership-boundaries.test.mjs tests/release-preflight.test.mjs tests/semantic-fallbacks.test.mjs",
"test:package": "node --test tests/package-contract.test.mjs",
"test:chromium": "playwright test --config=./playwright.config.mjs --project=chromium",
"test:install": "playwright install --with-deps chromium firefox webkit",
"test:install:chromium": "playwright install chromium --with-deps --only-shell",
"audit": "npm audit",
"format": "prettier --write .",
"format:check": "prettier --check .",
"validate:node20": "npm run validate:ci",
"validate:publish": "npm run check:no-hex-colors && npm run lint:css && npm run check:public && npm run build && npm run check:generated && npm run check:ownership && npm run test:contracts && npm run test:package && npm run pack:dry",
"validate:ci": "npm run validate:publish && npm run audit",
"validate:browsers": "npm run validate:ci && npm run test:install:chromium && npm run test:chromium",
"validate:full": "npm run validate:ci && npm run test:install && npm test",
"validate": "npm run validate:ci",
"release:preflight": "npm run build && node ./scripts/release-fixture-contract.mjs",
"release:verify": "npm run validate:publish && npm run release:preflight",
"prepublishOnly": "npm run release:verify"
},
"devDependencies": {
"@playwright/test": "^1.57.0",
"clean-css": "~5.3.3",
"css-tree": "3.2.1",
"prettier": "3.9.5",
"stylelint": "^17.14.0",
"stylelint-config-standard": "^40.0.0",
"ui-style-kit-css": "2.1.0"
},
"overrides": {
"colord": "2.10.0",
"fast-uri": "3.1.6",
"js-yaml": "4.3.2",
"nanoid": "3.3.18",
"postcss": "8.5.23"
},
"publishConfig": {
"access": "public"
},
"directories": {
"test": "tests"
}
}