druware-components 0.1.1
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/LICENSE +674 -0
- package/README.md +9 -0
- package/animated-count/animated-count.vue +102 -0
- package/animated-count/index.js +5 -0
- package/api/base.js +133 -0
- package/api/index.js +5 -0
- package/article-view/article-view.vue +146 -0
- package/article-view/index.js +4 -0
- package/content/content.js +10 -0
- package/content/index.js +4 -0
- package/dist/druware-components.css +26 -0
- package/dist/druware-components.js +4164 -0
- package/dist/druware-components.mjs +4164 -0
- package/dist/druware-components.umd.js +4167 -0
- package/index.js +5 -0
- package/package.json +24 -0
- package/vite.config.js +25 -0
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "druware-components",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "A vue.js library of UI components for the Druware.Server.API by OpenBCM.com. This library assumes that Bulma is alreadr included in the application.",
|
|
5
|
+
"license": "LGPL-3.0-or-later",
|
|
6
|
+
"author": "Dru Satori @ druware.com",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"main": "index.js",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "vite build"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"vue-router": "^4.6.3",
|
|
14
|
+
"axios": "^1.13.2",
|
|
15
|
+
"sass-embedded": "^1.93.3",
|
|
16
|
+
"marked": "^17.0.1",
|
|
17
|
+
"@fortawesome/fontawesome-svg-core": "^7.1.0",
|
|
18
|
+
"@fortawesome/free-brands-svg-icons": "^7.1.0",
|
|
19
|
+
"@fortawesome/free-regular-svg-icons": "^7.1.0",
|
|
20
|
+
"@fortawesome/free-solid-svg-icons": "^7.1.0",
|
|
21
|
+
"@fortawesome/vue-fontawesome": "^3.1.2",
|
|
22
|
+
"@vitejs/plugin-vue": "^6.0.3"
|
|
23
|
+
}
|
|
24
|
+
}
|
package/vite.config.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineConfig } from "vite";
|
|
2
|
+
import vue from "@vitejs/plugin-vue";
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
build: {
|
|
5
|
+
outDir: "es",
|
|
6
|
+
minify: false,
|
|
7
|
+
rollupOptions: {
|
|
8
|
+
external: ["vue"],
|
|
9
|
+
//input: ["index.ts"],
|
|
10
|
+
output: {
|
|
11
|
+
globals: {
|
|
12
|
+
vue: "Vue",
|
|
13
|
+
},
|
|
14
|
+
dir: "dist",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
lib: {
|
|
18
|
+
entry: "./index.js",
|
|
19
|
+
name: "druware-components",
|
|
20
|
+
fileName: "druware-components",
|
|
21
|
+
formats: ["es", "umd", "cjs"],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
plugins: [vue()],
|
|
25
|
+
});
|