Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
volstas committed Oct 17, 2024
1 parent 11e349b commit 7ef5822
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ernestasTheDev/trix-ssr",
"name": "@ernestasTheDev/trix",
"version": "2.1.6",
"description": "A rich text editor for everyday writing",
"description": "A fork from basecamp/trix, adding controlled initialization and link related improvements",
"main": "dist/trix.esm.min/trix.js",
"module": "dist/trix.esm.min/trix.js",
"style": "dist/trix.css",
Expand All @@ -18,12 +18,13 @@
"keywords": [
"rich text",
"wysiwyg",
"editor"
"editor",
"ssr"
],
"author": "37signals, LLC",
"license": "MIT",
"bugs": {
"url": "https://github.com/basecamp/trix/issues"
"url": "https://github.com/volstas/trix-ssr/issues"
},
"homepage": "https://trix-editor.org/",
"devDependencies": {
Expand Down Expand Up @@ -61,7 +62,7 @@
"build": "yarn run build-js && yarn run build-css && yarn run build-assets",
"watch": "rollup -c -w",
"lint": "eslint .",
"pretest": "yarn run build",
"pretest": "yarn run lint && yarn run build",
"test": "karma start",
"prerelease": "yarn version && yarn test",
"release": "npm adduser && npm publish",
Expand All @@ -70,4 +71,4 @@
"start": "yarn build-assets && concurrently --kill-others --names js,css,dev-server 'yarn watch' 'yarn build-css --watch' 'yarn dev'"
},
"packageManager": "[email protected]"
}
}
8 changes: 4 additions & 4 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ const banner = `/*\nTrix ${version}\nCopyright © ${year} 37signals, LLC\n */`
const plugins = [
json(),
includePaths({
paths: ["src"],
extensions: [".js"]
paths: [ "src" ],
extensions: [ ".js" ]
}),
nodeResolve({ extensions: [".js"] }),
nodeResolve({ extensions: [ ".js" ] }),
commonjs({
extensions: [".js"]
extensions: [ ".js" ]
}),
babel({ babelHelpers: "bundled" }),
]
Expand Down

0 comments on commit 7ef5822

Please sign in to comment.