static-cms/core/package.json

271 lines
8.8 KiB
JSON
Raw Normal View History

2016-02-25 00:45:56 -08:00
{
2022-10-02 20:06:20 -04:00
"name": "@staticcms/core",
"version": "1.0.0-beta2",
2022-09-30 06:13:47 -06:00
"license": "MIT",
2022-10-02 20:06:20 -04:00
"description": "Static CMS core application.",
"repository": "https://github.com/StaticJsCMS/static-cms",
"bugs": "https://github.com/StaticJsCMS/static-cms/issues",
2022-09-30 06:13:47 -06:00
"keywords": [
"simple",
"cms",
"core"
],
2018-07-06 18:56:28 -04:00
"scripts": {
2022-09-30 06:13:47 -06:00
"build:webpack": "webpack",
2022-10-20 11:57:30 -04:00
"build:types": "tsc",
2022-11-04 17:57:21 -04:00
"build": "cross-env NODE_ENV=production run-s clean build:webpack build:types",
2022-09-30 06:13:47 -06:00
"clean": "rimraf dist dev-test/dist",
2022-10-20 11:57:30 -04:00
"develop": "webpack serve",
"format:prettier": "prettier \"src/**/*.{js,jsx,ts,tsx,css}\"",
feat: Code Widget + Markdown Widget Internal Overhaul (#2828) * wip - upgrade to slate 0.43 * wip * wip * wip * wip * wip * wip * wip * finish list handling logic * add plugins directory * tests wip * setup testing * wip * add selection commands * finish list testing * stuff * add codemirror * abstract codemirror from slate * wip * wip * wip * wip * wip * wip * wip * wip * wip * codemirror mostly working, some bugs * upgrade to slate 46 * upgrade to slate 47 * wip * wip * progress * wip * mostly working links with surrounding marks * wip * tests passing * add test * fix formatting * update snapshots * close self closing tag in markdown html output * wip - commonmark * hold on commonmark work * all tests passing * fix e2e specs * ignore tests in esm builds * break/backspace plugins wip * finish enter/backspace spec * fix soft break handling * wip - editor component deletion * add insertion points * make insertion points invisible * fix empty mark nodes output to markdown * fix pasting * improve insertion points * add static bottom insertion point * improve click handling at insertion points * restore current table functionality * add paste support for Slate fragments * support cut/copy markdown, paste between rich/raw editor * fix copy paste * wip - paste/select bug fixing * fixed known slate issues * split plugins * fix editor toggles * force text cursor in code widget * wip - reorg plugins * finish markdown control reorg * configure plugin types * quote block adjacent handling with tests * wip * finish quote logic and tests * fix copy paste plugin migration regressions * fix force insert before node * fix trailing insertion point * remove empty headers * codemirror working properly in markdown widget * return focus to codemirror on lang select enter * fix state issues for widgets with local state * wip - vim working, just need to work out distribution * add settings pane * wip - default modes * fix deps * add programming language data * implement linguist langs in code widget * everything built in * remove old registration code, fix focus styling * fix/update linting setup * fix js lint errors * remove stylelint from format script * fix remaining linting errors * fix reducer test failures * chore: update commitlint for worktree support * chore: fix remaining tests * chore: drop unused monaco plugin * chore: remove extraneous global styles rendering * chore: fix failing tests * fix: tests * fix: quote/list nesting (tests still broken) * fix: update quote tests * chore: bring back code widget test config * fix: autofocus * fix: code blocks without the code widget * fix: code editor component state issues * fix: error * fix: add code block test, few fixes * chore: remove notes * fix: [wip] update stateful shortcodes on undo/redo * fix: support code styled links, handle unknown langs * fix: few fixes * fix: autofocus on insert, focus on all clicks * fix: linting * fix: autofocus * fix: update code block fixture * fix: remove unused cypress snapshot plugin * fix: drop node 8 test, add node 12 * fix: use lodash.flatten instead of Array.flat * fix: remove console logs
2019-12-16 12:17:37 -05:00
"format": "run-s \"lint:js --fix --quiet\" \"format:prettier --write\"",
2022-09-30 06:13:47 -06:00
"lint-quiet": "run-p -c --aggregate-output \"lint:* --quiet\"",
2022-10-20 11:57:30 -04:00
"lint:format": "prettier \"src/**/*.{js,jsx,ts,tsx,css}\" --list-different",
"lint:js": "eslint --color --ignore-path .gitignore \"src/**/*.{js,jsx,ts,tsx}\"",
2022-09-30 06:13:47 -06:00
"lint": "run-p -c --aggregate-output \"lint:*\"",
2022-09-30 22:37:16 -04:00
"prepublishOnly": "yarn build",
2022-10-20 11:57:30 -04:00
"start": "run-s clean develop",
2022-12-04 22:15:59 -05:00
"test": "cross-env NODE_ENV=test jest",
"test:integration": "cross-env NODE_ENV=test jest -c jest.config.integration.js",
2022-12-11 09:03:53 -05:00
"test:ci": "cross-env NODE_ENV=test jest --maxWorkers=2",
"test:integration:ci": "cross-env NODE_ENV=test jest -c jest.config.integration.js --maxWorkers=2",
2022-10-20 11:57:30 -04:00
"type-check": "tsc --watch"
2018-07-06 18:56:28 -04:00
},
2022-10-02 20:06:20 -04:00
"main": "dist/static-cms-core.js",
"types": "dist/index.d.ts",
2022-09-30 06:13:47 -06:00
"files": [
"dist/**/*"
2022-09-30 06:13:47 -06:00
],
"browserslist": [
"last 2 Chrome versions",
2022-09-30 06:13:47 -06:00
"last 2 ChromeAndroid versions",
"last 2 Edge versions",
2022-09-30 06:13:47 -06:00
"last 2 Firefox versions",
"last 2 iOS versions",
2022-09-30 06:13:47 -06:00
"last 2 Opera versions",
"last 2 Safari versions"
],
2022-09-30 06:13:47 -06:00
"dependencies": {
"@babel/eslint-parser": "7.19.1",
2022-12-04 22:15:59 -05:00
"@babel/runtime": "7.20.6",
"@codemirror/autocomplete": "6.3.4",
"@codemirror/commands": "6.1.2",
2022-12-04 22:15:59 -05:00
"@codemirror/language": "6.3.1",
"@codemirror/language-data": "6.1.0",
"@codemirror/legacy-modes": "6.3.1",
"@codemirror/lint": "6.1.0",
"@codemirror/search": "6.2.3",
"@codemirror/state": "6.1.4",
"@codemirror/theme-one-dark": "6.1.0",
"@codemirror/view": "6.7.1",
"@dnd-kit/core": "6.0.6",
"@dnd-kit/sortable": "7.0.1",
"@dnd-kit/utilities": "3.2.1",
2022-09-30 06:13:47 -06:00
"@emotion/babel-preset-css-prop": "11.10.0",
"@emotion/css": "11.10.5",
"@emotion/react": "11.10.5",
"@emotion/styled": "11.10.5",
2022-12-04 22:15:59 -05:00
"@lezer/common": "1.0.2",
"@ltd/j-toml": "1.35.3",
"@mdx-js/mdx": "2.1.5",
"@mdx-js/react": "2.1.5",
"@mui/icons-material": "5.11.0",
"@mui/material": "5.11.0",
"@mui/system": "5.11.0",
"@mui/x-date-pickers": "5.0.10",
"@reduxjs/toolkit": "1.9.1",
"@styled-icons/fluentui-system-regular": "10.46.0",
"@styled-icons/remix-editor": "10.46.0",
"@udecode/plate": "18.13.1",
"@udecode/plate-juice": "18.13.0",
"@udecode/plate-serializer-md": "18.13.0",
"@uiw/codemirror-extensions-langs": "4.19.3",
"@uiw/react-codemirror": "4.19.3",
"ajv": "8.11.2",
2022-10-20 11:57:30 -04:00
"ajv-errors": "3.0.0",
"ajv-keywords": "5.1.0",
2022-09-30 06:13:47 -06:00
"array-move": "4.0.0",
2022-10-20 11:57:30 -04:00
"buffer": "6.0.3",
"clean-stack": "5.0.1",
"codemirror": "6.0.1",
"common-tags": "1.8.2",
2022-09-30 06:13:47 -06:00
"copy-text-to-clipboard": "3.0.1",
"create-react-class": "15.7.0",
2022-10-20 11:57:30 -04:00
"date-fns": "2.29.3",
2022-09-30 06:13:47 -06:00
"deepmerge": "4.2.2",
"diacritics": "1.3.0",
"escape-html": "1.0.3",
2022-09-30 06:13:47 -06:00
"eslint-config-prettier": "8.5.0",
"eslint-plugin-babel": "5.3.1",
"fuzzy": "0.1.3",
"globby": "13.1.3",
2022-09-30 06:13:47 -06:00
"gotrue-js": "0.9.29",
"graphql": "16.6.0",
2022-09-30 06:13:47 -06:00
"graphql-tag": "2.12.6",
"gray-matter": "4.0.3",
"history": "5.3.0",
"immer": "9.0.16",
"ini": "3.0.1",
2022-09-30 06:13:47 -06:00
"is-hotkey": "0.2.0",
"js-base64": "3.7.3",
2022-09-30 06:13:47 -06:00
"js-sha256": "0.9.0",
"jwt-decode": "3.1.2",
"localforage": "1.10.0",
"lodash": "4.17.21",
"minimatch": "5.1.1",
2022-09-30 06:13:47 -06:00
"moment": "2.29.4",
"node-polyglot": "2.4.2",
"ol": "7.1.0",
2022-09-30 06:13:47 -06:00
"path-browserify": "1.0.1",
2022-10-20 11:57:30 -04:00
"react": "18.2.0",
2022-09-30 06:13:47 -06:00
"react-color": "2.19.3",
"react-dnd": "16.0.1",
"react-dnd-html5-backend": "16.0.1",
2022-10-20 11:57:30 -04:00
"react-dom": "18.2.0",
2022-09-30 06:13:47 -06:00
"react-frame-component": "5.2.3",
"react-is": "18.2.0",
"react-polyglot": "0.7.2",
"react-redux": "8.0.5",
"react-router-dom": "6.4.5",
"react-scroll-sync": "0.11.0",
"react-textarea-autosize": "8.4.0",
2022-09-30 06:13:47 -06:00
"react-topbar-progress-indicator": "4.1.1",
"react-virtualized-auto-sizer": "1.0.7",
"react-waypoint": "10.3.0",
"react-window": "1.8.8",
"remark-gfm": "3.0.1",
"remark-html": "15.0.1",
"remark-mdx": "2.1.5",
"remark-parse": "10.0.1",
2022-09-30 06:13:47 -06:00
"sanitize-filename": "1.6.3",
2022-12-04 22:15:59 -05:00
"scheduler": "0.23.0",
2022-09-30 06:13:47 -06:00
"semaphore": "1.1.0",
"slate": "0.87.0",
"slate-history": "0.86.0",
"slate-hyperscript": "0.77.0",
"slate-react": "0.87.0",
2022-09-30 06:13:47 -06:00
"stream-browserify": "3.0.0",
"styled-components": "5.3.6",
2022-10-26 07:27:43 -04:00
"symbol-observable": "4.0.0",
"ts-loader": "9.4.2",
"unified": "10.1.2",
"unist-util-visit": "4.1.1",
"uploadcare-widget": "3.21.0",
"uploadcare-widget-tab-effects": "1.6.0",
2022-09-30 06:13:47 -06:00
"url": "0.11.0",
"url-join": "5.0.0",
"uuid": "9.0.0",
2022-09-30 06:13:47 -06:00
"validate-color": "2.2.1",
"vfile": "5.3.6",
"vfile-message": "3.1.3",
"vfile-statistics": "2.0.0",
2022-09-30 06:13:47 -06:00
"what-input": "5.2.12",
"what-the-diff": "0.6.0",
"yaml": "2.1.3"
2022-09-30 06:13:47 -06:00
},
2016-02-25 00:45:56 -08:00
"devDependencies": {
"@babel/cli": "7.19.3",
"@babel/core": "7.20.5",
2022-09-28 20:04:00 -06:00
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-export-default-from": "7.18.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-numeric-separator": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.2",
2022-09-28 20:04:00 -06:00
"@babel/plugin-proposal-optional-chaining": "7.18.9",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/preset-env": "7.20.2",
2022-09-28 20:04:00 -06:00
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
2022-09-21 19:26:57 -04:00
"@emotion/eslint-plugin": "11.10.0",
2022-12-13 10:31:35 -05:00
"@emotion/jest": "11.10.5",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
"@simbathesailor/use-what-changed": "2.0.0",
2022-12-13 10:31:35 -05:00
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "13.4.0",
"@types/common-tags": "1.8.1",
2022-10-20 11:57:30 -04:00
"@types/create-react-class": "15.6.3",
"@types/fs-extra": "9.0.13",
"@types/is-hotkey": "0.1.7",
"@types/jest": "29.2.4",
2022-10-20 11:57:30 -04:00
"@types/js-yaml": "4.0.5",
2022-09-28 20:04:00 -06:00
"@types/jwt-decode": "2.2.1",
"@types/lodash": "4.14.191",
2022-10-20 11:57:30 -04:00
"@types/minimatch": "5.1.2",
"@types/node": "16.18.8",
2022-10-20 11:57:30 -04:00
"@types/node-fetch": "2.6.2",
"@types/react": "18.0.26",
2022-10-20 11:57:30 -04:00
"@types/react-color": "3.0.6",
"@types/react-dom": "18.0.9",
2022-09-30 06:13:47 -06:00
"@types/react-scroll-sync": "0.8.4",
2022-10-20 11:57:30 -04:00
"@types/react-virtualized-auto-sizer": "1.0.1",
"@types/react-window": "1.8.5",
"@types/styled-components": "5.1.26",
2022-09-30 06:13:47 -06:00
"@types/url-join": "4.0.1",
"@types/uuid": "9.0.0",
"@typescript-eslint/eslint-plugin": "5.46.1",
"@typescript-eslint/parser": "5.46.1",
"axios": "1.2.1",
2022-09-28 20:04:00 -06:00
"babel-core": "7.0.0-bridge.0",
"babel-loader": "9.1.0",
2022-09-28 20:04:00 -06:00
"babel-plugin-emotion": "11.0.0",
"babel-plugin-inline-json-import": "0.3.2",
"babel-plugin-inline-react-svg": "2.0.1",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-transform-builtin-extend": "1.1.2",
"babel-plugin-transform-define": "2.1.0",
2022-09-28 20:04:00 -06:00
"babel-plugin-transform-export-extensions": "6.22.0",
"babel-plugin-transform-inline-environment-variables": "0.4.4",
"cache-me-outside": "1.0.0",
2022-09-30 06:13:47 -06:00
"commonmark": "0.30.0",
"commonmark-spec": "0.30.0",
2022-09-28 20:04:00 -06:00
"cross-env": "7.0.3",
"css-loader": "6.7.2",
"dotenv": "16.0.3",
"eslint": "8.29.0",
"eslint-import-resolver-typescript": "3.5.2",
2022-09-28 20:04:00 -06:00
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.11",
2022-10-20 11:57:30 -04:00
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-unicorn": "45.0.2",
"execa": "6.1.0",
"fs-extra": "11.1.0",
2022-09-28 20:04:00 -06:00
"gitlab": "14.2.2",
"http-server": "14.1.1",
"jest": "29.3.1",
2022-12-13 10:31:35 -05:00
"jest-environment-jsdom": "29.3.1",
2022-09-28 20:04:00 -06:00
"js-yaml": "4.1.0",
"mockserver-client": "5.14.0",
"mockserver-node": "5.14.0",
"ncp": "2.0.0",
"node-fetch": "3.3.0",
2022-09-28 20:04:00 -06:00
"npm-run-all": "4.1.5",
"postcss": "8.4.20",
"postcss-scss": "4.0.6",
"prettier": "2.8.1",
2022-10-20 11:57:30 -04:00
"process": "0.11.10",
"prop-types": "15.8.1",
2022-10-20 11:57:30 -04:00
"react-refresh": "0.14.0",
2022-09-30 06:13:47 -06:00
"react-svg-loader": "3.0.3",
2022-09-28 20:04:00 -06:00
"rimraf": "3.0.2",
"simple-git": "3.15.1",
"source-map-loader": "4.0.1",
2022-10-20 11:57:30 -04:00
"style-loader": "3.3.1",
2022-09-28 20:04:00 -06:00
"to-string-loader": "1.2.0",
2022-12-04 22:15:59 -05:00
"ts-jest": "29.0.3",
"tsconfig-paths-webpack-plugin": "4.0.0",
"typescript": "4.9.4",
"webpack": "5.75.0",
"webpack-cli": "5.0.1",
2022-09-30 06:13:47 -06:00
"webpack-dev-server": "4.11.1"
2022-09-30 19:27:18 -04:00
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
2022-12-06 09:41:54 -05:00
},
"lint-staged": {
2022-12-06 09:51:40 -05:00
"*.ts": "prettier --write",
"*.tsx": "prettier --write"
2022-09-28 20:04:00 -06:00
}
}