@clikvn/showroom-visualizer 0.3.2-dev-06 → 0.3.2-hotfix-01

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": "@clikvn/showroom-visualizer",
3
3
  "description": "Showroom Visualizer",
4
- "version": "0.3.2-dev-06",
4
+ "version": "0.3.2-hotfix-01",
5
5
  "author": "Clik JSC",
6
6
  "license": "ISC",
7
7
  "type": "module",
@@ -21,8 +21,8 @@
21
21
  "lint": "eslint src --format=compact",
22
22
  "lint:fix": "eslint --fix src --format=compact",
23
23
  "prettier": "prettier --write .",
24
- "pub": "npm publish --access public",
25
- "deploy": "npm login && yarn build && npm publish --access public"
24
+ "pub": "publish --access public",
25
+ "deploy": "yarn build && yarn publish --access public"
26
26
  },
27
27
  "dependencies": {
28
28
  "@clikvn/react-bottom-sheet": "^1.0.3",
package/rollup.config.js CHANGED
@@ -249,6 +249,19 @@ const indexConfig = {
249
249
  exclude: 'node_modules/**',
250
250
  extensions,
251
251
  }),
252
+ copy({
253
+ targets: [
254
+ {
255
+ src: [
256
+ 'src/assets/fonts/icomoon.woff',
257
+ 'src/assets/fonts/icomoon.ttf',
258
+ 'src/assets/fonts/icomoon.svg',
259
+ 'src/assets/fonts/icomoon.eot',
260
+ ],
261
+ dest: 'fonts',
262
+ },
263
+ ],
264
+ }),
252
265
  replace({
253
266
  'process.env.NODE_ENV': JSON.stringify(
254
267
  isDev ? 'development' : 'production'
@@ -335,6 +348,20 @@ const browserConfig = {
335
348
  terser({
336
349
  format: { comments: false },
337
350
  }),
351
+
352
+ copy({
353
+ targets: [
354
+ {
355
+ src: [
356
+ 'src/assets/fonts/icomoon.woff',
357
+ 'src/assets/fonts/icomoon.ttf',
358
+ 'src/assets/fonts/icomoon.svg',
359
+ 'src/assets/fonts/icomoon.eot',
360
+ ],
361
+ dest: 'fonts',
362
+ },
363
+ ],
364
+ }),
338
365
  ].filter(Boolean),
339
366
  };
340
367