react-ui-animate 5.3.2 → 5.4.0-next.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-ui-animate",
3
- "version": "5.3.2",
3
+ "version": "5.4.0-next.0",
4
4
  "description": "React library for gestures and animation",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -20,7 +20,6 @@
20
20
  "react": ">=16.8.0 || >=17.0.0 || >=18.0.0 || >=19.0.0"
21
21
  },
22
22
  "devDependencies": {
23
- "@rollup/plugin-terser": "^0.4.4",
24
23
  "@testing-library/jest-dom": "^6.1.5",
25
24
  "@testing-library/react": "^16.3.1",
26
25
  "@types/jest": "^29.5.14",
@@ -37,12 +36,15 @@
37
36
  "rollup": "^4.54.0",
38
37
  "rollup-plugin-dts": "^6.3.0",
39
38
  "rollup-plugin-typescript2": "^0.36.0",
39
+ "rollup-plugin-visualizer": "^7.0.1",
40
40
  "ts-jest": "^29.1.2",
41
41
  "typescript": "^5.9.3"
42
42
  },
43
43
  "scripts": {
44
44
  "clean": "rimraf -rf dist .dts-temp",
45
- "build": "npm run clean && rollup -c && rimraf -rf .dts-temp",
45
+ "build": "npm run clean && rollup -c && rimraf -rf .dts-temp && npm run size",
46
+ "size": "node -e \"const {gzipSync}=require('zlib');const {readFileSync}=require('fs');const raw=readFileSync('dist/index.mjs');const gz=gzipSync(raw);console.log('index.mjs: '+raw.length+' bytes raw / '+gz.length+' bytes gzip');\"",
47
+ "analyze": "npm run clean && ANALYZE=true rollup -c && rimraf -rf .dts-temp",
46
48
  "start": "npm run clean && rollup -c -w",
47
49
  "start:dev": "cd example && npm start",
48
50
  "dev": "concurrently -n lib,example -c blue,green \"npm run start\" \"npm run start:dev\"",