Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Decrease npm package size
Browse files Browse the repository at this point in the history
  • Loading branch information
jelleklaver committed Jun 20, 2019
1 parent 83512b3 commit 156fb57
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 21 deletions.
15 changes: 0 additions & 15 deletions .npmignore

This file was deleted.

3 changes: 1 addition & 2 deletions dist/linkedin-insight.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/linkedin-insight.js.map

This file was deleted.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "react-linkedin-insight",
"version": "0.0.3",
"version": "0.0.4",
"description": "Easily add LinkedIn Insight Tag to React",
"main": "dist/linkedin-insight.js",
"main": "./dist/linkedin-insight.js",
"files": [
"/dist"
],
"scripts": {
"bundle": "npm run lint && export NODE_ENV=production && webpack -p --config webpack.config.dist.js",
"lint": "eslint src/",
Expand All @@ -18,6 +21,7 @@
"react-component",
"linkedin",
"linkedin insight",
"insight",
"tag",
"pixel"
],
Expand Down
1 change: 0 additions & 1 deletion webpack.config.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const path = require("path");
const webpack = require("webpack");

module.exports = {
devtool: "cheap-module-source-map",
entry: ["./src/index.js"],
output: {
path: path.join(__dirname, "dist"),
Expand Down

0 comments on commit 156fb57

Please sign in to comment.