Socket
Socket
Sign inDemoInstall

markdown-it-icons

Package Overview
Dependencies
1
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

.babelrc

21

package.json
{
"name": "markdown-it-icons",
"version": "0.1.0",
"version": "0.1.1",
"description": "Plugin for markdown-it, supports emoji icons and font-awesome icons.",
"main": "src/index.bundle.js",
"scripts": {
"build": "webpack --progress --colors --watch",
"build": "node -r babel-register node_modules/.bin/webpack --progress --colors --watch",
"test": "node test/index.bundle.js",

@@ -15,12 +15,13 @@ "upgrade": "ncu -ua && yarn upgrade"

"devDependencies": {
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-preset-env": "^1.1.4",
"babel-core": "^6.23.1",
"babel-loader": "^6.3.2",
"babel-preset-env": "^1.1.11",
"emojione": "^2.2.7",
"font-awesome-icon-chars": "^1.1.2",
"font-awesome-icon-chars": "^1.2.2",
"json-loader": "^0.5.4",
"markdown-it": "^8.2.2",
"npm-check-updates": "^2.8.9",
"standard": "^8.6.0",
"webpack": "^1.14.0"
"markdown-it": "^8.3.0",
"npm-check-updates": "^2.10.3",
"standard": "^9.0.0",
"webpack": "^2.2.1",
"webpack-node-externals": "^1.5.4"
},

@@ -27,0 +28,0 @@ "dependencies": {

@@ -1,51 +0,34 @@

const path = require('path')
const nodeExternals = require('webpack-node-externals')
const loaders = [
{
test: /\.json$/,
loader: 'json-loader'
const config = {
target: 'node',
externals: [nodeExternals()],
entry: {
'src/index': './src/index.js',
'test/index': './test/index.js'
},
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
query: {
presets: [
['env', {
'targets': {
'node': 'current'
}
}]
]
}
}
]
const configurations = [
{
entry: {
'index': './src/index.js'
},
output: {
path: path.join(__dirname, 'src'),
filename: '[name].bundle.js',
libraryTarget: 'commonjs2'
},
module: { loaders },
target: 'node'
output: {
path: '.',
filename: '[name].bundle.js',
libraryTarget: 'commonjs2'
},
{
entry: {
'index': './test/index.js'
},
output: {
path: path.join(__dirname, 'test'),
filename: '[name].bundle.js',
libraryTarget: 'commonjs2'
},
module: { loaders },
target: 'node'
module: {
rules: [{
test: /\.js$/,
use: {
loader: 'babel-loader',
options: {
presets: [
['env', {
'targets': {
'node': 'current'
}
}]
]
}
}
}]
}
]
}
module.exports = configurations
export default [config]

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc