simple-slider-react
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"name": "simple-slider-react", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "", | ||
"main": "main.js", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
@@ -11,3 +11,3 @@ "typings": "index.d.ts", | ||
"@types/react": "^16.9.34", | ||
"@types/react-dom": "^16.9.6", | ||
"@types/react-dom": "^16.9.7", | ||
"react": "^16.13.1", | ||
@@ -17,18 +17,19 @@ "react-dom": "^16.13.1" | ||
"devDependencies": { | ||
"@babel/core": "^7.9.0", | ||
"@babel/preset-typescript": "^7.9.0", | ||
"@types/react": "^16.9.34", | ||
"@types/react-dom": "^16.9.7", | ||
"babel-preset-react": "^6.24.1", | ||
"rollup": "^2.7.2", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"nollup": "^0.11.0", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"react-scripts": "^3.4.1", | ||
"rollup": "^2.7.6", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.2", | ||
"rollup-plugin-replace": "^2.2.0", | ||
"rollup-plugin-sass": "^1.2.2", | ||
"rollup-plugin-typescript2": "^0.27.0", | ||
"rollup-plugin-uglify": "^6.0.4", | ||
"typescript": "^3.8.3", | ||
"@types/react": "^16.9.34", | ||
"@types/react-dom": "^16.9.6", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1" | ||
"serve": "^11.3.0", | ||
"typescript": "^3.8.3" | ||
}, | ||
@@ -38,3 +39,3 @@ "scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start": "react-scripts start" | ||
"start": "rollup --config rollup.config.test.js" | ||
}, | ||
@@ -41,0 +42,0 @@ "repository": { |
@@ -7,4 +7,2 @@ import typescript from "rollup-plugin-typescript2"; | ||
import packageJson from "./package.json"; | ||
export default { | ||
@@ -14,6 +12,6 @@ input: "src/index.tsx", | ||
{ | ||
file: "main.js", | ||
file: "./dist/index.js", | ||
format: "cjs", | ||
sourcemap: true, | ||
} | ||
}, | ||
], | ||
@@ -26,3 +24,3 @@ plugins: [ | ||
namedExports: { | ||
"react": ["useState", "useEffect", "useRef"], | ||
react: ["useState", "useEffect", "useRef", "useLayoutEffect"], | ||
}, | ||
@@ -29,0 +27,0 @@ }), |
@@ -5,9 +5,4 @@ { | ||
"module": "esnext", | ||
"target": "es5", | ||
"lib": [ | ||
"es6", | ||
"dom", | ||
"es2016", | ||
"es2017" | ||
], | ||
"target": "es6", | ||
"lib": ["es6", "dom", "es2016", "es2017"], | ||
"sourceMap": true, | ||
@@ -27,11 +22,5 @@ "allowJs": false, | ||
}, | ||
"include": [ | ||
"src", | ||
"images.d.ts" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"build" | ||
], | ||
"include": ["src", "images.d.ts"], | ||
"exclude": ["node_modules", "build", "test", "public"], | ||
"esModuleInterop": true | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
549549
557
17
1
1