-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.31 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.31 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
{
"name": "osx-ui",
"version": "0.1.0",
"description": "macOS-style desktop window manager framework for web apps",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./server": {
"import": {
"types": "./dist/esm/server/index.d.ts",
"default": "./dist/esm/server/index.js"
},
"require": {
"types": "./dist/cjs/server/index.d.ts",
"default": "./dist/cjs/server/index.js"
}
},
"./css": "./css/osx-ui.css",
"./css/*": "./css/*"
},
"files": [
"dist",
"css",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:css",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:css": "node scripts/bundle-css.js",
"dev": "concurrently \"tsc -p tsconfig.esm.json --watch --preserveWatchOutput\" \"tsc -p tsconfig.cjs.json --watch --preserveWatchOutput\"",
"clean": "rm -rf dist",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"src/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\"",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"prepublishOnly": "npm run clean && npm run build"
},
"keywords": [
"osx",
"macos",
"desktop",
"window-manager",
"ui-framework",
"spa"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"@vitest/coverage-v8": "^4.0.18",
"concurrently": "^9.2.1",
"eslint": "^10.0.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"jsdom": "^28.1.0",
"prettier": "^3.8.1",
"typescript": "^5.4.0",
"vitest": "^4.0.18"
},
"peerDependencies": {
"express": ">=4.0.0"
},
"peerDependenciesMeta": {
"express": {
"optional": true
}
}
}