-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
97 lines (97 loc) · 3.04 KB
/
package.json
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
{
"name": "os-gui",
"description": "Retro OS styles & components for the web",
"version": "0.7.3",
"homepage": "https://os-gui.js.org",
"repository": {
"type": "git",
"url": "https://github.com/1j01/os-gui.git"
},
"bugs": {
"url": "https://github.com/1j01/os-gui/issues"
},
"license": "MIT",
"keywords": [
"os",
"operating-system",
"gui",
"ui",
"ui-components",
"components",
"ui-toolkit",
"toolkit",
"retro",
"classic",
"vaporwave",
"98",
"95",
"90s",
"windows",
"window",
"windowing",
"menubar",
"menubars",
"menus",
"menu",
"context-menu",
"context-menus",
"browser",
"web-based",
"css",
"styles",
"stylesheet",
"theme"
],
"files": [
"demo/",
"index.html",
"build/",
"$MenuBar.js",
"MenuBar.js",
"$Window.js",
"parse-theme.js",
"os-gui.d.ts"
],
"types": "os-gui.d.ts",
"scripts": {
"pretest": "rimraf coverage/ .nyc_output/",
"test": "playwright test && cypress run",
"coverage @NOTE": "only unit test coverage is recorded currently; need more setup for instrumenting in-page code",
"coverage:verify": "npx nyc report --check-coverage true --lines 8",
"coverage:check-files": "check-coverage MenuBar.js && only-covered MenuBar.js",
"lint-cspell": "cspell-cli lint .",
"lint-tsc": "tsc --noEmit --pretty --project tsconfig.json",
"lint": "npm-run-all --continue-on-error --serial lint-*",
"start": "run-p watch-css live-server",
"prestart": "mkdirp build",
"prewatch": "mkdirp build",
"watch-css": "postcss src/**/*.css --base src --dir build --map --watch --poll",
"live-server @NOTE 1": "The dot at the end is needed as a workaround, see https://github.com/tapio/live-server/issues/178#issuecomment-438231084",
"live-server @NOTE 2": "I'd like to ignore *.map too, but I don't know how to get it to work cross-platform.",
"live-server @NOTE 3": "I'm not sure if I want coverage/ to be ignored, but I could make a separate script for live reloading the coverage report. That said, I might just use the live server built into VS Code for that.",
"live-server @NOTE 4": "It may be more reasonable to use a middleware for this logic, see https://github.com/tapio/live-server/issues/178#issuecomment-404471184",
"live-server": "live-server --ignore=node_modules/,.git/,.history/,.idea/,.vscode/,test/,coverage/,test-results/,playwright-report/,blob-report/,playwright/.cache/,package.json,package-lock.json,README.md,LICENSE,CNAME,CHANGELOG.md,os-gui.d.ts,postcss.config.js,cspell.json,.gitignore,.gitattributes ."
},
"devDependencies": {
"@cypress/code-coverage": "^3.12.39",
"@playwright/test": "^1.45.0-beta-1718419432000",
"@types/node": "^20.14.2",
"autoprefixer": "10.3.3",
"babel-plugin-istanbul": "^6.1.1",
"check-code-coverage": "^1.10.5",
"cspell-cli": "^8.8.1",
"cypress": "^13.10.0",
"live-server": "1.2.1",
"mkdirp": "1.0.4",
"npm-run-all": "4.1.5",
"nyc": "^15.1.0",
"postcss-cli": "8.3.1",
"postcss-url": "10.1.3",
"precss": "4.0.0",
"rimraf": "^5.0.7",
"typescript": "^5.4.5"
},
"dependencies": {
"@types/jquery": "^3.5.30"
}
}