norma-library 0.3.8 → 0.3.9

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,7 +1,7 @@
1
1
  {
2
2
  "name": "norma-library",
3
3
  "private": false,
4
- "version": "0.3.8",
4
+ "version": "0.3.9",
5
5
  "type": "module",
6
6
  "description": "Norma Library. A React UI kit.",
7
7
  "scripts": {
@@ -13,7 +13,8 @@
13
13
  "lint:fix": "eslint --fix 'src/**/**/*.{jsx,ts,tsx}'",
14
14
  "format": "prettier --write src//**/**/*.{ts,tsx,css} --config ./.prettierrc",
15
15
  "prepare": "husky install",
16
- "deploy": "npm run build && npm publish"
16
+ "deploy": "npm run build && npm publish",
17
+ "build-ts": "rollup -c --bundleConfigAsCjs"
17
18
  },
18
19
  "husky": {
19
20
  "hooks": {
@@ -26,19 +27,22 @@
26
27
  "yarn format"
27
28
  ]
28
29
  },
29
- "main": "dist/index.cjs",
30
- "module": "dist/index.mjs",
31
- "types": "dist/index.d.ts",
30
+ "files": [
31
+ "dist"
32
+ ],
33
+ "main": "./dist/norma-library.umd.cjs",
34
+ "module": "./dist/norma-library.js",
35
+ "types": "./dist/index.d.ts",
32
36
  "exports": {
33
37
  ".": {
34
- "import": "./dist/index.es.js",
35
- "require": "./dist/index.umd.js"
38
+ "import": "./dist/norma-library.js",
39
+ "require": "./dist/norma-library.umd.cjs"
36
40
  }
37
41
  },
38
- "files": [
39
- "dist"
40
- ],
41
42
  "devDependencies": {
43
+ "@rollup/plugin-commonjs": "^25.0.4",
44
+ "@rollup/plugin-node-resolve": "^15.2.0",
45
+ "@rollup/plugin-typescript": "^11.1.2",
42
46
  "@types/debug": "^4.1.8",
43
47
  "@types/minimist": "^1.2.2",
44
48
  "@types/node": "^18.7.6",
@@ -70,11 +74,15 @@
70
74
  "react": "^18.2.0",
71
75
  "react-dom": "^18.2.0",
72
76
  "react-i18next": "^13.0.3",
77
+ "rollup-plugin-dts": "^6.0.0",
78
+ "rollup-plugin-peer-deps-external": "^2.2.4",
79
+ "rollup-plugin-terser": "^7.0.2",
73
80
  "semver": "^7.5.4",
74
81
  "tsx": "^3.12.7",
75
82
  "typescript": "^4.9.5",
76
83
  "url": "^0.11.1",
77
84
  "vite": "^3.1.0",
85
+ "vite-plugin-babel-macros": "^1.0.6",
78
86
  "vite-plugin-dts": "^1.4.1",
79
87
  "vite-plugin-linter": "^1.2.0",
80
88
  "vite-tsconfig-paths": "^3.5.0",
@@ -101,6 +109,7 @@
101
109
  "dependencies": {
102
110
  "@emotion/react": "^11.11.1",
103
111
  "@emotion/styled": "^11.11.0",
112
+ "@ladle/react": "^2.17.2",
104
113
  "@mui/icons-material": "^5.14.3",
105
114
  "@mui/material": "^5.14.4",
106
115
  "@types/i18next": "^13.0.0",
@@ -1,3 +0,0 @@
1
- import { CardBaseProps } from './types';
2
- declare const Card: ({ children, title }: CardBaseProps) => import("react/jsx-runtime").JSX.Element;
3
- export default Card;
@@ -1,2 +0,0 @@
1
- export * from './Card';
2
- export { default } from './Card';