Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/ads-moat-integration

Package Overview
Dependencies
Maintainers
9
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/ads-moat-integration - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

babel.config.js

27

package.json
{
"name": "@financial-times/ads-moat-integration",
"homepage": "https://github.com/Financial-Times/advertising#readme",
"type": "module",
"main": "dist/ads-moat-integration.js",
"version": "4.2.0",
"description": "",
"module": "dist/ads-moat-integration.es.js",
"main": "dist/ads-moat-integration.umd.js",
"author": "",
"license": "ISC",
"devDependencies": {
"jest-fetch-mock": "^3.0.3"
"@babel/core": "7.15.0",
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-transform-react-jsx": "7.14.9",
"@babel/preset-env": "7.15.0",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-node-resolve": "13.0.4",
"jest": "26.6.3",
"jest-fetch-mock": "^3.0.3",
"rollup": "2.56.3"
},
"scripts": {
"clean": "rm -rf ./dist",
"rollup": "rollup -c",
"build": "run-s clean rollup"
},
"version": "4.1.0"
"test": "jest --colors",
"dev": "NODE_ENV=development rollup -c",
"build": "npm run clean && rollup -c"
}
}

@@ -1,4 +0,27 @@

import { getRollupConfig } from "../../config/rollup.config.base";
import resolve from "@rollup/plugin-node-resolve";
import babel from "@rollup/plugin-babel";
import pkg from "./package.json";
export default getRollupConfig({ pkg, input: "src/index.js" });
const config = {
input: "src/index.js",
plugins: [resolve(), babel({ babelHelpers: "bundled" })],
};
export default [
{
...config,
output: {
file: pkg.main,
format: "cjs",
exports: "named",
},
},
{
...config,
output: {
file: pkg.module,
format: "es",
},
},
];
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