@dice-roller/vue 0.1.9 → 1.0.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/package.json CHANGED
@@ -1,17 +1,25 @@
1
1
  {
2
2
  "name": "@dice-roller/vue",
3
- "version": "0.1.9",
3
+ "version": "1.0.0",
4
4
  "description": "Vue.js component which allows rolling dice",
5
- "main": "dist/vue.umd.js",
6
- "module": "src/DiceRoller.vue",
7
- "unpkg": "dist/vue.umd.min.js",
8
- "browser": {
9
- "./sfc": "src/DiceRoller.vue"
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "main": "./dist/vue.umd.cjs",
10
+ "module": "./dist/vue.js",
11
+ "unpkg": "./dist/vue.umd.cjs",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/vue.js",
15
+ "require": "./dist/vue.umd.cjs"
16
+ }
10
17
  },
11
18
  "scripts": {
12
- "serve": "vue-cli-service serve",
13
- "build": "vue-cli-service build --target lib src/DiceRoller.vue",
14
- "lint": "vue-cli-service lint",
19
+ "dev": "vite",
20
+ "build": "vite build",
21
+ "preview": "vite preview --port 4173",
22
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
15
23
  "prepublishOnly": "npm run build"
16
24
  },
17
25
  "repository": {
@@ -30,19 +38,19 @@
30
38
  },
31
39
  "homepage": "https://github.com/dice-roller/vue",
32
40
  "dependencies": {
33
- "rpg-dice-roller": "^5.0.0",
34
- "vue": "^2.6.12"
41
+ "@dice-roller/rpg-dice-roller": "^5.1.0",
42
+ "vue": "^3.2.39"
35
43
  },
36
44
  "devDependencies": {
37
- "@vue/cli-plugin-babel": "~4.5.4",
38
- "@vue/cli-plugin-eslint": "~4.5.4",
39
- "@vue/cli-service": "~4.5.4",
40
- "@vue/eslint-config-airbnb": "^5.1.0",
41
- "babel-eslint": "^10.1.0",
42
- "core-js": "^3.6.5",
43
- "eslint": "^7.8.1",
44
- "eslint-plugin-import": "^2.22.0",
45
- "eslint-plugin-vue": "^6.2.2",
46
- "vue-template-compiler": "^2.6.12"
45
+ "@rushstack/eslint-patch": "^1.1.4",
46
+ "@vitejs/plugin-vue": "^3.0.3",
47
+ "@vue/eslint-config-prettier": "^7.0.0",
48
+ "autoprefixer": "^10.4.8",
49
+ "eslint": "^8.22.0",
50
+ "eslint-plugin-vue": "^9.3.0",
51
+ "postcss": "^8.4.16",
52
+ "prettier": "^2.7.1",
53
+ "tailwindcss": "^3.1.8",
54
+ "vite": "^3.0.9"
47
55
  }
48
56
  }
package/dist/demo.html DELETED
@@ -1,17 +0,0 @@
1
- <meta charset="utf-8">
2
- <title>vue demo</title>
3
- <script src="https://unpkg.com/vue"></script>
4
- <script src="./vue.umd.js"></script>
5
-
6
-
7
- <div id="app">
8
- <demo></demo>
9
- </div>
10
-
11
- <script>
12
- new Vue({
13
- components: {
14
- demo: vue
15
- }
16
- }).$mount('#app')
17
- </script>