startreact
Advanced tools
+1
-1
| { | ||
| "name": "startreact", | ||
| "version": "1.3.3", | ||
| "version": "1.4.0", | ||
| "description": "React + Redux + Hot + Webpack + Express Template Generator", | ||
@@ -5,0 +5,0 @@ "main": "", |
@@ -8,4 +8,5 @@ { | ||
| "test": "cross-env NODE_ENV=test mocha --recursive --compilers js:babel-register --require ./src/test/**/*.js", | ||
| "start": "./node_modules/.bin/babel-node server", | ||
| "build": "./node_modules/.bin/rimraf ./build && set NODE_ENV=production webpack --config ./webpack.production.config.js --progress --profile --colors" | ||
| "dev": "./node_modules/.bin/babel-node server", | ||
| "production": "NODE_ENV=production ./node_modules/.bin/babel-node server", | ||
| "build": "./node_modules/.bin/rimraf ./build && NODE_ENV=production webpack --config ./webpack.production.config.js --progress --profile --colors" | ||
| }, | ||
@@ -12,0 +13,0 @@ "author": "haochuan", |
@@ -89,4 +89,6 @@ import express from 'express'; | ||
| console.log('Server listening at http://%s:%s', host, port); | ||
| var envString = isProduction ? "Production" : "Development"; | ||
| console.log(envString + ' server listening at http://%s:%s', host, port); | ||
| }); | ||
@@ -93,0 +95,0 @@ |
@@ -6,5 +6,5 @@ import * as ActionTypes from '../constants'; | ||
| return ((dispatch, getState) => { | ||
| return { | ||
| dispatch({ | ||
| type: ActionTypes.INCREMENT | ||
| }; | ||
| }); | ||
| }); | ||
@@ -16,6 +16,6 @@ } | ||
| return ((dispatch, getState) => { | ||
| return { | ||
| dispatch({ | ||
| type: ActionTypes.DECREMENT | ||
| }; | ||
| }); | ||
| }); | ||
| } |
Network access
Supply chain riskThis module accesses the network.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
267832
0.06%6013
0.02%