-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.28 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 2.28 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
{
"name": "webutils",
"version": "1.0.0",
"description": "纯前端工具集 - 单文件、零构建、可离线使用",
"type": "module",
"private": true,
"scripts": {
"test": "node tests/tools-json.test.js",
"lint": "npm run lint:html && npm run lint:css && npm run lint:js",
"lint:html": "htmlhint \"**/*.html\" --ignore \"**/ByteDanceVerify.html,**/baidu_verify_*.html,**/js-playground.html,**/code-screenshot.html,**/wave-bg.html\"",
"lint:css": "stylelint \"**/*.html\" --custom-syntax postcss-html",
"lint:js": "eslint \"**/*.html\" \"assets/js/**/*.js\"",
"lint:fix": "npm run lint:css -- --fix",
"format": "prettier --write \"**/*.{html,js,json,md}\"",
"format:check": "prettier --check \"**/*.{html,js,json,md}\"",
"sync": "node scripts/sync-all.js",
"sync:tools": "npm run sync",
"test:e2e": "node tests/e2e/tools.e2e.test.cjs",
"test:browser": "node tests/e2e/browser-automation.test.cjs",
"test:browser:all": "TEST_ALL=1 node tests/e2e/browser-automation.test.cjs",
"test:ui": "node tests/e2e/ui-quality-checker.cjs",
"test:ui:all": "MAX_TOOLS=1001 node tests/e2e/ui-quality-checker.cjs",
"test:ui:enhanced": "node tests/e2e/enhanced-ui-checker.cjs",
"test:ui:enhanced:all": "MAX_TOOLS=1001 node tests/e2e/enhanced-ui-checker.cjs",
"test:all": "npm test && npm run test:e2e",
"migrate:design": "node scripts/migrate-design-system.cjs",
"migrate:design:test": "node scripts/migrate-design-system.cjs --test --dry-run",
"migrate:fonts": "node scripts/migrate-fonts.cjs",
"migrate:fonts:test": "node scripts/migrate-fonts.cjs --test --dry-run",
"migrate:all": "npm run migrate:design && npm run migrate:fonts"
},
"devDependencies": {
"eslint": "^9.39.2",
"eslint-plugin-html": "^8.0.0",
"htmlhint": "^1.1.4",
"postcss-html": "^1.6.0",
"prettier": "^3.7.4",
"puppeteer": "^24.34.0",
"serve-handler": "^6.1.6",
"stylelint": "^16.2.0",
"stylelint-config-standard": "^39.0.1"
},
"keywords": [
"html",
"tools",
"no-build",
"vanilla-js",
"offline-first"
],
"author": "chicogong",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chicogong/html-tools.git"
},
"homepage": "https://chicogong.github.io/html-tools/"
}