-
Notifications
You must be signed in to change notification settings - Fork 178
/
package.json
146 lines (146 loc) · 5.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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "bootstrap.native",
"version": "5.0.14",
"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": {
"format": "prettier --write \"src/**/*.ts\"",
"pre-test": "pnpm clean-coverage",
"clean-coverage": "rimraf coverage .nyc_output",
"test": "pnpm pre-test && cypress run",
"dev": "vite --open ./docs/index-dev.html --port 8577",
"cypress": "npx cypress open",
"badges": "npx -p dependency-version-badge update-badge typescript eslint cypress vite prettier",
"coverage:report": "nyc report --reporter=lcov --reporter=json --reporter=text --reporter=json-summary",
"build": "pnpm check:ts && pnpm lint:ts && pnpm build-vite && pnpm build-components && pnpm dts && pnpm copy-docs",
"build-vite-with-dts": "vite build && pnpm copy-docs",
"build-vite": "vite build && pnpm copy-docs",
"build-components": "vite build --config vite.config.components.ts",
"dts": "dts-bundle-generator --config ./dts.config.cjs --project ./tsconfig.json",
"copy-docs": "ncp dist/bootstrap-native.js docs/assets/js/bootstrap-native.js && ncp dist/bootstrap-native.js.map docs/assets/js/bootstrap-native.js.map",
"check:ts": "tsc --noEmit",
"lint:ts": "eslint -c .eslintrc.cjs --ext .ts src",
"fix:ts": "eslint -c .eslintrc.cjs --ext .ts src --fix",
"prepublishOnly": "pnpm up && pnpm format && pnpm build && 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.5",
"@thednp/shorty": "^2.0.3"
},
"devDependencies": {
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.1",
"@cypress/code-coverage": "^3.12.44",
"@types/istanbul-lib-instrument": "^1.7.7",
"@types/node": "^20.14.11",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"cypress": "^13.13.1",
"dts-bundle-generator": "^9.5.1",
"eslint": "^8.57.0",
"eslint-plugin-jsdoc": "^46.10.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-instrument": "^5.2.1",
"ncp": "^2.0.0",
"nyc": "^15.1.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.9",
"typescript": "^5.5.3",
"vite": "^5.3.4"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16",
"pnpm": ">=8.6.0"
}
}