prompt-mentions 0.0.2 → 0.0.4

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,6 +1,6 @@
1
1
  {
2
2
  "name": "prompt-mentions",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "React component library to add an AI prompt with mentions.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -11,13 +11,14 @@
11
11
  "types": "./dist/index.d.ts",
12
12
  "import": "./dist/index.js",
13
13
  "require": "./dist/index.cjs"
14
- }
14
+ },
15
+ "./style.css": "./dist/index.css"
15
16
  },
16
17
  "files": [
17
18
  "dist"
18
19
  ],
19
20
  "scripts": {
20
- "build": "rm -rf dist && rollup -c && rm -rf dist/types",
21
+ "build": "rm -rf dist && rollup -c && rm -rf dist/types && cp src/index.css dist/index.css",
21
22
  "dev": "rollup -c -w",
22
23
  "test": "vitest run --config vitest.unit.config.ts",
23
24
  "test:watch": "vitest --config vitest.unit.config.ts",
@@ -37,8 +38,10 @@
37
38
  },
38
39
  "devDependencies": {
39
40
  "@chromatic-com/storybook": "^4.1.3",
41
+ "@icons-pack/react-simple-icons": "^13.8.0",
40
42
  "@rollup/plugin-commonjs": "^28.0.0",
41
43
  "@rollup/plugin-node-resolve": "^16.0.0",
44
+ "@rollup/plugin-terser": "^0.4.4",
42
45
  "@rollup/plugin-typescript": "^12.1.0",
43
46
  "@storybook/addon-a11y": "^10.1.10",
44
47
  "@storybook/addon-docs": "^10.1.10",
@@ -65,8 +68,5 @@
65
68
  "tslib": "^2.8.0",
66
69
  "typescript": "^5.9.3",
67
70
  "vitest": "^4.0.16"
68
- },
69
- "dependencies": {
70
- "@icons-pack/react-simple-icons": "^13.8.0"
71
71
  }
72
72
  }