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

dickly

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dickly - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

build/index.js

9

package.json
{
"name": "dickly",
"version": "1.0.0",
"version": "1.0.1",
"repository": {

@@ -10,5 +10,7 @@ "type": "git",

"dev": "webpack-dev-server --mode=development",
"build": "webpack"
"build": "tsc --outDir build && mkdir -p build/src/styles && find ./src/styles -name '*.less' -exec cp -prv '{}' './build/src/styles/' ';'",
"build-example": "webpack --mode=production"
},
"main": "src/index.ts",
"main": "build/index.js",
"types": "build/index.d.ts",
"dependencies": {

@@ -18,2 +20,3 @@ "@types/react": "16.3.14",

"@types/three": "^0.91.10",
"declaration-bundler-webpack-plugin": "^1.0.3",
"react": "^16.3.2",

@@ -20,0 +23,0 @@ "react-addons-update": "^15.6.2",

{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"target": "es6",
"module": "es6",
"allowSyntheticDefaultImports": true,

@@ -12,4 +12,5 @@ "noImplicitAny": false,

"node_modules",
"example",
"libs"
]
}
const path = require('path');
// const DeclarationBundlerPlugin = require('declaration-bundler-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin');
const debug = process.env.NODE_ENV !== 'production';
const entries = {
index: './example/index.tsx',
};
module.exports = {
module.exports = env => ({
entry: entries,
output: {
path: path.resolve(__dirname, 'dist'),
filename: '[name].js',
filename: "[name].js"
},

@@ -20,4 +19,4 @@ module: {

test: /\.tsx?$/,
use: 'ts-loader',
exclude: /node_modules/,
use: "ts-loader",
exclude: /node_modules/
},

@@ -27,28 +26,29 @@ {

use: [
{loader: "style-loader"},
{
loader: 'typings-for-css-modules-loader',
query: {
modules: true,
namedExport: true,
localIdentName: '[name]_[local]_[hash:base64:5]'
}
},
{loader: "less-loader"},
{ loader: "style-loader" },
{
loader: "typings-for-css-modules-loader",
query: {
modules: true,
namedExport: true,
localIdentName: "[name]_[local]_[hash:base64:5]"
}
},
{ loader: "less-loader" }
]
}
],
]
},
resolve: {
extensions: [ '.ts', '.tsx', '.js' ]
extensions: [".ts", ".tsx", ".js"]
},
plugins: [
...Object.keys(entries).map(i => (
new HtmlWebpackPlugin({
filename: `./${i}.html`,
chunks: [i],
template: `./example/${i}.html`,
})
)),
],
};
...Object.keys(entries).map(
i =>
new HtmlWebpackPlugin({
filename: `./${i}.html`,
chunks: [i],
template: `./example/${i}.html`
})
)
]
});

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc