@dice-roller/vue 1.3.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +330 -131
- package/dist/types/accessibility.d.ts +2 -0
- package/dist/types/components/DiceRoller.vue.d.ts +56 -0
- package/dist/types/components/DiceRollerBootstrap.vue.d.ts +121 -0
- package/dist/types/components/DiceRollerRenderless.vue.d.ts +36 -0
- package/dist/types/components/DiceRollerTailwind.vue.d.ts +47 -0
- package/dist/types/composables/idGenerator.d.ts +3 -0
- package/dist/types/composables/useDiceRoller.d.ts +8 -0
- package/dist/types/index.d.mts +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/package.json +3 -0
- package/dist/types/types.d.ts +67 -0
- package/dist/vue.js +581 -34860
- package/dist/vue.umd.cjs +1 -61
- package/package.json +64 -23
- package/dist/favicon.ico +0 -0
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dice-roller/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Vue.js component which allows rolling dice",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
6
7
|
"files": [
|
|
7
8
|
"dist"
|
|
8
9
|
],
|
|
@@ -11,16 +12,31 @@
|
|
|
11
12
|
"unpkg": "./dist/vue.umd.cjs",
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
14
|
-
"import":
|
|
15
|
-
|
|
15
|
+
"import": {
|
|
16
|
+
"types": "./dist/types/index.d.mts",
|
|
17
|
+
"default": "./dist/vue.js"
|
|
18
|
+
},
|
|
19
|
+
"require": {
|
|
20
|
+
"types": "./dist/types/index.d.ts",
|
|
21
|
+
"default": "./dist/vue.umd.cjs"
|
|
22
|
+
}
|
|
16
23
|
}
|
|
17
24
|
},
|
|
18
25
|
"scripts": {
|
|
19
|
-
"dev": "vite",
|
|
20
|
-
"build": "vite build",
|
|
21
|
-
"preview": "vite preview --port 4173",
|
|
22
|
-
"lint": "eslint . --
|
|
23
|
-
"prepublishOnly": "npm run build"
|
|
26
|
+
"dev": "vite --config vite.playground.config.ts",
|
|
27
|
+
"build": "vite build && npm run build:types",
|
|
28
|
+
"preview": "vite preview --config vite.playground.config.ts --port 4173",
|
|
29
|
+
"lint": "eslint . --max-warnings=0",
|
|
30
|
+
"prepublishOnly": "npm run build",
|
|
31
|
+
"test": "npm run build && npm run typecheck && npm run test:types && node --test tests/*.test.ts",
|
|
32
|
+
"lint:fix": "eslint . --fix --max-warnings=0",
|
|
33
|
+
"format": "prettier --write .",
|
|
34
|
+
"format:check": "prettier --check .",
|
|
35
|
+
"build:playground": "vite build --config vite.playground.config.ts",
|
|
36
|
+
"test:playground": "npm run build:playground && playwright test",
|
|
37
|
+
"build:types": "vue-tsc -p tsconfig.build.json",
|
|
38
|
+
"typecheck": "vue-tsc --noEmit",
|
|
39
|
+
"test:types": "vue-tsc --noEmit -p tests/types/tsconfig.json"
|
|
24
40
|
},
|
|
25
41
|
"repository": {
|
|
26
42
|
"type": "git",
|
|
@@ -31,28 +47,53 @@
|
|
|
31
47
|
"roll",
|
|
32
48
|
"vue"
|
|
33
49
|
],
|
|
34
|
-
"author": "GreenImp Media <info@greenimp.co.uk> (
|
|
50
|
+
"author": "GreenImp Media <info@greenimp.co.uk> (https://greenimp.co.uk)",
|
|
35
51
|
"license": "MIT",
|
|
36
52
|
"bugs": {
|
|
37
53
|
"url": "https://github.com/dice-roller/vue/issues"
|
|
38
54
|
},
|
|
39
55
|
"homepage": "https://github.com/dice-roller/vue",
|
|
40
56
|
"dependencies": {
|
|
41
|
-
"@dice-roller/rpg-dice-roller": "^5.5.0",
|
|
42
57
|
"@heroicons/vue": "^2.2.0",
|
|
43
|
-
"@vueuse/core": "^
|
|
44
|
-
"vue": "^3.2.39"
|
|
58
|
+
"@vueuse/core": "^15.0.0"
|
|
45
59
|
},
|
|
46
60
|
"devDependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
61
|
+
"@dice-roller/rpg-dice-roller": "^5.5.0",
|
|
62
|
+
"@eslint/js": "^10.0.1",
|
|
63
|
+
"@playwright/test": "^1.65.0",
|
|
64
|
+
"@types/jsdom": "^30.0.0",
|
|
65
|
+
"@types/node": "^26.6.6",
|
|
66
|
+
"@vitejs/plugin-vue": "^6.0.10",
|
|
67
|
+
"autoprefixer": "^10.6.2",
|
|
68
|
+
"bootstrap": "^5.3.9",
|
|
69
|
+
"eslint": "^10.14.0",
|
|
70
|
+
"eslint-config-prettier": "^10.1.8",
|
|
71
|
+
"eslint-plugin-vue": "^10.12.1",
|
|
72
|
+
"globals": "^17.14.0",
|
|
73
|
+
"jiti": "^2.7.0",
|
|
74
|
+
"jsdom": "^31.0.0",
|
|
75
|
+
"postcss": "^8.5.32",
|
|
76
|
+
"postcss-prefix-selector": "^2.2.1",
|
|
77
|
+
"prettier": "^3.10.0",
|
|
78
|
+
"tailwindcss": "^3.4.19",
|
|
79
|
+
"typescript": "^6.0.3",
|
|
80
|
+
"typescript-eslint": "^8.72.2",
|
|
81
|
+
"vite": "^8.3.8",
|
|
82
|
+
"vue": "^3.5.45",
|
|
83
|
+
"vue-eslint-parser": "^10.4.2",
|
|
84
|
+
"vue-tsc": "^3.3.14"
|
|
85
|
+
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"@dice-roller/rpg-dice-roller": "^5.5.0",
|
|
88
|
+
"vue": "^3.5.45"
|
|
89
|
+
},
|
|
90
|
+
"overrides": {
|
|
91
|
+
"eslint": {
|
|
92
|
+
"minimatch": "^11.0.5"
|
|
93
|
+
},
|
|
94
|
+
"@typescript-eslint/typescript-estree": {
|
|
95
|
+
"minimatch": "^11.0.5"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"types": "./dist/types/index.d.mts"
|
|
58
99
|
}
|
package/dist/favicon.ico
DELETED
|
Binary file
|