-
-
Notifications
You must be signed in to change notification settings - Fork 177
/
package.json
executable file
·133 lines (133 loc) · 4.41 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "bootstrap.native",
"version": "5.1.2",
"author": "thednp",
"license": "MIT",
"description": "Bootstrap components build with Typescript",
"homepage": "https://thednp.github.io/bootstrap.native/",
"source": "./src/index.ts",
"main": "./dist/bootstrap-native.js",
"module": "./dist/bootstrap-native.mjs",
"exports": {
".": {
"types": "./dist/bootstrap-native.d.ts",
"require": "./dist/bootstrap-native.cjs",
"import": "./dist/bootstrap-native.mjs"
},
"./alert": {
"types": "./dist/components/alert.d.ts",
"require": "./dist/components/alert.cjs",
"import": "./dist/components/alert.mjs"
},
"./button": {
"types": "./dist/components/button.d.ts",
"require": "./dist/components/button.cjs",
"import": "./dist/components/button.mjs"
},
"./carousel": {
"types": "./dist/components/carousel.d.ts",
"require": "./dist/components/carousel.cjs",
"import": "./dist/components/carousel.mjs"
},
"./collapse": {
"types": "./dist/components/collapse.d.ts",
"require": "./dist/components/collapse.cjs",
"import": "./dist/components/collapse.mjs"
},
"./dropdown": {
"types": "./dist/components/dropdown.d.ts",
"require": "./dist/components/dropdown.cjs",
"import": "./dist/components/dropdown.mjs"
},
"./modal": {
"types": "./dist/components/modal.d.ts",
"require": "./dist/components/modal.cjs",
"import": "./dist/components/modal.mjs"
},
"./offcanvas": {
"types": "./dist/components/offcanvas.d.ts",
"require": "./dist/components/offcanvas.cjs",
"import": "./dist/components/offcanvas.mjs"
},
"./popover": {
"types": "./dist/components/popover.d.ts",
"require": "./dist/components/popover.cjs",
"import": "./dist/components/popover.mjs"
},
"./scrollspy": {
"types": "./dist/components/scrollspy.d.ts",
"require": "./dist/components/scrollspy.cjs",
"import": "./dist/components/scrollspy.mjs"
},
"./tab": {
"types": "./dist/components/tab.d.ts",
"require": "./dist/components/tab.cjs",
"import": "./dist/components/tab.mjs"
},
"./toast": {
"types": "./dist/components/toast.d.ts",
"require": "./dist/components/toast.cjs",
"import": "./dist/components/toast.mjs"
},
"./tooltip": {
"types": "./dist/components/tooltip.d.ts",
"require": "./dist/components/tooltip.cjs",
"import": "./dist/components/tooltip.mjs"
}
},
"scripts": {
"pre-test": "pnpm clean-coverage",
"dev": "vite --open ./docs/index-dev.html --port 8577",
"serve": "vite --open ./docs/index.html --port 8577",
"test": "pnpm pre-test && vitest --config vitest.config.mts",
"test-ui": "pnpm pre-test && vitest --config vitest.config-ui.mts --browser=chrome",
"clean-coverage": "rm -rf coverage .nyc_output",
"badges": "npx -p dependency-version-badge update-badge typescript vitest vite",
"build": "pnpm build-vite && pnpm build-components && pnpm copy-docs",
"build-vite": "vite build",
"build-components": "vite build --config vite.config.components.mts",
"copy-docs": "cp dist/bootstrap-native.js docs/assets/js/bootstrap-native.js && cp dist/bootstrap-native.js.map docs/assets/js/bootstrap-native.js.map",
"lint": "deno lint src && pnpm check:ts",
"check:ts": "tsc --noEmit",
"prepublishOnly": "pnpm up && pnpm lint && deno fmt src && pnpm build && pnpm copy-docs && pnpm badges"
},
"bugs": {
"url": "https://github.com/thednp/bootstrap.native/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thednp/bootstrap.native.git"
},
"keywords": [
"twitter-bootstrap",
"bootstrap",
"native",
"typescript"
],
"dependencies": {
"@thednp/event-listener": "^2.0.8",
"@thednp/position-observer": "^1.0.7",
"@thednp/shorty": "^2.0.10"
},
"devDependencies": {
"@types/node": "^20.17.9",
"@vitest/browser": "^2.1.8",
"@vitest/coverage-istanbul": "^2.1.8",
"@vitest/ui": "^2.1.8",
"playwright": "^1.49.0",
"typescript": "5.6.3",
"vite": "^5.4.11",
"vite-plugin-dts": "^4.3.0",
"vite-plugin-strip-comments": "^0.0.4",
"vitest": "^2.1.8"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16",
"pnpm": ">=8.6.0"
}
}