-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.25 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 2.25 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
{
"name": "@knighted/develop",
"version": "0.2.0",
"description": "Develop UI components directly in the browser using JSX and CSS.",
"keywords": [
"ui",
"components",
"realtime",
"browser",
"development",
"jsx",
"css",
"importmap",
"cdn"
],
"license": "MIT",
"author": "KCM <knightedcodemonkey@gmail.com>",
"type": "module",
"engines": {
"node": ">=22.22.1"
},
"engineStrict": true,
"scripts": {
"dev": "http-server . -a localhost -c-1 -o src/index.html",
"prepare": "husky",
"build:prepare": "node scripts/build-prepare.js",
"build:css": "node scripts/build-css.js",
"build:importmap": "node scripts/build-importmap.js",
"build": "npm run build:prepare && npm run build:css && npm run build:importmap",
"build:esm": "KNIGHTED_PRIMARY_CDN=esm npm run build",
"build:jspm": "KNIGHTED_PRIMARY_CDN=jspmGa npm run build",
"build:importmap-mode": "KNIGHTED_PRIMARY_CDN=importMap npm run build",
"preview": "http-server dist -a localhost -p 8081 -c-1 -o index.html",
"check-types": "tsc -p tsconfig.json",
"lint:playwright": "eslint playwright playwright.config.ts",
"test:e2e": "npm run build:esm && PLAYWRIGHT_WEB_SERVER_MODE=preview PLAYWRIGHT_PORT=8081 playwright test",
"test:e2e:dev": "playwright test",
"test:e2e:headed": "npm run build:esm && PLAYWRIGHT_WEB_SERVER_MODE=preview PLAYWRIGHT_PORT=8081 playwright test --headed",
"test": "echo \"Error: no test specified\" && exit 1",
"prettier": "prettier --write .",
"lint": "oxlint src scripts && npm run lint:playwright"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@types/node": "^25.5.0",
"@typescript-eslint/parser": "^8.57.1",
"eslint": "^10.0.3",
"eslint-plugin-playwright": "^2.10.0",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"jspm": "^4.4.0",
"lightningcss": "^1.32.0",
"lint-staged": "^16.4.0",
"oxlint": "^1.55.0",
"prettier": "^3.8.1",
"typescript": "^5.9.3"
},
"lint-staged": {
"**/*": [
"prettier --write --ignore-unknown"
],
"{src,scripts}/**/*.{js,mjs,cjs,jsx,ts,tsx}": [
"oxlint"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 90,
"semi": false,
"singleQuote": true
}
}