New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ohanapediatrics/react-time-range

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ohanapediatrics/react-time-range - npm Package Compare versions

Comparing version

to
2.2.0

.codeclimate.yml

2

package.json
{
"name": "@ohanapediatrics/react-time-range",
"version": "2.1.0",
"version": "2.2.0",
"description": "A flexible time range selector for React",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,4 +0,6 @@

var path = require("path");
const path = require('path');
module.exports = {
entry: "./src/index.ts",
devtool: 'source-map',
output: {

@@ -12,3 +14,7 @@ path: path.resolve(__dirname, "dist"),

resolve: {
extensions: [".ts", ".tsx", ".js", ".json"]
extensions: [".ts", ".tsx", ".js", ".json"],
alias: {
'react': path.resolve(__dirname, './node_modules/react'),
'react-dom': path.resolve(__dirname, './node_modules/react-dom'),
}
},

@@ -35,4 +41,16 @@ module: {

externals: {
react: "commonjs react"
// Don't bundle react or react-dom
react: {
commonjs: 'react',
commonjs2: 'react',
amd: 'React',
root: 'React'
},
'react-dom': {
commonjs: 'react-dom',
commonjs2: 'react-dom',
amd: 'ReactDOM',
root: 'ReactDOM'
}
}
};