-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 1.9 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
{
"name": "nho",
"version": "0.2.0",
"description": "1KB Web Component Abstraction",
"keywords": ["nho", "web component"],
"repository": {
"type": "git",
"url": "https://github.com/anh-ld/nho.git"
},
"author": {
"name": "Anh Le",
"email": "[email protected]"
},
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.es.js",
"default": "./dist/index.umd.js"
},
"./dist/": "./dist/"
},
"main": "./dist/index.umd.js",
"files": ["dist", "src", "*.md"],
"scripts": {
"----------BUILD----------": "",
"build": "vite build --mode=lib",
"build:example": "vite build --mode=example",
"----------E2E-TEST----------": "",
"e2e": "playwright test",
"e2e:ui": "playwright test --ui",
"----------UNIT-TEST----------": "",
"coverage": "vitest --coverage",
"test": "vitest run",
"test:watch": "vitest",
"----------DEV----------": "",
"dev": "vite",
"----------OTHERS----------": "",
"postinstall": "simple-git-hooks",
"release": "release-it",
"check": "npx @biomejs/biome check --write .",
"clean": "rm -rf dist example/dist playwright-report test-results"
},
"simple-git-hooks": {
"pre-commit": "npm run test && npm run check && git add .",
"commit-msg": "npx @n6ai/verify-commit-msg@latest $1"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@n6ai/verify-commit-msg": "^1.2.0",
"@playwright/test": "^1.45.1",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/user-event": "^14.5.2",
"@vitest/coverage-v8": "^0.34.6",
"jsdom": "^22.1.0",
"playwright": "^1.45.1",
"release-it": "^16.3.0",
"simple-git-hooks": "^2.11.1",
"vite": "^4.5.3",
"vitest": "^0.34.6"
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
}
}
}