z-flux-react 1.0.1 → 1.0.2
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/dist/index.d.ts +33 -18
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -5
- package/rollup.config.js +0 -50
- package/tsconfig.json +0 -58
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "z-flux-react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A web animation components library for react projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Akinola Victor",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"build": "rollup -c",
|
|
13
13
|
"build-lib": "rollup -c --bundleConfigAsCjs",
|
|
14
14
|
"git": "git add . && git commit -m 'updated...' && git push origin master",
|
|
15
|
-
"build-publish": "npm run build-lib2 && npm run git && npm publish"
|
|
15
|
+
"build-publish": "npm run build-lib2 && npm run git && npm publish",
|
|
16
|
+
"push": "npm run git && npm publish"
|
|
16
17
|
},
|
|
17
18
|
"repository": {
|
|
18
19
|
"type": "git",
|
|
@@ -35,13 +36,13 @@
|
|
|
35
36
|
],
|
|
36
37
|
"peerDependencies": {
|
|
37
38
|
"react": ">=16",
|
|
38
|
-
"react-dom": ">=16"
|
|
39
|
+
"react-dom": ">=16",
|
|
40
|
+
"z-flux-utils": ">=1.0.7"
|
|
39
41
|
},
|
|
40
42
|
"dependencies": {
|
|
41
43
|
"@gsap/react": "^2.1.2",
|
|
42
44
|
"@types/react": "^19.2.14",
|
|
43
|
-
"gsap": "3.15.0"
|
|
44
|
-
"z-flux-utils": "^1.0.1"
|
|
45
|
+
"gsap": "3.15.0"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@babel/core": "^7.29.0",
|
package/rollup.config.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import babel from "rollup-plugin-babel"
|
|
2
|
-
import resolve from "@rollup/plugin-node-resolve"
|
|
3
|
-
import external from "rollup-plugin-peer-deps-external"
|
|
4
|
-
// import postcss from "rollup-plugin-postcss"
|
|
5
|
-
import {terser} from "rollup-plugin-terser"
|
|
6
|
-
import commonjs from "@rollup/plugin-commonjs"
|
|
7
|
-
import typescript from "@rollup/plugin-typescript"
|
|
8
|
-
import dts from "rollup-plugin-dts"
|
|
9
|
-
const packageJson = require("./package.json")
|
|
10
|
-
|
|
11
|
-
export default [
|
|
12
|
-
{
|
|
13
|
-
input: "./src/index.ts",
|
|
14
|
-
output: [
|
|
15
|
-
{
|
|
16
|
-
file: packageJson.main,
|
|
17
|
-
format: "cjs",
|
|
18
|
-
sourcemap: true,
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
file: packageJson.module,
|
|
22
|
-
format: "esm",
|
|
23
|
-
// exports: "named",
|
|
24
|
-
sourcemap: true,
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
plugins: [
|
|
28
|
-
// postcss({
|
|
29
|
-
// plugins: [],
|
|
30
|
-
// minimize: true
|
|
31
|
-
// }),
|
|
32
|
-
babel({
|
|
33
|
-
exclude: "node_modules/**",
|
|
34
|
-
presets: ["@babel/preset-react"],
|
|
35
|
-
}),
|
|
36
|
-
external(),
|
|
37
|
-
resolve(),
|
|
38
|
-
terser(),
|
|
39
|
-
commonjs(),
|
|
40
|
-
typescript({tsconfig: "./tsconfig.json"})
|
|
41
|
-
],
|
|
42
|
-
external: ["react", "react-dom"]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
input: "src/index.ts",
|
|
46
|
-
output: [{file: packageJson.types}],
|
|
47
|
-
plugins: [dts()],
|
|
48
|
-
external: [/\.css/]
|
|
49
|
-
}
|
|
50
|
-
]
|
package/tsconfig.json
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
// Visit https://aka.ms/tsconfig to read more about this file
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
// File Layout
|
|
5
|
-
// "rootDir": "./src",
|
|
6
|
-
// "outDir": "./dist",
|
|
7
|
-
"target": "es6",
|
|
8
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
"skipLibCheck": true,
|
|
11
|
-
"esModuleInterop": true,
|
|
12
|
-
"allowSyntheticDefaultImports": true,
|
|
13
|
-
"strict": true,
|
|
14
|
-
"forceConsistentCasingInFileNames": true,
|
|
15
|
-
"noFallthroughCasesInSwitch": true,
|
|
16
|
-
"module": "esnext",
|
|
17
|
-
"moduleResolution": "node",
|
|
18
|
-
"resolveJsonModule": true,
|
|
19
|
-
"isolatedModules": true,
|
|
20
|
-
"noEmit": true,
|
|
21
|
-
"jsx": "react-jsx",
|
|
22
|
-
"ignoreDeprecations": "6.0",
|
|
23
|
-
"types": ["node"],
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
// Environment Settings
|
|
29
|
-
// See also https://aka.ms/tsconfig/module
|
|
30
|
-
// "types": [],
|
|
31
|
-
// For nodejs:
|
|
32
|
-
// and npm install -D @types/node
|
|
33
|
-
|
|
34
|
-
// Other Outputs
|
|
35
|
-
// "sourceMap": true,
|
|
36
|
-
// "declaration": true,
|
|
37
|
-
// "declarationMap": true,
|
|
38
|
-
|
|
39
|
-
// Stricter Typechecking Options
|
|
40
|
-
// "noUncheckedIndexedAccess": true,
|
|
41
|
-
// "exactOptionalPropertyTypes": true,
|
|
42
|
-
|
|
43
|
-
// Style Options
|
|
44
|
-
// "noImplicitReturns": true,
|
|
45
|
-
// "noImplicitOverride": true,
|
|
46
|
-
// "noUnusedLocals": true,
|
|
47
|
-
// "noUnusedParameters": true,
|
|
48
|
-
// "noPropertyAccessFromIndexSignature": true,
|
|
49
|
-
|
|
50
|
-
// Recommended Options
|
|
51
|
-
// "verbatimModuleSyntax": true,
|
|
52
|
-
// "noUncheckedSideEffectImports": true,
|
|
53
|
-
// "moduleDetection": "force",
|
|
54
|
-
},
|
|
55
|
-
"include": ["src"]
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// npm i -D @rollup/plugin-commonjs @rollup/plugin-typescript rollup-plugin-dts
|