@cobre-npm/ds-v3 0.0.2 → 0.1.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.
@@ -1,3 +1,4 @@
1
+ import '../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js';
1
2
  export * from './components';
2
3
  export * from './scss/index.scss';
3
4
  export * as CobreUtils from './utils';
package/package.json CHANGED
@@ -1,32 +1,35 @@
1
1
  {
2
2
  "name": "@cobre-npm/ds-v3",
3
- "version": "0.0.2",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
- "main": "./dist/cobre-ds-v3-lib.umd.js",
9
8
  "module": "./dist/cobre-ds-v3-lib.es.js",
10
- "types": "dist/types/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/cobre-ds-v3-lib.es.js"
12
+ }
13
+ },
11
14
  "scripts": {
12
15
  "dev": "vite",
13
- "build": "vue-tsc && vite build",
16
+ "get-types": "vue-tsc --declaration --emitDeclarationOnly",
17
+ "build": "vite build && run-p get-types",
14
18
  "build:dev": "run-p build-only",
15
19
  "build:qa": "run-p build-only",
16
- "build:prod": "run-p build-only && vue-tsc && npm publish",
20
+ "build:prod": "run-p build-only && run-p get-types && npm publish",
17
21
  "build:dev-arm": "run-p build-only",
18
22
  "build:qa-arm": "run-p build-only",
19
- "build:prod-arm": "run-p build-only && vue-tsc",
23
+ "build:prod-arm": "run-p build-only && run-p get-types",
20
24
  "preview": "vite preview",
21
25
  "test:unit": "vitest --environment jsdom --root src/",
22
26
  "build-only": "vite build",
23
- "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
24
27
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
25
28
  "storybook": "storybook dev -p 6006",
26
29
  "storybook-server": "storybook dev -p 8080",
27
30
  "build-storybook": "storybook build",
28
31
  "test": "test-storybook",
29
- "prepare": "husky install"
32
+ "prepare": "husky"
30
33
  },
31
34
  "dependencies": {
32
35
  "@popperjs/core": "^2.11.8",