@authing/vue-ui-components 3.0.12 → 3.0.20

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.
@@ -1,20 +1,20 @@
1
- import babel from 'rollup-plugin-babel'
2
- import resolve from 'rollup-plugin-node-resolve'
3
- import vue from 'rollup-plugin-vue'
4
- import cjs from 'rollup-plugin-commonjs'
5
- import replace from 'rollup-plugin-replace'
6
- import requireContext from 'rollup-plugin-require-context'
7
- import { string } from 'rollup-plugin-string'
8
- import fs from 'fs'
9
- import CleanCSS from 'clean-css'
10
- import autoprefixer from 'autoprefixer'
11
- import css from 'rollup-plugin-css-only'
12
- const postcss = require('rollup-plugin-postcss')
1
+ import babel from "rollup-plugin-babel";
2
+ import resolve from "rollup-plugin-node-resolve";
3
+ import vue from "rollup-plugin-vue";
4
+ import cjs from "rollup-plugin-commonjs";
5
+ import replace from "rollup-plugin-replace";
6
+ import requireContext from "rollup-plugin-require-context";
7
+ import { string } from "rollup-plugin-string";
8
+ import fs from "fs";
9
+ import CleanCSS from "clean-css";
10
+ import autoprefixer from "autoprefixer";
11
+ import css from "rollup-plugin-css-only";
12
+ const postcss = require("rollup-plugin-postcss");
13
13
 
14
- const config = require('../package.json')
14
+ const config = require("../package.json");
15
15
 
16
16
  export default {
17
- input: 'src/components/index.js',
17
+ input: "src/components/index.js",
18
18
  plugins: [
19
19
  resolve({
20
20
  jsnext: true,
@@ -22,7 +22,7 @@ export default {
22
22
  browser: true,
23
23
  }),
24
24
  string({
25
- include: '**/*.svg',
25
+ include: "**/*.svg",
26
26
  }),
27
27
  vue({
28
28
  css: false,
@@ -35,35 +35,34 @@ export default {
35
35
  }),
36
36
  css({
37
37
  output: (styles) => {
38
- fs.writeFileSync(
39
- 'lib/index.min.css',
40
- new CleanCSS().minify(styles).styles
41
- )
38
+ fs.writeFileSync("lib/index.min.css", new CleanCSS().minify(styles).styles);
42
39
  },
43
40
  }),
44
41
  babel({
45
- exclude: 'node_modules/**',
42
+ exclude: "node_modules/**",
46
43
  runtimeHelpers: true,
47
44
  }),
48
45
  cjs({
49
46
  namedExports: {
50
- '@authing/native-js-ui-components': [
51
- 'AuthingGuard',
52
- 'GuardEventsCamelToKebabMap',
53
- 'GuardMode',
54
- 'GuardScenes',
55
- 'LoginMethods',
56
- 'RegisterMethods',
47
+ "@authing/native-js-ui-components": [
48
+ "AuthingGuard",
49
+ "Guard",
50
+ "GuardEventsCamelToKebabMap",
51
+ "GuardMode",
52
+ "GuardScenes",
53
+ "LoginMethods",
54
+ "RegisterMethods",
57
55
  ],
58
- '../native-js/lib/index.min.js': [
59
- 'AuthingGuard',
60
- 'GuardEventsCamelToKebabMap',
61
- 'GuardMode',
62
- 'GuardScenes',
63
- 'LoginMethods',
64
- 'RegisterMethods',
65
- 'getAuthClient',
66
- 'initAuthClient',
56
+ "../native-js/lib/index.min.js": [
57
+ "AuthingGuard",
58
+ "Guard",
59
+ "GuardEventsCamelToKebabMap",
60
+ "GuardMode",
61
+ "GuardScenes",
62
+ "LoginMethods",
63
+ "RegisterMethods",
64
+ "getAuthClient",
65
+ "initAuthClient",
67
66
  ],
68
67
  },
69
68
  }),
@@ -73,6 +72,6 @@ export default {
73
72
  // }),
74
73
  ],
75
74
  watch: {
76
- include: 'src/**',
75
+ include: "src/**",
77
76
  },
78
- }
77
+ };
package/lib/.gitkeep ADDED
File without changes