<commit_before>import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import replace from "rollup-plugin-re";

const pkg = require("./package.json");

export default {
	input: "src/index.ts",

	external: [
		"fs",
		"fs-extra",
		"resolve",
		"crypto",
		"path",
		"constants",
		"stream",
		"util",
		"assert",
		"os",
	],

	plugins: [
		replace
		({
			replaces: 
			{ 
				"$RPT2_VERSION": pkg.version, 
				"$TS_VERSION_RANGE": pkg.peerDependencies.typescript
			},
		}),
		resolve({ jsnext: true, preferBuiltins: true }),
		commonjs
		({
			include: "node_modules/**",
			namedExports:
			{<commit_msg>- fix for linter<commit_after>import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import replace from "rollup-plugin-re";

const pkg = require("./package.json");

export default {
	input: "src/index.ts",

	external: [
		"fs",
		"fs-extra",
		"resolve",
		"crypto",
		"path",
		"constants",
		"stream",
		"util",
		"assert",
		"os",
	],

	plugins: [
		replace
		({
			replaces:
			{
				"$RPT2_VERSION": pkg.version,
				"$TS_VERSION_RANGE": pkg.peerDependencies.typescript,
			},
		}),
		resolve({ jsnext: true, preferBuiltins: true }),
		commonjs
		({
			include: "node_modules/**",
			namedExports:
			{
{'fraction_non_alphanumeric': 0.1739799846035412, 'fraction_numerical': 0.001539645881447267, 'mean_word_length': 3.513888888888889, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6053154', 'n_tokens_mistral': 555, 'n_tokens_neox': 477, 'n_words': 95}