mirror of
https://github.com/basecamp/trix.git
synced 2026-05-17 12:00:38 +00:00
86 lines
2.6 KiB
JSON
86 lines
2.6 KiB
JSON
{
|
|
"name": "trix",
|
|
"version": "2.1.19",
|
|
"description": "A rich text editor for everyday writing",
|
|
"main": "dist/trix.umd.min.js",
|
|
"module": "dist/trix.esm.min.js",
|
|
"style": "dist/trix.css",
|
|
"files": [
|
|
"dist/*.css",
|
|
"dist/*.js",
|
|
"dist/*.map",
|
|
"src/{inspector,trix}/*.js"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/basecamp/trix.git"
|
|
},
|
|
"keywords": [
|
|
"rich text",
|
|
"wysiwyg",
|
|
"editor"
|
|
],
|
|
"author": "37signals, LLC",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/basecamp/trix/issues"
|
|
},
|
|
"homepage": "https://trix-editor.org/",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.16.0",
|
|
"@babel/preset-env": "^7.16.4",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@rollup/plugin-commonjs": "^22.0.2",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
"@web/dev-server": "^0.1.34",
|
|
"@web/test-runner": "^0.20.2",
|
|
"@web/test-runner-playwright": "^0.11.1",
|
|
"@web/test-runner-webdriver": "^0.9.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"chokidar": "^4.0.2",
|
|
"concurrently": "^7.4.0",
|
|
"eslint": "^7.32.0",
|
|
"esm": "^3.2.25",
|
|
"idiomorph": "^0.7.3",
|
|
"qunit": "2.19.1",
|
|
"rangy": "^1.3.0",
|
|
"rollup": "^2.56.3",
|
|
"rollup-plugin-includepaths": "^0.2.4",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"sass": "^1.83.0",
|
|
"source-map": "^0.7.6",
|
|
"svgo": "^2.8.0",
|
|
"webdriverio": "^7.19.5"
|
|
},
|
|
"resolutions": {
|
|
"webdriverio": "^7.19.5"
|
|
},
|
|
"scripts": {
|
|
"build-css": "bin/sass-build assets/trix.scss dist/trix.css action_text-trix/app/assets/stylesheets/trix.css",
|
|
"build-js": "rollup -c",
|
|
"build-assets": "cp -f assets/*.html dist/",
|
|
"build-ruby": "rake -C action_text-trix sync",
|
|
"build": "yarn run build-js && yarn run build-css && yarn run build-assets && yarn run build-ruby",
|
|
"watch": "rollup -c -w",
|
|
"lint": "eslint .",
|
|
"pretest": "yarn run lint && yarn run build",
|
|
"test": "web-test-runner",
|
|
"test:watch": "web-test-runner --watch",
|
|
"version": "yarn build && git add action_text-trix",
|
|
"prerelease": "yarn version && yarn test",
|
|
"release-npm": "npm adduser && npm publish",
|
|
"release-ruby": "rake -C action_text-trix release",
|
|
"release": "yarn run release-npm && yarn run release-ruby",
|
|
"postrelease": "git push && git push --tags",
|
|
"dev": "web-dev-server --app-index index.html --root-dir dist --node-resolve --open",
|
|
"start": "yarn build-assets && concurrently --kill-others --names js,css,dev-server 'yarn watch' 'yarn build-css --watch' 'yarn dev'"
|
|
},
|
|
"dependencies": {
|
|
"dompurify": "^3.2.5"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18"
|
|
}
|
|
}
|