-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.33 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 3.33 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
{
"name": "@phantompixeldev/retrocss",
"version": "6.0.4",
"description": "Win9x-style UI framework for the modern web: the mid-90s desktop look, WCAG AA in light and dark, keyboard-operable components, RTL support, and TypeScript types — with no runtime dependencies.",
"main": "dist/retro.cjs",
"style": "dist/retro.css",
"files": [
"dist/",
"src/scss/",
"README.md",
"MIGRATION.md"
],
"scripts": {
"build": "npm run build:css && npm run build:js && npm run build:types",
"build:css": "sass src/scss/retro.scss:dist/retro.css",
"build:css:min": "sass src/scss/retro.scss:dist/retro.min.css --style compressed",
"build:js": "esbuild src/js/retro.js --bundle --outfile=dist/retro.js --format=iife && npm run build:js:esm && npm run build:js:cjs",
"build:js:cjs": "esbuild src/js/retro.js --bundle --outfile=dist/retro.cjs --format=cjs --footer:js=\"module.exports = module.exports.default;\"",
"build:js:esm": "esbuild src/js/retro.js --bundle --outfile=dist/retro.esm.js --format=esm",
"build:js:min": "esbuild src/js/retro.js --bundle --minify --drop:console --outfile=dist/retro.min.js --format=iife",
"build:min": "npm run build:css:min && npm run build:js:min",
"build:placeholders": "node scripts/make-placeholders.mjs",
"build:types": "node -e \"require('fs').copyFileSync('src/types/retro.d.ts','dist/retro.d.ts')\"",
"check:a11y": "node scripts/check-contrast.mjs",
"check:css": "node scripts/check-css.mjs",
"check:keyboard": "node scripts/check-keyboard.mjs",
"check:pages": "node scripts/check-pages.mjs",
"clean": "rimraf \"dist\"",
"migrate-scss": "npx sass-migrator module --migrate-deps src/scss/retro.scss",
"postbuild": "npm run build:min",
"prepublishOnly": "npm run build",
"test": "node --test \"test/**/*.test.mjs\"",
"version": "node scripts/sync-version.mjs && git add index.html documentation.html examples/",
"watch": "concurrently \"npm run watch:css\" \"npm run watch:js\"",
"watch:css": "sass --watch src/scss/retro.scss:dist/retro.css",
"watch:js": "esbuild src/js/retro.js --bundle --outfile=dist/retro.js --format=iife --watch"
},
"keywords": [
"css",
"scss",
"sass",
"framework",
"retro",
"ui",
"win95",
"win98",
"win9x",
"90s",
"desktop-ui",
"vaporwave",
"css-framework",
"dark-mode",
"accessibility",
"wcag",
"rtl",
"design-system",
"components",
"typescript"
],
"author": "PhantomPixelDev",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/PhantomPixelDev/RetroCSS.git"
},
"devDependencies": {
"concurrently": "^8.2.2",
"esbuild": "^0.25.0",
"jsdom": "^29.1.1",
"playwright": "^1.63.0",
"rimraf": "^5.0.10",
"sass": "^1.69.5"
},
"module": "dist/retro.esm.js",
"types": "dist/retro.d.ts",
"unpkg": "dist/retro.min.js",
"jsdelivr": "dist/retro.min.js",
"sass": "src/scss/retro.scss",
"exports": {
".": {
"types": "./dist/retro.d.ts",
"import": "./dist/retro.esm.js",
"require": "./dist/retro.cjs",
"default": "./dist/retro.js"
},
"./css": "./dist/retro.css",
"./css/min": "./dist/retro.min.css",
"./scss": "./src/scss/retro.scss",
"./scss/*": "./src/scss/*",
"./dist/*": "./dist/*",
"./package.json": "./package.json"
}
}